J
John
I have a main form (frmPricing) that has on it a tab
control (TabA) that has on one of the tab pages a subform
(subfrmNewClaims). On the subform is a combo box
(cbxClaimType) and a textbox (txtLineOfBusiness). I am
trying to populate cbxClaimType with a list depending on
what txtLineOfBusiness has in it. I am using the SELECT
statement below in the cbxClaimType_Enter event. But,
when I go to use cbxClaimType it asks for a parameter. Or
I have a combo box on the main form that I could use the
After_Update event but I am not getting the wording right
for the cbxClaimType to update correctly either. Here is
what I in the cbxClaimType_Enter event.
Me.cbxClaimType.RowSource = _
"SELECT " & _
"ClaimType, " & _
"LineOfBusiness " & _
"FROM tblClaimType " & _
"WHERE (((LineOfBusiness) = [Forms]!
[subfrmNewClaims]![txtLineOfBusiness]));"
If anyone has any thoughts or ideas, I thank you for it.
John
control (TabA) that has on one of the tab pages a subform
(subfrmNewClaims). On the subform is a combo box
(cbxClaimType) and a textbox (txtLineOfBusiness). I am
trying to populate cbxClaimType with a list depending on
what txtLineOfBusiness has in it. I am using the SELECT
statement below in the cbxClaimType_Enter event. But,
when I go to use cbxClaimType it asks for a parameter. Or
I have a combo box on the main form that I could use the
After_Update event but I am not getting the wording right
for the cbxClaimType to update correctly either. Here is
what I in the cbxClaimType_Enter event.
Me.cbxClaimType.RowSource = _
"SELECT " & _
"ClaimType, " & _
"LineOfBusiness " & _
"FROM tblClaimType " & _
"WHERE (((LineOfBusiness) = [Forms]!
[subfrmNewClaims]![txtLineOfBusiness]));"
If anyone has any thoughts or ideas, I thank you for it.
John