Here is my scenario I want to make a choice in the last combo box in the mainform and then set focus and enable) the first combo box in the subform. (I have the fields disabled till the previous field is entered and it works in mainform with no issues). Now why can't I get focus or enable my first combo box in my subform?? HELP!
Mainform = DIQA
Subform = Audit_Errors_Subform
last Combo box on Mainform = Indexer_Name
First Combo box on subform = Prepper_Error
This is what I have in the OnChange Event
If Me.Indexer_Name = "" Then
MsgBox "Please enter a Indexer Name"
Cancel = True
Exit Sub
End If
Me!Audit_Errors_Subform.SetFocus
Me!Audit_Errror_Subform.Form!Prepper_Error.Enabled = True
Me!Audit_Errror_Subform.Form!Prepper_Error.SetFocus
End Sub
Mainform = DIQA
Subform = Audit_Errors_Subform
last Combo box on Mainform = Indexer_Name
First Combo box on subform = Prepper_Error
This is what I have in the OnChange Event
If Me.Indexer_Name = "" Then
MsgBox "Please enter a Indexer Name"
Cancel = True
Exit Sub
End If
Me!Audit_Errors_Subform.SetFocus
Me!Audit_Errror_Subform.Form!Prepper_Error.Enabled = True
Me!Audit_Errror_Subform.Form!Prepper_Error.SetFocus
End Sub