Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Khalil Shaddad
  Where is Khalil Shaddad?
 Beirut
 Lebanon
 Khalil Shaddad
 Tags
Subject: Locking Appended record
Thread ID: 16253 Message ID: 16253 # Views: 2 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, October 14, 2002 12:49:32 PM         
   


Hi,
I have one form with the following conditions:
1- private data session (this is a must)
2- optimistic row buffering (could be pessimistic but should be row buffering mode)
3- multi-user, multi-session in one user environment.
4- each bufferred record should be locked (this is a must).
Lets say mytable has 10 records, if I APPEND BLANK twice [before issuing TABLEUPDATE()] in the same process or with two different processes I am getting RECNO() = 11 and here the problem comes. How to lock the appended record before or after tableupdateing without moving to another record?

Khalil Shaddad (Lebanon)

ENTIRE THREAD

Locking Appended record Posted by Khalil Shaddad @ 10/14/2002 12:49:32 PM
RE: Locking Appended record Posted by Karben Selim Mejia @ 10/14/2002 4:52:48 PM
RE: Locking Appended record Posted by Boudewijn Lutgerink @ 10/17/2002 8:14:19 AM
RE: Locking Appended record Posted by Khalil Shaddad @ 10/18/2002 10:35:24 AM