Hi
A table in Access has fields orderNo, bill_to and ship_to in the order. OrderNo is a string and other two fields are Boolean(yes/no). While entering an order, an employee may make mistakes in Bill_to/ship_to or both. His manager, when reviewing, will uncheck the bill_to/Ship_to fields.
When I take a count while running a query, the OrderNo should be repeated twice giving me a count of 2 errors if the OrderNo has error in both. I needed help in framing a query.
Select OrderNo from tblOrdersAudit where Bill_to=false or ship_to=false
does not give the required result because it ignores ship_to=false if it catches bill_to=false.
If I want the above result, do I need to change the structure of the table. Please help.
A table in Access has fields orderNo, bill_to and ship_to in the order. OrderNo is a string and other two fields are Boolean(yes/no). While entering an order, an employee may make mistakes in Bill_to/ship_to or both. His manager, when reviewing, will uncheck the bill_to/Ship_to fields.
When I take a count while running a query, the OrderNo should be repeated twice giving me a count of 2 errors if the OrderNo has error in both. I needed help in framing a query.
Select OrderNo from tblOrdersAudit where Bill_to=false or ship_to=false
does not give the required result because it ignores ship_to=false if it catches bill_to=false.
If I want the above result, do I need to change the structure of the table. Please help.