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

Bold text on every second record read

Status
Not open for further replies.

pgtek

Programmer
Sep 28, 2001
1,180
CA
hi,
I'm running crystal 8.5 and heres my problem

I have a field call Last_Name, First_Name

In my detail section i place {Last_Name} {First_Name}

When i generate the report the detail list last name and
first name ok

I want to bold Last_Name and First_Name
on every second record readed.

How can i do this???????

EX:

(default font) John Doe
(bold font) Harry James
(default font) Mary jones
(bold font) Richard Geer
and so on.
must i insert special field record number in front of my
detail line to number the record on the report???????

Thank you

PG
happy.gif
=

my field object????
 
Format the field.

Under the Font tab, press X+2 next to the Style option.

Enter
Code:
If Remainder(Recordnumber,2) = 0 
Then CrBold 
Else CrRegular
Naith
 
Right click thefield object, and select format. In the X-2 button for conditional font style, enter the following formula:

if remainder(recordnumber,2)=0 then crbold Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top