I'm not sure how to phrase my question so I'll give an example. I'm using an ODBC connection so I can't change the structure of the tables at all.
I have a table to "customers." Each customer has multiple "orders" in a second table. I want to run a report that shows customers from Michigan, Ohio and Indiana (I have a field for state) who did NOT order a widget.
I'm using grouping and supressing the details so that all I see are the customer numbers and names.
I've run it and tested it. John Smith shows up. He ordered a widget and lives in Ohio. When I show the detail, all of orders show up EXCEPT the record for the widget order. I don't want John Smith to show up at all because he ordered a widget.
{order.itemprice} > $0.00 and (eliminates returns and credits)
{order.state} in ["MI", "OHIO", "IN"]and
{order.item} <> "WIDGET"
I have a table to "customers." Each customer has multiple "orders" in a second table. I want to run a report that shows customers from Michigan, Ohio and Indiana (I have a field for state) who did NOT order a widget.
I'm using grouping and supressing the details so that all I see are the customer numbers and names.
I've run it and tested it. John Smith shows up. He ordered a widget and lives in Ohio. When I show the detail, all of orders show up EXCEPT the record for the widget order. I don't want John Smith to show up at all because he ordered a widget.
{order.itemprice} > $0.00 and (eliminates returns and credits)
{order.state} in ["MI", "OHIO", "IN"]and
{order.item} <> "WIDGET"