n2rmymatrix
Programmer
Here is my result set:
Inv1 Txn1 TxnCat=Charges
Inv1 Txn2 TxnCat=BillPrint
Inv1 Txn3 TxnCat=Payments
Inv2 Txn1 TxnCat=Charges
Inv2 Txn2 TxnCat=BillPrint
I do NOT want any invoice that Contains a TxnCat=Payment...How do I get my results to exclude the ENTIRE invoice that contains the payment category and return results that look like Inv2....where the invoice has never had a payment?
In Access, (from result set above)I would simply make a table grouped by Inv and TxnCat where TxnCat=payments....then I'd do a quick unmatched query on the invoice #'s to get my final set of invoices without payment.
I appreciate your feedback.
Inv1 Txn1 TxnCat=Charges
Inv1 Txn2 TxnCat=BillPrint
Inv1 Txn3 TxnCat=Payments
Inv2 Txn1 TxnCat=Charges
Inv2 Txn2 TxnCat=BillPrint
I do NOT want any invoice that Contains a TxnCat=Payment...How do I get my results to exclude the ENTIRE invoice that contains the payment category and return results that look like Inv2....where the invoice has never had a payment?
In Access, (from result set above)I would simply make a table grouped by Inv and TxnCat where TxnCat=payments....then I'd do a quick unmatched query on the invoice #'s to get my final set of invoices without payment.
I appreciate your feedback.