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

text style depending on formula 1

Status
Not open for further replies.

johnugly

Programmer
Jun 21, 2004
31
BE
hello, i use CR 9 and i want a specific field to have style bold when its equal to another field.
You can write a formula under the tab "Font" of the "style" item. I just don' know how to formulate it :p.
Thanks in advance
 
if {mytable.thisfield}= {mytable.theotherfield} then crBold else crRegular
 
Have also done this before in slightly diff way -

go to styles - font - select bold - select formula tab next to it and use formula:

if {table.1stfield} = {table.2ndfield} then 1 else 0

should work ok also..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top