Hi all,
I have a combobox that shows multiple fields. I used the combobox wizard to create it because the source of these fields, 'Insert Table', is from a different table than the forms controlling table, 'Cutter Config Table', but I want the Insert_ID field from the recordset of the chosen value to populate the Form's controlling table's 'Insert ID' value.
The problem I am having is that the field showing the manufacturer from the 'Insert Table', 'mfgID', is just the ID number of the manufacturer's name from the 'Mfg Table'. I think I need to use an inner join in the ComboBoxes row source to pull the manufacturers name from 'Mfg Table' on 'MfgID' instead of showing the 'MfgID' from the 'Insert Table'
The current Row Source code is"
SELECT [Insert Table].[Insert ID], [Insert Table].[Catalog No], [Insert Table].[Nose Radius], [Insert Table].[Mfg ID] FROM [Insert Table] ORDER BY [Mfg ID];
I've unsuccessfully tried:
SELECT [Insert Table].[Insert ID], [Insert Table].[Catalog No], [Insert Table].[Nose Radius], [Mfg Table].[Mfg Name] FROM [Insert Table] INNER JOIN [Mfg Table] ON [Insert Table].[Mfg ID] = [Mfg Table].[Mfg ID] ORDER BY [Mfg Name];
I get an 'Enter Parameter Value: Mfg Table.Mfg Name' diaglog box.
Thanks for any help you can offer.
-Jeff
I have a combobox that shows multiple fields. I used the combobox wizard to create it because the source of these fields, 'Insert Table', is from a different table than the forms controlling table, 'Cutter Config Table', but I want the Insert_ID field from the recordset of the chosen value to populate the Form's controlling table's 'Insert ID' value.
The problem I am having is that the field showing the manufacturer from the 'Insert Table', 'mfgID', is just the ID number of the manufacturer's name from the 'Mfg Table'. I think I need to use an inner join in the ComboBoxes row source to pull the manufacturers name from 'Mfg Table' on 'MfgID' instead of showing the 'MfgID' from the 'Insert Table'
The current Row Source code is"
SELECT [Insert Table].[Insert ID], [Insert Table].[Catalog No], [Insert Table].[Nose Radius], [Insert Table].[Mfg ID] FROM [Insert Table] ORDER BY [Mfg ID];
I've unsuccessfully tried:
SELECT [Insert Table].[Insert ID], [Insert Table].[Catalog No], [Insert Table].[Nose Radius], [Mfg Table].[Mfg Name] FROM [Insert Table] INNER JOIN [Mfg Table] ON [Insert Table].[Mfg ID] = [Mfg Table].[Mfg ID] ORDER BY [Mfg Name];
I get an 'Enter Parameter Value: Mfg Table.Mfg Name' diaglog box.
Thanks for any help you can offer.
-Jeff