Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record locking
Message
From
07/06/2005 08:38:37
 
 
To
07/06/2005 07:50:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020833
Message ID:
01020851
Views:
31
>Please help me with this one...
>
>If I want to unlock the leden-table it doesn't work.... Can you please tell me what I am doing wrong here?
>
>My code:
>
>SET MULTILOCKS ON
>SET REPROCESS TO AUTOMATIC
>
>IF LOCK('leden')
> UNLOCK IN leden
>ENDIF
>
>IF SEEK(ALLTRIM(ThisForm.txtlidnr.Value))
> IF NOT(LOCK('leden'))
> LOCK(RECNO(), 'leden')
> ELSE
> DO WHILE LOCK('leden')
> MESSAGEBOX('Iemand anders veranderd op dit moment dit adres.' + CHR (13) + ;
>'Klik op [OK], als deze melding verdwijnt is het adres weer vrij.', 64, 'Lid gegevens wijzigen...')
>ENDDO
>ENDIF
>ENDIF

Who set the Lock ?
- current datasession
- another datasession
- another process
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform