waiting for foobar record nnnnn to be unlocked

Kenneth Brody kenbrody at spamcop.net
Thu Jan 29 11:13:24 PST 2015


On 1/29/2015 1:25 PM, Richard Kreiss wrote:
> I send a follow-up post and a called routine from transaction is trying
> to write back to foobar.
>
> I need to come up with a way to close the foobar record, run the
> transaction routine and bring the user back to the foobar record on
> screen 9 as that seems to be the only solution to this problem.
>
> That looks like it will be "fun" to program.
[...]

What do you mean by "close the foobar record"?

Going back to your original post, I am assuming you mean "get out of update 
mode on the record the user is sitting on when he pressed '9' and triggered 
the @key9 event"?

If that's the case, the answer is simple -- use @entsel, which is run with 
the user not in update mode, rather than @key, which is run with the user in 
update mode.  (Use @key9 to set a flag, and end.  Check that flag in @entsel 
and do what needs to be done.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list