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
De
31/10/2004 13:14:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00955199
Message ID:
00956281
Vues:
16
Load event of the form is the first event. Cursors are not initialized. Try to put this code in BeforeOpenTables event of the DE.

>Hi Boris,
>
>i've tried your below code at form load event "setall" gives an error but strange its work with true tables :(
>
>
>*form load event code
>Local dbc_path
>Select datadir From pathcont Into Cursor CrsPathcont
>dbc_path=Alltrim(CrsPathcont.datadir) + "\data1.dbc"
>thisform.SetAll("database",dbc_path,"cursor")
>
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