>>>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?
Comboboxes are the trophy wives of controls - they look good, but they're high maintenance.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up