>>>In case of network installation, I want to put the exe in a local drive and the data in a network drive.
>>>I tried Set Default and/or Set path to tell to VFP Where are the data. But when the forms are loading they try to open the data on the local drive. Where Am i wrong ?
>>>Thanks for your help
>>>
>>>MicheL
>>
>>
>>What I did to resolve this problem is set the path of my database and tables in the registry. Then I retrieve the path name when I run the EXE and use that path name whenever I open the database and tables.
>
>
>I wrote the path in a ini.file and then i can retrieve the path when the app starts. But Even if the path is set to network drive, when the form loads she tries to acces the local drive.
> Have i to change the DE of each forms of my app and open manually each table ?
>
>Thanks a lot
>
>Michel
I see your delimma now. I do not use forms, I use form classes and therefore do not use the Data Environment. But I think if you have the table specified in the database it should find it because the Database is a property on each cursor. Check the property called Database in the cursor object and see what it is set to. Wish I could help more. Anybody else have any suggestions?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement