Larry, Jan and Buddy,

Thanks for collectively pointing me in the right direction.  BTW, I don't
know why I titled my post the way I did.  I was trying to lookup the right
data I guess...  That's a big French DUH for the day :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence
Lustig
Sent: Wednesday, July 21, 2004 2:48 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Lookup dilemna

> 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.

In that case, the row with the $500 data should never
be used by the report.

Just out of curiosity, why did you title your post
"Lookup Dilemma"?  As you've described it, the report
should not require a look up, at least not for the
dollar amount.  If you _are_ using a lookup, check the
logic involved there, it might indicate why the wrong
data is getting loaded.
--
Larry

Reply via email to