Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Locks
Message
From
29/11/2006 10:18:49
 
 
To
29/11/2006 09:14:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173235
Message ID:
01173266
Views:
6
>I have this password table we use. The table is read only in all manners but one. There are two fields we use to determine what account number someone is in and a datetime field to determine the time they entered it. The thing is, these records should only be changed by the user who owns that record and logged in as themselves only. Other points of the program will seek those records and read info from them, but do not write anything to them in any way. The problem is occasionally we get locks on certain records anyways. I have the user exit the program and it remains locked by another user until they clear out. I can go into the table, go to the locked record and issue the unlock at the command line and get nowhere. Is there any way to force an unlock on a record? As well, Is there any way to determine in some way who is using (locking) that record?

Kevin

You use record locking buffering (3)?

And the code:
If RLOCK()
*  edit the record
   UNLOCK
Endif
If so I don't see how the rec can remain locked.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform