Hello,
I have 2 forms
Main Form - Carrierfrm
Sub Form - CarrerServiceDetailsfrm
On my sub form I have 2 cbo's
1st - CarrierTypeID
Row Source = SELECTCarrierTypetbl.CarrierTypeID, CarrierTypetbl.CarrierType
FROM CarrierTypetbl ORDER BY CarrierTypetbl.CarrierType;
AfterUpdate =
Private Sub CarrierTypeID_AfterUpdate()
[CarrierServiceTypeID].Requery
End Sub
2nd - CarrierServiceTypeID
Row Source =
SELECT CarrierServiceTypetbl.CarrierServiceTypeID, CarrierServiceTypetbl.CarrierServiceType, CarrierServiceTypetbl.CarrierTypeID
FROM CarrierServiceTypetbl
WHERE (((CarrierServiceTypetbl.CarrierTypeID)=[forms]![CarrierServiceDetailsfrm]![CarrierTypeID]))
ORDER BY CarrierServiceTypetbl.CarrierServiceType;
When I select a value from the 1st cbo (CarrierTypeID) I get the following error/ msg box that states the following
"Enter Parameter Value" - [forms]![CarrierServiceDetailsfrm]![CarrierTypeID]
I have read many diff forums and have tried numerous suggestions however none of them resolve my issue.
What am i doing wrong?
Any assistance is appreciated ...Thank you in advance
I have 2 forms
Main Form - Carrierfrm
Sub Form - CarrerServiceDetailsfrm
On my sub form I have 2 cbo's
1st - CarrierTypeID
Row Source = SELECTCarrierTypetbl.CarrierTypeID, CarrierTypetbl.CarrierType
FROM CarrierTypetbl ORDER BY CarrierTypetbl.CarrierType;
AfterUpdate =
Private Sub CarrierTypeID_AfterUpdate()
[CarrierServiceTypeID].Requery
End Sub
2nd - CarrierServiceTypeID
Row Source =
SELECT CarrierServiceTypetbl.CarrierServiceTypeID, CarrierServiceTypetbl.CarrierServiceType, CarrierServiceTypetbl.CarrierTypeID
FROM CarrierServiceTypetbl
WHERE (((CarrierServiceTypetbl.CarrierTypeID)=[forms]![CarrierServiceDetailsfrm]![CarrierTypeID]))
ORDER BY CarrierServiceTypetbl.CarrierServiceType;
When I select a value from the 1st cbo (CarrierTypeID) I get the following error/ msg box that states the following
"Enter Parameter Value" - [forms]![CarrierServiceDetailsfrm]![CarrierTypeID]
I have read many diff forums and have tried numerous suggestions however none of them resolve my issue.
What am i doing wrong?
Any assistance is appreciated ...Thank you in advance