Have a query that simply displays two columns (Chargeamt and ChargeDate)
depending on the CID input
Works fine
Have another query that does the same thing for credits (Creditamt, RecDate, and Chknum depending on the CID input
works fine
When I combine them to get a one page report showing both, it duplicates the first record about nine times of one of the tables, either Charges or credits and the other seems fine.
I have changed the joins various ways and swapped the tables order but still does it.
I know it is, once again, some simple something I am missing.
depending on the CID input
Code:
SELECT TblCharges.CID, TblCharges.Chargeamt, TblCharges.Chargedate
FROM TblCharges
WHERE (((TblCharges.CID)=[?]));
Works fine
Have another query that does the same thing for credits (Creditamt, RecDate, and Chknum depending on the CID input
Code:
SELECT TblPayments.CID, TblPayments.Creditamt, TblPayments.Recdate, TblPayments.Chknum
FROM TblPayments
WHERE (((TblPayments.CID)=[?]));
works fine
When I combine them to get a one page report showing both, it duplicates the first record about nine times of one of the tables, either Charges or credits and the other seems fine.
Code:
SELECT TblCharges.CID, TblCharges.Chargeamt, TblCharges.Chargedate, TblPayments.Creditamt, TblPayments.Recdate, TblPayments.Chknum
FROM TblCharges, TblPayments
WHERE (((TblCharges.CID)=[?]));
I have changed the joins various ways and swapped the tables order but still does it.
I know it is, once again, some simple something I am missing.