Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid shows empty rows
Message
 
To
06/12/2012 14:41:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01558962
Message ID:
01559001
Views:
63
>>Then what about:
>>
>>SELECT myCursor
>>ZAP
>>...
>>
>>IF _vfp.StartMode == 0
>>   SELECT * FROM myCursor WHERE EMPTY(Field1) AND EMPTY(Field2) INTO CURSOR crsEmptyTest
>>   ASSERT RECCOUNT("crsEmptyTest") == 0
>>ENDIF
>>
>Because the ASSERT condition is never true. The problem is NOT that the cursor is empty. The code always populates the cursor with the correct data. It's just that the data is not being shown in the grid. Simply pressing a down-arrow within the grid makes all the data visible.
>
>Trust me on this. It is NOT a problem with the data. It's a problem with the way the grid is (not) displaying the data that is actually there.


Grid is one of mine most "favorite" controls, next one is ComboBox :-)
How about to call form refresh, not the grid one?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform