Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid/Dataenvironment problem
Message
De
21/07/2004 18:05:34
Dick Day
Madison County, Nebraska
Nebraska, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid/Dataenvironment problem
Divers
Thread ID:
00926819
Message ID:
00926819
Vues:
56
I have a form with a grid. Several of the tables that are opened in the form's dataenvironment are added in the form init property via the addobject method. These must be opened this way because the names of the tables are stored in variables and may change depending upon which user opens the form.

My problem is that the grid (which is bound to a static table, not created through addobject) will not open properly (empty white box). If I do not add tables to the environment via addobject, then it works fine.

If I don't issue the...

Thisform.dataenvironment.closetables()
Thisform.dataenvironment.opentables()

commands after adding the tables via addobject, then the grid opens fine but the tables I'm attempting to add to the dataenvironment don't get opened.

Any suggestions?

Thanks!

Dick

Dick Day Software Services
83712 552nd Avenue
Norfolk, NE 68701
402/379-1606
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform