I have a report (invoice_detail) based on table carrier_invoices.

Carrier_invoices table has two records as follows:

Date  carrier  carrier invoice iex invnbr amount

01/01/03  ABC      20488       X03-1000    $500
07/20/04  DEF      20488       X04-1431    $1000

I am printing invoice X04-1431
The print command is PRINT INV_DETAIL WHERE INVNBR = 'X04-1431' OPTION
PRINTER.

The first break is on the iex invnbr, the second on the carrier invoice
number.

Date is correct - 7/20/04
Carrier name is correct - DEF
Carrier invoice number is correct - 20488
IEX invoice number is correct - X04-1431
Amount is incorrect - It prints $500 instead of $1000

I simply renamed the first carrier invoice number in order to print the
correct amount but am wondering what's wrong with this scenario...  It
simply is unavoidable that different carriers might have identical
invoice numbers...

Claudine :)

Reply via email to