Found Invalid Cold Fusion Expression Error

Discussion in 'Programming' started by hemant.gulati, Sep 6, 2010.

  1. #1
    I m using report builder and when i m have a fomulae of calculated field is:
    iif(calc.totalrevenue er 0,0,100*(calc.totaldollars/calc.totalrevenue)) i got an invalid coldfusion expression error i know that is becoz of '/' division sign b'coz when i remove it and calc.totalrevenue it works fine.

    calc.totaldollars=query.first+query.second+query.third
    calc.totalrevenue=query.costperunit*query.AP

    plz tell me where i m wrong
     
    hemant.gulati, Sep 6, 2010 IP