Hi First post so please be gentle.

I'm using Crystal Reports with a commercial program I use at my work. I have managed to tweak a report to generate the information I need but I'm failing on one thing. I've tried to create a formula field that will show the text
"Gables to floor" when true.
Here is the line I typed
if {PRODUCT_PARAMETERS.PARAMETER_CODE}="_GablesToFloor"
and {PARAMETER_VALUES.PARAMETER_VALUE}=3 then "Gables to floor"
It does work but unfortunately there is like 1000+ pages created. It appears that it is going through the whole list of paramaters and showing the results and when it hits the one stated above shows my text.
So for one item I have about 20+ results instead of the one result showing no comment or the one ive stated above.
I'm starting to think it has something to do with the position of the formula in the report as I have come across something similar in the past and had to create a sub-report.
Any help is greatly appreciated.