Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If a grid has been populated
Message
From
06/08/2003 13:50:53
 
 
To
06/08/2003 13:41:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00817215
Message ID:
00817412
Views:
21
Hi Fabio

>The mistake always in thinking that there is something of coherent in the operation of VFP.

Yep - it's a dangerous assumption all right.

>Is possible write a arbitrary word, like "pippo", on RecordSource, but if you build "pippo" after, and refresh the grid, the grid go on blank mode;

Yes, exactly! But until you do the Refresh() it is perfectly acceptable to VFP which is why we need the additional checks.

>if you use
>grid.RecordSource=grid.RecordSource, the cursor is loaded.
>
>This is another bug.

Hmmm! Not sure I would call it a "bug" though. If you (as the developer) specify an invalid recordsource it is really your own responsibility. I mean that it is not really any different than setting the controlsource of (say) a Textbox to a non-existent table - VFP just throws an error there too.
----
Regards
Andy Kramek
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform