Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe here, data files there
Message
De
03/06/1999 12:09:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Exe here, data files there
Divers
Thread ID:
00226036
Message ID:
00226036
Vues:
51
Here is one that is probably easy for the rest but has me confused. I would like to have the exe in a directory separate from the rest of the program's files. I place the exe in a VFP_EXE directory where people can shortcut to with less of a possibility of messing up the data files. Anyhow I have the following lines of code in the program:

SET Default to g:\db\timecard
OPEN database g:\db\timecard\data\timesrch.dbc shared

If I run the exe from the VFP_EXE directory I get "Index does not match the table. Delete the index file and re-create the index." If I run the same exe from the g:\db\timecard directory (without re-indexing anything) it functions as designed without error. Why is that? Thanks.

Jim
Jim Philippi

quando omni flunkus moritati
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform