Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OpenTables() issue over upgrading
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
OpenTables() issue over upgrading
Divers
Thread ID:
00779145
Message ID:
00779145
Vues:
57
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform