Basshopper
Technical User
Hi I have a query I want to run that will autocheck the box [Use Part?] by picking the lowest [Alt Unit 1] value for each group of [Line #] in other words there could be 2 [Alt Unit 1] prices for the same [Line #] When I group and use the Min function I can no longer update the [Use Part?]
Thanks for your help
Thanks for your help
Code:
SELECT [t_BOM Part Cross].[Customer ID], [t_BOM Part Cross].[Assembly #], [t_BOM Part Cross].[quote=#], [t_BOM Part Cross].[Line #], [t_BOM Part Cross].[Use Part?], [t_BOM Part Cross].[Alt Unit 1]
FROM [t_BOM Part Cross]
WHERE ((([t_BOM Part Cross].[quote=#])=[FORMS]![Parameter]![quote=#]));