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

Displaying value after formula determines result 1

Status
Not open for further replies.

Stewman

MIS
Jan 23, 2002
79
US
Hello,

I am new to crystal and not a programmer. I have a quick question. I am trying to create a formula where I say if 1 field is greater than another field then display a certain value.

For example:
If {INVENTORY.REORDERPOINT} > {INVENTORY.REORDERQTY} then
I want the word "reorder" to be displayed.

If the value is not met then I do not anything to appear. Any help greatly appreciated. I know this is simple, just not able to figure it out.
 
Oh, you were soooooooo close...

Right click Formulas in the Field Explorer and select New, and after naming it use something akin to:

If {INVENTORY.REORDERPOINT} > {INVENTORY.REORDERQTY} then
"Reorder"
else
""

-k
 
Thanks for the quick response. That worked perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top