Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table buffering and update speed
Message
From
29/09/2005 16:25:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/09/2005 13:48:30
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054495
Message ID:
01054672
Views:
18
>Thanks for your reply.
>
>You are right in that the problem occurs because several users are trying to save records at the same time.
>
>I will try to change the buffering and let you know.

Mike Yearwood says it isn't convenient to use optimistic buffering, if there is a risk that the same record will be used. My opinion on this is the following: Normally, data won't be overwritten in this case (depending on the parameters for TableUpdate() - see help); VFP will detect the conflict, and the record won't be saved. However, if this happens often, it can be inconvenient for the users.

You can also use explicit record locking in some individual cases. Again, you have the problem of record being locked for too long a time (while the user is editing).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform