>We have just purchased VFP6 and are starting to experiment with mulit-user appliactions. We (my programming partner and I) each used a table located on my computer. Mulitlocks in ON, Exlusive is OFF, and Reprocess is set to 1. If I lock a record (manually with RLOCK()) and then issue ?ISRLOCK() from the command window, it returns a true. If my partner issues ?ISRLOCK() from his machine on the same record, the return value is false. On the surface, ISRLOCK() seemed to be a great way to tesst for a lock without actually locking, but only seems to work on the machine the ISRLOCK() is issued from. Any thoughts or comments?
>
Since the function returns whether
you hold a lock on the record, it's behaving as designed. You need to try to acquire a lock to determine if it's lockable, unfortunately.