I have read every combo box sync problem posted and have not successfully been able to get mine to work. I am close, but that's about it. Here's the situation:
Combo Box 1 name = ComboEquipType
Combo Box 2 name = ComboSerialNumber
ComboSerialNumber has a Source Type of "Table/Query" and the Row Source has a SELECT query as follows:
SELECT ASSETS.AssetID, ASSETS.Description
FROM ASSETS
WHERE (((ASSETS.EquipmentType)=[Forms]![EquipMoves]![ComboEquipType]));
In the AFTERUPDATE event of ComboEquipType is have the following code:
ComboSerialNumber.Requery
When I select a value from the ComboEquipType box, instead of it passing the value selected into the query, it gives me the CRITERIA PROMPT box as if it didn't receive a value. If I then type in the value, the list in the 2nd combo box works fine.
How do I get the value to pass without it prompting for me to enter it in the CRITERIA PROMPT box?
Thank you in advance!
Combo Box 1 name = ComboEquipType
Combo Box 2 name = ComboSerialNumber
ComboSerialNumber has a Source Type of "Table/Query" and the Row Source has a SELECT query as follows:
SELECT ASSETS.AssetID, ASSETS.Description
FROM ASSETS
WHERE (((ASSETS.EquipmentType)=[Forms]![EquipMoves]![ComboEquipType]));
In the AFTERUPDATE event of ComboEquipType is have the following code:
ComboSerialNumber.Requery
When I select a value from the ComboEquipType box, instead of it passing the value selected into the query, it gives me the CRITERIA PROMPT box as if it didn't receive a value. If I then type in the value, the list in the 2nd combo box works fine.
How do I get the value to pass without it prompting for me to enter it in the CRITERIA PROMPT box?
Thank you in advance!