Paradox Community

Items in pnews.paradox-programming

Subject:Re: lockRecord() - doesn't
Date:21 Jul 2022 14:55:21 -0400
From:"Kevin Zawicki" <numberjack@wi.rr.com>
Newsgroups:pnews.paradox-programming

Close all Paradox sessions.

delete ALL pdx*.lck files on server and on ALL workstations (check entire
workstation)

delete the net file

retest



Peter <peterspammenot@whiteknight.email> wrote:
>So I've been playing with this for the better part of the day and I 
>can't figure it out.
>
>Machine_1
>I place a lockrecord on a record in a table but when I display locks 
>(interactive) it does not show up.
>
>eg.
>tcu.open(":SCHEDULE:ProcLock.db")
>tcu.edit()
>tcu.lockRecord()    ;//lock 1st record, the only record in the tbl
>
>If I try programmatically:
>    1) enumlocks(), doesn't show up
>    2) tcu.lockStatus("Any"), doesn't show up
>
>
>Machine_2
>When I display locks (interactive) on Machine_2 it also does not display

>the record lock from Machine_1 - just the open lock.
>
>If I do it programmatically (enumLock), same thing, the record lock that

>is set by Machine_1 does not show.
>
>I don't want to use a table/session lock, just a single record. Any 
>secrets on getting all Machines to recognize a lockRecord()?
>
>Thanks


Copyright © 2004 thedbcommunity.com