Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create table based on variable name
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00367288
Message ID:
00367692
Views:
20
>Thanks Nick and Mike. By the way do you guys know how I can add/remove a table to data environment manually. Thanks again
>
>nick patel

I believe you are talking of adding the table to the dataenvirionment programmatically.

You can do it by using AddObject() method and then manipulating the properties of the added cursor. For example:

*** Form.Dataenvironment.BeforeOpenTables
this.addobject("myCursor","Cursor")
this.myCursor.CursorSource = "c:\tmp\test.dbf"
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
Previous
Reply
Map
View

Click here to load this message in the networking platform