JazzSP8
Well-known Member
- Joined
- Sep 30, 2005
- Messages
- 1,233
- Office Version
- 365
- Platform
- Windows
Hey All
I've built a Query that pulls in details about certain products in our range.
The problem I've got is that the details for each product live in a text file, it contains details for every product we've ever stocked including some obsolete ones.
Because of this my Query is returning lots of blank rows when there is no SKU associated any more.
The SKUs end up in one of 6 columns at the end of the data.
I thought I'd be able to hide them by using another column to see if they're blank or not and the using a criteria filter.
The formula works if I just run the query and the new column populates correctly but when I include the <>"N" criteria I get a "Enter Parameter Value" pop up message box for each of the Level (x) Live SKU fields.
Can I not do it this way? Or am I doing something wrong?
Thanks in advance for any help that can be provided
I've built a Query that pulls in details about certain products in our range.
The problem I've got is that the details for each product live in a text file, it contains details for every product we've ever stocked including some obsolete ones.
Because of this my Query is returning lots of blank rows when there is no SKU associated any more.
The SKUs end up in one of 6 columns at the end of the data.
I thought I'd be able to hide them by using another column to see if they're blank or not and the using a criteria filter.
Code:
Good: IIf(IsNull([Level 0 Live SKU]) And IsNull([Level 1 Live SKU]) And IsNull([Level 2 Live SKU]) And IsNull([Level 3 Live SKU]) And IsNull([Level 4 Live SKU]) And IsNull([Level 5 Live SKU]),"N","Y")
The formula works if I just run the query and the new column populates correctly but when I include the <>"N" criteria I get a "Enter Parameter Value" pop up message box for each of the Level (x) Live SKU fields.
Can I not do it this way? Or am I doing something wrong?
Thanks in advance for any help that can be provided