Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I add table(s) to the form DE at runtime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00955199
Message ID:
00955204
Vues:
29
Did You try in Load Event of the Form, or BeforeOpenTables event of the DE to put:
  data_path = "F:\data03\01\2004\YourData.DBC"
  thisform.SetAll("DataBase", data_path, "Cursor")
This not solve the problem if You have free tables in DE.
Oter way (I use it) When You develop application to put the Data in some folder I am sure that it is never created in users machines. So when I create a for it hardcoded the path to that folder, but when I redistribute the data that folder not exists & all forms get data always from the PATH.


>Hi All,
>my apps using tables as which is described eg. pathcont.datadir . users can change from program settings this value eg . F:\data03\01\2004 or F:\data03\01\2003 etc.
>i know forms 1st search table in DE hardcoded path if not what is described via same name in set path command . So that i wantto add table(s) at my forms at runtime which best way for it ?
>
>TIA
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform