Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rlock() seeming not behaving properly
Message
De
07/09/2000 11:37:02
 
 
À
07/09/2000 11:13:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00411455
Message ID:
00413566
Vues:
14
Thank you both for your responses. I am using RLOCK() simply because an external program is also updating (or inserting) deals in my main file. The external program recognizes a Locked record. I'm not sure what it would do with a buffered record, but I have no choice except to use what I was told to lock it.

I think that I've discovered the problem though. The file is buffered and the user's are encountering the RLOCK problem when they are adding new deals. I was trying to lock a record with -1 as the record number. I have changed the program to append blank, gather, TABLEUPDATE(.T.), then RLOCK(). This is yet to be tested, but I feel like that was my problem all along, I didn't have a tableupdate after the append and gather.

Thank you both for responding to my original message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform