Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update problem
Message
From
16/09/2002 12:55:04
 
 
To
13/09/2002 17:29:51
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Miscellaneous
Thread ID:
00700271
Message ID:
00700861
Views:
12
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
Map
View

Click here to load this message in the networking platform