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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only