Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid/Dataenvironment problem
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
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