Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the recordsource of a grid
Message
 
À
23/06/1998 22:01:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00111106
Message ID:
00111120
Vues:
13
>How can I change the recordsource of a grid to another table with a the same structure.
>Assume tableA is the current recordsource
>If I go...
>grid.recordsource= tableB
>grid.refresh
>
>Some of the columns show data from the new table and most contain current record data from tableA for every record of tableB.
>This is despite the fact that the controlsource for each column does not contain the table alias.

David, when you change Grid.RecordSource all Column.ControlSourse are gone. You are supposed to reset them in your code.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform