Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why can I only lock 500 records?
Message
From
26/02/1998 13:42:14
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081355
Message ID:
00081477
Views:
20
>>The Help File says I should be able to lock 8,000 records per work area. But I am limited to 500 cumulative, in VFP 5.0 AND FPW 2.6.
>>
>>Am I doing something wrong?
>Matt,
>
>Out of curisoity, why lock 500+ records, why not just lock the file? File locking would be faster and easier to keep track of.

I have a number of tables where batch adds/updates are made and I don't want to lock out users from updating/adding records on/to other batches. What I sacrifice in performance, I make up in functionality.

Actually, I'd probably be better off by using record level flags instead of locking each record in a batch, but this is a legacy 2.5 app that will be phased out within the next 18 months. We are placing a band-aid on it to make it multi-user.

I'm open for suggestions if you have any.
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform