jeremy_c Messages: 175 Registered: August 2007 Location: Ohio, USA
Experienced Member
Just to make sure my code didn't change, I recompiled my program and ran the code that exposed the problem. It removed the 2nd "Fixed" row as reported. I then did a svn up on uppsrc and rebuilt my program. Now when testing I get:
Assertion failed in C:\Development....\UppSrc/Core/Vcont.hpp, line 192 q >= 0 && q <= items - count && count > 0
Now, if I put .Clear() in a condition then it works.
if (qsos.GetRowCount() > 0)
qsos.Clear();
however you do not need to place it in a condition when you only have 1 header row. .Clear() works on an empty grid or a grid with 10,000 items. It seems that .Clear() no longer works on an empty grid.