Hi Sandi.
>Thanks. That helped. Now I know where the problem is occurring, I just dont know why. The problem is in the updateonetable method when it is working with a free table and looks for the path.
> if empty(lcDBC)
> lcFile = lower(.GetFreeTablePath(tcAlias))
>
>the .GetFreeTablePath returns the update directory instead of the data directory, ie. c:\myinstall\myapp\mydata\update\freetable.dbf instead of
> c:\myinstall\myapp\mydata\freetable.dbf
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.
Doug
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