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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Print " -Do- " if same data on the above record.

Status
Not open for further replies.

gagdeep

Programmer
Feb 16, 2001
16
0
0
IN
I am using CR8 I want to print " - Do - " when same data on the above record. Plz Help

Thanx
 
Use the previous() function. If {Fieldname}=Previous({Fieldname}) then " -Do- " else "" Software Support for Sage Mas90, Macola, Crystal Reports, Goldmine and MS Office
 
Create a formula object with the following expression:

If {table.field}=Previous({table.field}) then "-DO-" else ""

Actually, the else part is optional but I like to use it as a carry-over from my old programming days.

cheers. Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top