I have created two boxes and have made the synchronization work (the user clicks on the first box and makes a choice and the second only shows items which are related to the first box's choice).
My problem is that the user can not choose from any of the choices in the second combo... whatever is clicked on the very first item is the only thing that will show up. I have 48 choices in the first box (Tool Types) and 540 choices in my second box (Tool Variations - based off of the first) and would like to not have to show the user the entire list that is why I went with synchronized boxes.
The table names are as below:
Expand|Select|Wrap|Line Numbers
- tblToolTypeLookup:
- ToolTypeID: Primary Key
- ToolType: Text
Expand|Select|Wrap|Line Numbers
- tblToolVariationsLookup:
- ToolVariationID: PrimaryKey
- ToolVariation: Text
- ToolTypeID: Int Foreign Key Reference ToolTypeID in TblToolTypeLookup
Combo#1 is:
Expand|Select|Wrap|Line Numbers
- Name: Tool_Type
- Control Source: Tool_Type
- Column Count 2
- Column Widths: 0";1"
- Row Source: tblToolTypeLookup
- Row Source Type: Table/Query
- Bound column 1
- After Update: Embedded Macro - Requery -> Tool Variation as Argument
Expand|Select|Wrap|Line Numbers
- Name: Tool_Variation
- Control Source: Tool_Variation
- Column Count: 2
- Column Widths: 0";2"
- Row Source Type: Table/Query
- Bound column: 1
Expand|Select|Wrap|Line Numbers
- SELECT tblToolTypeLookup.ToolTypeID,
- tblToolVariationsLookup.[Tool Variation]
- FROM tblToolTypeLookup INNER JOIN
- tblToolVariationsLookup
- ON tblToolTypeLookup.ToolTypeID = tblToolVariationsLookup.ToolTypeID
- WHERE (((tblToolVariationsLookup.[Tool Type])=[forms]![KRDL00057 MIL FORM].[Tool_Type]));
My problem is if the user chooses any item (it doesn't matter how far down on the second box) it doesn't "lock" on that item and place it in the record. It will not let the user choose anything but the first item in the list of the second combo box.
I have an embedded macro in the first combo box in the "After Update" that is Tool_Variation.requery so that when the user makes a choice combobox2 will update its listing according to the choice in combobox1.
Please help with any ideas you might have to share.
Wolf