>>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?
If you're using private datasession, yes. Set Multilocks is one of the settings scoped to a datasession. See help for "SET DATASESSION".