G
Guest
I'm having difficulty with syntax for filling a value from one subform to
another, based on values selected in the parent form. I have the following
code in the After Update event of CategoryID control on the parent form:
'Fills the Request Type control (OCSE or State) on the QUICK Errors tab if
the Program Area selected is QUICK and the Category is System Error.
If Me.[ProgramID] = 5 And Me.[CategoryID] = 2 Then
Me!Tab9_QUICKErrors![txtRequestType] = _
Me!Tab5_StateInfo![cboRequestType]
End If
The controls titled "Tab" are the controls for the subforms, not the subform
names. Both subforms are on a tab control, but from researching the
newsgroups, this shouldn't be named.
Any suggestions.
another, based on values selected in the parent form. I have the following
code in the After Update event of CategoryID control on the parent form:
'Fills the Request Type control (OCSE or State) on the QUICK Errors tab if
the Program Area selected is QUICK and the Category is System Error.
If Me.[ProgramID] = 5 And Me.[CategoryID] = 2 Then
Me!Tab9_QUICKErrors![txtRequestType] = _
Me!Tab5_StateInfo![cboRequestType]
End If
The controls titled "Tab" are the controls for the subforms, not the subform
names. Both subforms are on a tab control, but from researching the
newsgroups, this shouldn't be named.
Any suggestions.