Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 8: Got questions? Got answers.
Message
 
 
À
13/10/2002 22:08:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00707667
Message ID:
00710817
Vues:
36
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform