Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environnement and Network
Message
De
21/01/1999 18:11:29
 
 
À
21/01/1999 18:05:57
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00178775
Message ID:
00178777
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform