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

Formula

Status
Not open for further replies.

rpal

Programmer
Joined
Jun 16, 2003
Messages
37
Location
US
I need help in writing this formula:

Test Result is varchar
p_test_result is varchar

Data look like:
Test Result=Fail
p_test_result=Pass

I want to compare both the columns

if {rpt_test1;1.Test Result}<>{rpt_test1;1.p_test_result} then
BOLD ({rpt_test1;1.Test Result})
else
{rpt_test1;1.Test Result}
I know above formula is wrong is any better way to write?.
 
Right click {rpt_test1;1.Test Result}, Format, Font, X+2 button next to Style. Enter:

if {rpt_test1;1.Test Result}<>{rpt_test1;1.p_test_result} then crBold
else crRegular

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top