Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 and flush data to server
Message
From
11/10/2005 01:32:58
 
 
To
10/10/2005 19:41:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057820
Message ID:
01057848
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform