Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid/Dataenvironment problem
Message
From
21/07/2004 18:05:34
Dick Day
Madison County, Nebraska
Nebraska, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid/Dataenvironment problem
Miscellaneous
Thread ID:
00926819
Message ID:
00926819
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform