Matty
...the Myth Buster
- Local time
- Today, 12:35
- Joined
- Jun 29, 2001
- Messages
- 396
Hi,
On my form, I have a set of three comboboxes -- Manufacturer, EquipType and Model. Model is dependent on the two previous combos, so I've made it a cascading combobox. Here's the rowsource of cboModelID:
SELECT [dbo_Models].[ModelID], [dbo_Models].[Model] FROM dbo_Models WHERE ((([dbo_Models].[ManufacturerID])=[Forms]![frmRA]![cboManufacturerID]) And (([dbo_Models].[EquipTypeID])=[Forms]![frmRA]![cboEquipTypeID]));
It works wonderfully, but I hit problems when I close my form. At the DoCmd.Close line in my code, it asks for the value in the two comboboxes as parameter popup boxes. It almost looks like cboModelID is trying to requery, but the two other combos have already closed, therefore it's not able to grab their values.
Has anyone else had this problem? If so, do you have any solutions I could try?
On my form, I have a set of three comboboxes -- Manufacturer, EquipType and Model. Model is dependent on the two previous combos, so I've made it a cascading combobox. Here's the rowsource of cboModelID:
SELECT [dbo_Models].[ModelID], [dbo_Models].[Model] FROM dbo_Models WHERE ((([dbo_Models].[ManufacturerID])=[Forms]![frmRA]![cboManufacturerID]) And (([dbo_Models].[EquipTypeID])=[Forms]![frmRA]![cboEquipTypeID]));
It works wonderfully, but I hit problems when I close my form. At the DoCmd.Close line in my code, it asks for the value in the two comboboxes as parameter popup boxes. It almost looks like cboModelID is trying to requery, but the two other combos have already closed, therefore it's not able to grab their values.
Has anyone else had this problem? If so, do you have any solutions I could try?