Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lock() Problem..
Message
De
22/09/1999 22:35:45
 
 
À
22/09/1999 20:09:23
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00267850
Message ID:
00267874
Vues:
26
>to all
>====================
>select h
>if lock()
>append blank
>replace x with z
>endif
>unlock
>=====================
>this abbreviated piece of code is the root of my problem. if a file has records in it, this works fine. but if i zap the file it won't work. in other words if the file is empty it wont work. it seems to be a problem with one particular file only. with other files i dont run in to the problem. any suggestions?
>thanks
>frank

you are locking the wrong record...
Try...
select h
append blank
if lock()
replace x with z
unlock
endif
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform