Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-user Problem
Message
De
09/07/1998 09:13:09
 
 
À
09/07/1998 03:10:03
Thian Li Choo
Malitnet Group of Companies
Kuching, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00115598
Message ID:
00115665
Vues:
11
>Dear all,
>
>I used the below code to control other user access to the same database. I able to get the error no. in order to control it. But sometime the problem "Data Environment is already unload" is encounter or Open table dialog box is appeared during the process.
>
>Why? Is there any solution to solve this problem ?
>
>Example:
>*================================
>CLOSE DATA
>SET EXCL ON
>OPEN DATA (database name)
>
>ON ERROR DO error()
>
>USE (table1)
>REINDEX
>
>(may use the same table again to process other updating)
>
>CLOSE DATA
>SET EXCL OFF
>
>*=========================
>
>Thank you very much for your kindness!!!

If you do it in form with open DE tables, then you also should take care of this, i.e. include Thisform.Dataenvironment.Closetables before start and Thisform.Dataenvironment.Opentables when you finish.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform