The configuration is:
Main Form
3 Unbound TextBoxes
Subform
5 Independent fields + 3 fields with data from the 3 Unbound Boxes
The master and child fields are the Unbound boxes.
The problem:
I want to make sure the subfrom can not get focus unless the tree ubound boxes have data.
I am using a Macro condition to test IsNull values on the unbounds text boxes. It works on the Main form because I can catch through the tabOrder if there is a missing data.
But on the most lilely event that a user uses the moust to get to the subfrom this won't work.
What I really need is an instruction to send the focus from the subform to the form if a data is missing on the main form.
Any ideas will be appreciated,
Main Form
3 Unbound TextBoxes
Subform
5 Independent fields + 3 fields with data from the 3 Unbound Boxes
The master and child fields are the Unbound boxes.
The problem:
I want to make sure the subfrom can not get focus unless the tree ubound boxes have data.
I am using a Macro condition to test IsNull values on the unbounds text boxes. It works on the Main form because I can catch through the tabOrder if there is a missing data.
But on the most lilely event that a user uses the moust to get to the subfrom this won't work.
What I really need is an instruction to send the focus from the subform to the form if a data is missing on the main form.
Any ideas will be appreciated,