>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