Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Evironment
Message
From
14/09/1999 21:09:21
 
 
To
14/09/1999 18:13:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00264709
Message ID:
00264767
Views:
21
>In my app the user can add tables as needed. I store the table names in an array. Since the number of tables can change along with the names I can't directly associate the tables to the data environment of the main form. I know how to use the addobject to add cursors to the data environment programatically. In the conventional situation you code the table names staticaly. However, since my tables are somewhat dynamic how can the addobject be used with variables as the table objects. Thanks for any help.
>
>May God Bless,
>Steven Dyke

After you add cursor to DE (Addobject) you may set new cursor CursorSource property to point to real table. Here you may use variables.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform