Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environnement and Network
Message
From
21/01/1999 18:11:29
 
 
To
21/01/1999 18:05:57
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00178775
Message ID:
00178777
Views:
21
>I am developping an app that need to access tables on a network (file server). The network is a simple Win95 Network. Since I did not developed my forms with the network, I need to change manually all the dataenvironnement tables to the one on the server's database. Is there another way to make it without opening all forms ?
>
>BTW (if it does matter) I work with parametrized views.
>
>Thank you for tour help,
>Christian

you need a routine in your form's baseclass that loops through all cursors in the dataenvironment and changes their database property depending on the value of some variable or app property.

this has to happen either in the form.load, or the dataenvironment.BeforeOpentables event, since this property becomes read-only after the cursors are opened. If you need some example code, let me know.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform