Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 and flush data to server
Message
De
11/10/2005 01:32:58
 
 
À
10/10/2005 19:41:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01057820
Message ID:
01057848
Vues:
12
>I have a small application where two users are both viewing the same data on a form. If user 1 changes the form and saves (table buffering is in affect) and unlocks the record, tableupdate and flush is called. The other user then edits the same record but the data still shows the 2nd users data state without showing the changes made by the first user. Is there any way to flush force the buffers in VFP 7 like they added in version 9? Thanks in advance for your help.

Is user 2 issuing FLOCK() or RLOCK() appropriately after user 1 has saved, and prior to editing? If not, how are you ensuring that user 2 has the current information prior to start of the edit?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform