Jolle Carlestam Clearing locks for all database objects
May 30, 2007; 10:00
Jolle Carlestam
Clearing locks for all database objects
I've come across a minor flaw in the excellent knot that Knop is.
If I move out of a form view and into the list view connected to the same database object then the lock placed on the record is removed using this code:
$dTest -> (clearlocks: -user=$activeUserName);
But if I move directly to another module like a listview for $dParty then the lock placed on the $dTest record remains.
Would be nice with some way of dealing with locks so that any lock set for a specific user is removed when not needed anymore. A lock table? A variable in a session? A small "tomte" that keeps track of all locks?
HDB Jolle
############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://lists.montania.se/Lists/knop/ (log in with your email and ConfirmationID as password, send message to <knop-confirm@lists.montania.se> to get that ID) Project homepage http://montania.se/projects/knop/ AIM chatroom knop aim:gochat?roomname=knop
May 30
Johan Solve Re: Clearing locks for all database objects
May 30, 2007; 10:19
Johan Solve
Re: Clearing locks for all database objects
May 30
Jolle Carlestam Re: Clearing locks for all database objects
May 30, 2007; 10:50
Jolle Carlestam
Re: Clearing locks for all database objects
May 30
Johan Solve Re: Clearing locks for all database objects
May 30, 2007; 11:09
Johan Solve
Re: Clearing locks for all database objects
May 30
Johan Solve Re: Clearing locks for all database objects
May 30, 2007; 12:09
Johan Solve
Re: Clearing locks for all database objects
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!