We are getting closer to the answer here. I used the code you posted and am still having the problem that if i open a record that is unlocked, lock it by checking the box, then try to exit the record or move to the next record it will tell me
"Before attempting changes please verify that the verified contents check box is unchecked."
So as a consequence the checkbox is being included in the items to be locked, controlled by itself. The checkbox won't attach to a specific record if i make it unbound. Is there any way that i can tag the checkbox so that it is omitted from the record lock code?
Also, something else that is interesting, when i click on the subform with the record locked i cannot change any of the records, they are frozen and i immediately get the "Before attempting changes please verify that the verified contents check box is unchecked." routine...
but on the main form i can modify the fields and it isn't until i get to leaving the record or clicking on a subform that i get the notification and the Me.Undo takes effect and reverts the entry to its prior entry...
The way the subform behaves is ideal at this point, it is just the main form that needs a good talking to...Thanks again for all of your help!
"Before attempting changes please verify that the verified contents check box is unchecked."
So as a consequence the checkbox is being included in the items to be locked, controlled by itself. The checkbox won't attach to a specific record if i make it unbound. Is there any way that i can tag the checkbox so that it is omitted from the record lock code?
Also, something else that is interesting, when i click on the subform with the record locked i cannot change any of the records, they are frozen and i immediately get the "Before attempting changes please verify that the verified contents check box is unchecked." routine...
but on the main form i can modify the fields and it isn't until i get to leaving the record or clicking on a subform that i get the notification and the Me.Undo takes effect and reverts the entry to its prior entry...
The way the subform behaves is ideal at this point, it is just the main form that needs a good talking to...Thanks again for all of your help!
Comment