A
Annette
I have two tables - PO and PODetail. The PO table tracks such things
as date, po number, vendor, etc. The PODetail table links to the PO
table and contains detail information such as item, account number,
quantity and paid status. If there is a PO with 5 PODetails, each
entry in the detail can have it's own paid status. For example the PO
123 has 5 details and 4 have a paid status of "yes" and 1 has a paid
status of "no".
I have a query that lists all PO's and their status. If a PO has any
PODetail records that has at lease one paid status of "NO", I would
like the query that lists all PO's to list the status of unpaid. If
all the PODetail records are paid, then the PO status would be paid.
How can I parse the PODetail records to determine the final status of
PAID or UNPAID in the PO query?
as date, po number, vendor, etc. The PODetail table links to the PO
table and contains detail information such as item, account number,
quantity and paid status. If there is a PO with 5 PODetails, each
entry in the detail can have it's own paid status. For example the PO
123 has 5 details and 4 have a paid status of "yes" and 1 has a paid
status of "no".
I have a query that lists all PO's and their status. If a PO has any
PODetail records that has at lease one paid status of "NO", I would
like the query that lists all PO's to list the status of unpaid. If
all the PODetail records are paid, then the PO status would be paid.
How can I parse the PODetail records to determine the final status of
PAID or UNPAID in the PO query?