Avatar of dave_sky
dave_sky
Flag for United States of America asked on

Crystal Reports formula to suppress zero

Using Visual Studio 2005 crystal reports.

I have 2 suppress zero formulas in a crystal reports form that I need combined:

Right({TblBasicPlumbingBidDetail.ItemNumber},1) = ">"
Right({TblBasicPlumbingBidDetail.Description},1) = ")"

The formulas work ok individually.

Thanks
Crystal Reports

Avatar of undefined
Last Comment
dave_sky

8/22/2022 - Mon
peter57r

You don't say what the combined rule has to do.

For the field that you are trying to format, if both of these  have to be true you just put the word AND between the two expressions.
ASKER CERTIFIED SOLUTION
Mike McCracken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
dave_sky

ASKER
>You don't say what the combined rule has to do.

If the user's text in field "ItemNumber" contains">" then field "FixtureUpgradePrice" suppress zero.
If the user's text in field "Description" contains")" then field "FixtureUpgradePrice" suppress zero.

I tried this and there is no error, but neither formula works
Right({TblBasicPlumbingBidDetail.ItemNumber},1) = ">"
AND Right({TblBasicPlumbingBidDetail.Description},1) = ")"
dave_sky

ASKER
Thank you!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck