Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Grid for 2 different RecordSources
Message
De
11/10/2004 10:02:15
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Using a Grid for 2 different RecordSources
Divers
Thread ID:
00950408
Message ID:
00950408
Vues:
70
I have a data file TRANSACTIONS1 that is handled with a Grid called Grid1.

I would like to be able to use the same Grid to handle a file of same structure TRANSACTIONS2.

I constructed Grid1 to make no reference to the data file in the ControlSource property for each column. e.g. instead of calling the ControlSource Transactions1.Price, I just called it Price.

I then saved Grid1 and Grid2 and changed the RecordSource to TRANACTIONS2, I then found that the RecordSources for each column had disappeared.

Is there some way of constructing a Grid so that it can be modified to handle a different RecordSource without having to retype all the ControlSources for each Column?

Mike Smith
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform