Kirk,

I believe you solved this for me!

I had a process launched from within table’s trigger that momentarily locked 
the record I was trying to save.

THANK YOU!

David Ringsmuth

From: Kirk Brooks via 4D_Tech
Sent: Wednesday, April 24, 2019 4:38 PM
To: 4D iNug Technical
Cc: Kirk Brooks
Subject: Re: -1 undefined database event

David,

On Wed, Apr 24, 2019 at 2:23 PM David Ringsmuth via 4D_Tech <
[email protected]> wrote:

> The message says the record is locked, but 4D’s Locked($pTable->) returns
> false, and so does 4D’s Read only state($pTable->).
>
> Under what circumstances would this happen?
>
If you are using 4D server this can happen when the record has been
loaded/modified on the server. Triggers run on the server. This is one way
you get this sort of situation. The other, which has bitten me before, is
when an EXECUTE ON SERVER method has loaded, but not unloaded, a record.

-- 
Kirk Brooks
San Francisco, CA
=======================

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to