surprisignly I have a similar need
this go back to my question - Binding vs Recordsets
http://www.access-programmers.co.uk/forums/showthread.php?t=200296
binding a form to a table will lock the records, but when using Recordsets there is a chance of few users to work on the same task.
even if I bind the forms there are cases in my application where two users can do the same taks (In my case collecting bills for payments for example)
I know how to limit the user (by setting a flag in the table) and clearing it when the user go to another record.
description of what I want:
I have a main form. on this form there is a subform, and few ones inside (3 levels)
on the main form there is a record selector so I can change the records shown on main form and subforms.
I want the user to be able to change records with no interaption but to not leting him going into any of the subforms if the record is locked.
my problem is I can't find a way to triger when the user try to go into the subforms.