Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OpenTables() issue over upgrading
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
OpenTables() issue over upgrading
Miscellaneous
Thread ID:
00779145
Message ID:
00779145
Views:
58
Hi,

We are going to upgrade our application from VFP 3.0 to VFP 7.0 (sorry, we will wait for version 8.0 until stability have been fully demonstrated :)

Everything have been working correctly under VFP 3.0, but now I'm wrestling with some class and codes.

All forms are having a dataenvironment, with each table path to g:\project\test\data\

In the baseform::load, I'm changing the path for each table for g:\project\data\
Then I'm issuing a ThisForm.DataEnvironment.OpenTables()

I'm always having an error message : "File 'g:\project\' does not exist", error 1, Line 0, Method: formName.dataenvironment.cursorX, where X is the first existing "cursor" in the FormName.scx (when open with a USE).

I've put a break point in the code, one line before the OpenTables(), I've browse (VFP debugger, Watch) into the thisForm.DataEnvironment, and there is no 'g:\project\' anywhere in then value of any of the cursors or somewhere else in there.

Any suggestion ? I'm not aware of any change in the OpenTables behavior between VFP versions, do you ?
Imre Lada
Next
Reply
Map
View

Click here to load this message in the networking platform