Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Lock an Empty File in VFP7... is this a bug ?
Message
De
14/01/2003 05:39:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00741340
Message ID:
00741344
Vues:
18
Gerard,

LOCK() locks a record. FLOCK() locks a file. In VFP7, on an empty file LOCK() returns .F. because there is no record to lock. FLOCK() will return .T.


>Hi.
>In VFP 7, I cannot lock an empty file (even with Multilocks on)
>
>In VFP7 and FPW 2.6
>--------------------
>Close all
>Use Temp
>Zap
>Appe Blank
>? Lock() Returns a True
>
>In FPW 2.6
>----------
>Close all
>Use temp
>Zap
>? Lock() Returns a true
>
>
>In VFP7
>-------
>Close all
>Use Temp
>Zap
>? Lock() Returns a False
>
>It seems that I cannot lock an empty file in VFP 7. Is this the case ?
>
>Regards,
>
>gerard
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform