Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formatting using Previous(fld) is affecting first line

Status
Not open for further replies.

CarolineS

Programmer
Aug 31, 2001
33
CA
Hi all,

I'm creating a report in which several item lines may appear for any given invoice payment. Each line must show, but the first item line is the most important.

So if three lines have the same payment number, I'm conditionally formatting the fields' font by saying:
If {pymnt#} = Previous({pymnt#}) then crGray else crBlack.

This is working fine, except for the fact that the first line of the report is also responding to this criteria, and the fields are appearing as gray. Anyone know how to avoid this?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top