PDA

View Full Version : If function Operand question


Marc Osborne
October 6th, 2008, 03:50 PM
Good afternoon

I would like to have this equation:

if(YARD="H",(AVG_MO*9.16)/2.25,"")

Return the numeric calculation when the YARD field has the letter "H" in it and a blank if not. I get an operand type error whether the calculated field is numeric or character. Can someone help please?

Thanks,

Marc

Grant Perkins
October 6th, 2008, 09:53 PM
Hi Marc,

Assuming AVG_MO is numeric and you are populating a numeric field try 0 (zero) rather than "" (nothing) for your value for yard not equal to H.

I have not set it up to test the result but it looks a likely candidate. If not let us know and we can search for other suggestions.



Grant

Marc Osborne
October 8th, 2008, 10:07 AM
That did the trick. Thank you.