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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement