Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DATABASE PATH in a multi user env.
Message
 
 
À
28/01/2001 06:06:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00467952
Message ID:
00469537
Vues:
10
Once you open the database in your MAIN prg, you do not need to include the path in the SET DATABASE command.

>>>
>>>>open data addbs(UNC_DATA_PATH) + "mydbc"
>>
>>at the beginning of your MAIN prg before you turn control over to the user.
>>
>Hi Mark,
>
>I put the aboce in my MAIN.PRG and in the LOAD EVENT of one of my forms I wrote: "set database to "g:\data\data1.dbc" g: is a network drive.
>
>Just to test if it works. and when I open the form I get the following message: "error instansiating cursor object. Cannot find c:\...\data1.dbc"
>
>I think it searches the data in the default path. Is there somthing I should change in the data environment settings? or somewhere else?
>
>Many Many thanks,
>Gadi Hutt
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform