Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database and directory
Message
 
À
04/10/2002 06:20:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00707696
Message ID:
00707698
Vues:
26
I would suggest you to put your DBCs,DBFs,CDXs in a subdirectory of your app directory so that you could make use of the SET PATH command.

If I have c:\myapp as my app directory, I should have C:\myapp\dbfiles and put all db files there.

In my main program, I have this one:
SET PATH TO dbfiles\
OPEN DATABASE mydatabase EXCLUSIVE
VALIDATA DATABASE RECOVER
HTH

>Hi
>
>My data bank(*.dbc), was built in C:\FACTURAC,
>everything works well in this directory,
>and if I do a 'Validate Database' it says that the Container is valid.
>
>Meanwhile, when i copy the entire directory C:\FACTURAC to C:\COPIACFAC, for example,
>and do a 'Validade Database' the VFP says that it can not find certain
>tables,
>and when I issue certain commands,
>the VFP asks for the whereabouts of that table.
>
>It seems that the Database has information from C:\FACTURAC,
>and dislikes changing places.
>
>How can I make the Database work (well) in any directory?
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform