Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RLOCK('name') ALWAYS returns .F.
Message
 
 
To
14/09/2001 09:00:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00556204
Message ID:
00556413
Views:
13
>>Hi!
>>
>>In the help I see:
>>
>>To lock multiple records, you must have SET MULTILOCKS on and you must include the work area number (nWorkArea) or alias (cTableAlias) of the table in which you attempt to lock multiple records.
>
>Testing on a local copy of programs and data (user version is multi user over a Novell Network).
>"name" in following code is the alias of the table.
>I am trying lock only 1 record.
>Multilocks is set on in main program, do I need it in the init of the form?
>

Yes You do. Multilocks is scoped to datasessions. Set it in the Load of the form (if it has a private datasession).

BTW, what version of Novell are you using? Older versions of the NOS had limits to the number of locks it would allow per connection and allow in total. You may need to configure these on the server.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform