Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create table based on variable name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00367288
Message ID:
00367692
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform