Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update problem
Message
De
16/09/2002 16:44:16
 
 
À
16/09/2002 12:55:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Divers
Thread ID:
00700271
Message ID:
00700970
Vues:
12
Hi Doug

>GetFreeTablePath reads the path for the table from COREMETA.MPATH, which contains the name of the DBF and its path. That path is likely valid on your system but not your client's. You might want to make it into an expression that SDT will evaluate at runtime, such as "=oApp.cDataPath + 'MYTABLE.DBF'". Note the "=" prefix.
>

The COREMETA.MPATH contains only the name of the file, no path at all. I noticed that in the GetFreeTable method, it refers to Parent.cRegistryPath, which is where it is getting the Update directory name, but I cant see where that property is set. It looks to me like the update routines run before my application pathing occurs - my oApp (called goProgram) is not in scope while I am in SDT so I cant figure out how to change the expression to be evaluated at runtime. I was thinking that maybe the Parent.cRegistryPath is somehow wrong and it I fixed that, it would fix the rest. Since my problem only happens on some data sets I figure that must have something to do with it. I'm very confused:)


Sandi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform