G
Guest
Hi,
I am running this SQL to find the price of an item:
SELECT PARTS.UNITPRICE, PARTS.ITEMDESC, PARTS.WIDTH, PARTS.LENGTH,
PARTS.LHEIGHT
FROM PARTS
WHERE (((PARTS.ITEMDESC)=forms!form1.descrip) And
((PARTS.WIDTH)=forms!form1.text2) And ((PARTS.LENGTH)=forms!form1.text4) And
((PARTS.LHEIGHT)=forms!form1.text6));
The problem is, if any of these items are null - the query shows no records.
How can I conditionally check and ignore null values?
Thanks in advance,
Bonnie
I am running this SQL to find the price of an item:
SELECT PARTS.UNITPRICE, PARTS.ITEMDESC, PARTS.WIDTH, PARTS.LENGTH,
PARTS.LHEIGHT
FROM PARTS
WHERE (((PARTS.ITEMDESC)=forms!form1.descrip) And
((PARTS.WIDTH)=forms!form1.text2) And ((PARTS.LENGTH)=forms!form1.text4) And
((PARTS.LHEIGHT)=forms!form1.text6));
The problem is, if any of these items are null - the query shows no records.
How can I conditionally check and ignore null values?
Thanks in advance,
Bonnie