>>Is there a command in 2.6 equivalent to VFP RLOCK(0) to lock the header record. What we need is some way to lock the header to enable us to append data in a multi-user environment. In VFP, you can issue an RLOCK(0) where the parameter is the record number. If you issue this call in 2.6, it expects the work area as the parameter!
>>
>>We need to do this to enable us to have control over what to do if we cannot append the data to the file. Reprocess is not an answer, we have looked at that.
>>
>>Can anybody help???
>
>Nigel,
>
>Have you tried FLOCK()?
I believe that RLOCK(0) still locks only the header in VFP.
Steve
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement