I have the following code on a form control
code If IsNull(Me.Code) Or Me.Code = "" Then Cancel = True /code
works great to prevent null input, but i also have an exit command button to close the form, but if cursor on the me.Code control, exit button cannot be pressed.
Any ideas please
code If IsNull(Me.Code) Or Me.Code = "" Then Cancel = True /code
works great to prevent null input, but i also have an exit command button to close the form, but if cursor on the me.Code control, exit button cannot be pressed.
Any ideas please