Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record locking
Message
De
07/06/2005 07:50:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Record locking
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01020833
Message ID:
01020833
Vues:
93
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform