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!

Formula Error String Unknown

Status
Not open for further replies.

bstafford21

IS-IT--Management
Oct 5, 2003
101
TH
Hello,

Have a problem to figure out on how to write the formula properly to change my font on a string indicator field. Not sure how the proper format is on this one as I can get other fields to change font color by using the following:

if {Part.Stored_Qty} < {SO_Items.Qty} then CrRed Else CrBlack
This formula works for the required indicator, but trying to use the below formula for font color change when the "Ops.Completion_Indicator_YN is = to N" I want it to be RED. but get an error on this one. This field in my database is a string, how to get this type string to work in a font color change?

if {Ops.Completion_Ind_YN} = {(N)} then CrRed Else CrBlack

Any help here is appreciate if someone knows what I should be writing in the formula, I am sure it is simple, but don't know how.

Thanks

Bill
 
Try

if {Ops.Completion_Ind_YN} = 'N' then CrRed Else CrBlack

If 'N' is not correct place {Ops.Completion_Ind_YN} on report and see what values are returned.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top