Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Base Grid on Cursor -- Any problems? Any Tricks?
Message
De
13/01/2000 03:40:23
 
 
À
12/01/2000 17:36:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00317290
Message ID:
00317435
Vues:
23
Hi Peter.

>> Unfortunately after changing my grid to have the cursor as a record source (type 1-alias) it doesn't show any data. <<

The technique that I use is to define the updateable cursor in the form's load using CREATE CURSOR. I have a custom method called Reset in my grid class that gets called whenever the contents of the cursor need to be "re-queried". In my Reset method, I ZAP the grid's RecordSource, SELECT into a temporary cursor, and append from the temporary cursor into the grid's RecordSource.

Personally, I like this method a lot better than the "set the grid's RecordSource to an empty string before messing around with it" method ;-)

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform