>
> >>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
There are 2 options :
1. You set your DE to access tables in the Network Harddisk
or
2. You open the tables manually in the Init Event or Load Event of the
form.
I prefer the second option.
HTH - Tony
Précédent
Suivant
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