AllowEdits error trapping

MLT

Registered User.
Local time
Today, 06:12
Joined
Nov 14, 2002
Messages
12
I have a form with an embedded subform set to continuous forms. When a text box on the main form is empty, edits in the subform are allowed. However when the text box (txtApproval) has a value edits in the subform are not allowed.

The problem is, I need a way to advise users that because the form has already been approved, they cannot edit the data. How can I trap the error? It really doesn't even appear that an error is thrown.
 
Use the on enter event to display a MsgBox and inform the user the data can't be altered, set the focus back to the main form
 

Users who are viewing this thread

Back
Top Bottom