Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid data source
Message
 
À
16/08/1998 10:30:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127200
Message ID:
00127213
Vues:
31
>ok, I created a cursor but I can't get it to display in the grid. I can't use the builder to set the properties of the grid as it uses tables or views only. I set the rowsource to it and created the cursor in the init of the form. Where am I going wrong?

John, each time when you re-create your cursor the grid.RecordSource (and column.ControlSource, if you set them specifically) get trashed. So you have to re-set them again after that. To preserve the grid formatting properties, before re-creating the cursor set grid.RecordSource = "". When you use the view and REQUERY() all this doesn't happen.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform