Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8: Got questions? Got answers.
Message
 
 
To
13/10/2002 22:08:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00707667
Message ID:
00710817
Views:
22
Hi Jeff,

>The whole reason I asked this (now stupid) question was that a few months ago I was trying to figure out how to keep from trashing grids using cursors created from XMLTOCURSOR() requeries. Had to use the 8192 flag, but had to empty the local cursor beforehand. The only way to get RECCOUNT() to zero was to ZAP the cursor.

You could set RecordSource of the grid to the empty string, recreate the cursor with XMLTOCURSOR() and set RecordSource back to the cursor name.

>I have no idea why I assumed the behavior for RECCOUNT() changed after all these years. Maybe because I'm finishing up a two year project and haven't seen the light of day, vacation, or anything human in a long time.

Good luck in finishing your project and getting your life back! :)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform