Locking records in a random file 
Author Message
 Locking records in a random file

The LOCK statement in VB for random files is extremely slow when another
user already locked another record in the file.

Is there a better way?

TIA
Young



Fri, 02 Nov 2001 03:00:00 GMT  
 Locking records in a random file
hi,
try first getting the record with get and put, if you get an error the
record is probably locked, else you can try your lock...
remember that the lock method was very fast on win3x, but on win9x it's very
very slow...
hth


Quote:
>The LOCK statement in VB for random files is extremely slow when another
>user already locked another record in the file.

>Is there a better way?

>TIA
>Young



Fri, 02 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Locking records in a random file

2. Random access files - having and finding multiple types of record in one file

3. Record Locking - Is there a way to test to see if a record has been locked

4. open file for random LOCK READ WRITE as handle

5. number of records in a random access file?

6. How to remove a record from a random file

7. # Records in a RANDOM ACCESS file?

8. Different size records in a random file?

9. How to delete Random file record!

10. Adding a new record to a random file

11. Failure to Write a Random File record

12. deleting a record from random file

 

 
Powered by phpBB® Forum Software