Basshopper
Technical User
I am trying to match up through this query of 2 table on 2 fields Mfg # and Description from both tables. I keep getting an error on can't join any suggestions. Here is my code
SELECT [t_Quote BOM].[Customer ID], [t_Quote BOM].[Assembly #], [t_Quote BOM].
SELECT [t_Quote BOM].[Customer ID], [t_Quote BOM].[Assembly #], [t_Quote BOM].
# said:, [t_Quote BOM].[Line #], [t_Quote BOM].[MFG #], [t_Max Part Master Updated].[Ascentron #], [t_Max Part Master Updated].Description, [t_Max Part Master Updated].[Std Cost], [t_Max Part Master Updated].[Last Cost], [t_Max Part Master Updated].[Last Cst Qty], [t_Max Part Master Updated].Date
FROM [t_Max Part Master Updated] INNER JOIN [t_Quote BOM] ON ([t_Max Part Master Updated].[Mfg #] = [t_Quote BOM].[MFG #]) OR ([t_Max Part Master Updated].Description = [t_Quote BOM].Description)
WHERE ((([t_Quote BOM].[Customer ID]) Like [forms]![Parameter]![Customer ID] & "*") AND (([t_Quote BOM].[Assembly #]) Like [FORMS]![Parameter]![Assembly #] & "*") AND (([t_Quote BOM].# said:) Like [FORMS]![Parameter]!# said:& "*"))
ORDER BY [t_Quote BOM].[Line #], [t_Max Part Master Updated].Date;