Z
ZigZagZak
I have a combo box that I based on a query. Access is saying the query is to
complex. I am obviously not doing it right.....help???
SELECT MATERIAL.SIZE
FROM MATERIAL
WHERE (((MATERIAL.[MATERIAL TYPE])=IIf([Forms]![SUGGEST DROPS]![MATERIAL]
Like "*" & "BAR" & "*",([MATERIAL].[MATERIAL TYPE])<>"304SS PLATE" And
([MATERIAL].[MATERIAL TYPE])<>"1040MOD" And ([MATERIAL].[MATERIAL
TYPE])<>"A36",([MATERIAL].[MATERIAL TYPE])<>"304SS BAR" And
([MATERIAL].[MATERIAL TYPE])<>"303SS BAR" And ([MATERIAL].[MATERIAL
TYPE])<>"RED BAR" And ([MATERIAL].[MATERIAL TYPE])<>"BLACK BAR" And
([MATERIAL].[MATERIAL TYPE])<>"YELLOW BAR")))
ORDER BY MATERIAL.SIZEDEC;
complex. I am obviously not doing it right.....help???
SELECT MATERIAL.SIZE
FROM MATERIAL
WHERE (((MATERIAL.[MATERIAL TYPE])=IIf([Forms]![SUGGEST DROPS]![MATERIAL]
Like "*" & "BAR" & "*",([MATERIAL].[MATERIAL TYPE])<>"304SS PLATE" And
([MATERIAL].[MATERIAL TYPE])<>"1040MOD" And ([MATERIAL].[MATERIAL
TYPE])<>"A36",([MATERIAL].[MATERIAL TYPE])<>"304SS BAR" And
([MATERIAL].[MATERIAL TYPE])<>"303SS BAR" And ([MATERIAL].[MATERIAL
TYPE])<>"RED BAR" And ([MATERIAL].[MATERIAL TYPE])<>"BLACK BAR" And
([MATERIAL].[MATERIAL TYPE])<>"YELLOW BAR")))
ORDER BY MATERIAL.SIZEDEC;