Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement