Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to lock a record While using remote views (ODBC)
Message
From
25/07/2002 16:23:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/07/2002 14:23:53
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00679641
Message ID:
00682761
Views:
25
>Hi! Hilmar
>
>Thank you for your response. How about creating a VFP table with a couple of fileds outside the database. Before modifying, place the order#, user, etc. fields in the table & lock that record. In the save method of the form just delete that record... etc. Do you think this will work.

I am sure that can work. Basically you would create a Locking table. The only information you would need would be the table name, and the primary key expression.

However, I doubt this would be necessary, at least in most cases. With optimistic buffering, the system would NOT overwrite changes done by another user - you would only run the (slight) risk of a user having to discard changes to one record.

Hilmar.
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