Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data path in .EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00291840
Message ID:
00292251
Vues:
17
>Just when I think I understand VFP...
>
>My invoicing app uses data files in u:\service. When run in development mode, it opens the correct files (ord, ordit) but when compiled to an exe, it opens the files (same names) from u:\.
>
>Checking the de in the form, the file is correctly identified as u:\service\ord.dbf, but that is not the one opened from the exe.
>
>What have I missed?

You should reset Database properties for all cursors in Form.DataEnvironment. The preferable place for this is DataEnvironment.BeforeOpenTables event.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform