Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with using dataenvironment
Message
De
14/06/2006 09:14:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/06/2006 09:08:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01128976
Message ID:
01128979
Vues:
30
>I add two tables with master-detail relation in DataEnvironment of a form. The two tables and their DBC are in a subdirectory. I build the application, run it. It works fine. But if I move the application along with its subdirectories to another location, I get "Error instantiating cursor object, cannot find (current path)\(dbc file)" when I run it.
>
>What is the cause of the problem? How can I fix the problem using the DataEnvironment? Thanks.

Perhaps it helps to make sure you have a SET PATH that finds the files, e.g.:
set path to data, help
Note that I used relative paths in the above example.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform