>>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao