>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
Steven, what about opening your tables in the Form.Load() event?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison