Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why lock() fails.
Message
De
19/10/2001 16:14:07
 
 
À
19/10/2001 07:34:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00570423
Message ID:
00571110
Vues:
27
I cannot use TABLEUPDATE() since this is temporary cursor. I use this cursor to collect document rows.
For saving document, I use COPY TO and TABLEREVERT()

I added LOCK() command because without lock command, the same error occurs in REPLACE command. Using LOCK() I can output a friendly error message. However, error still occurs.


>When using buffering, rlock() isn't required any more. VFP will do all required locking implicitly.
>
>Just do a TableUpdate(), and check the result.
>
>
>if not TableUpdate(...)
>  aerror(...)
>  MessageBox(...)
>endif
>
>
>HTH, Hilmar.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform