Please have mercy on me and my headache!
I'm tripping over my own feet at this point. All I'm trying to do is a simple if..then..else function and getting no where. Here's what I've put in:
if(ProjectedADC>RehabBeds)then((RehabBeds-ADC)*400000)else((ProjectedADC-ADC)*400000)
I've checked and I have FormCalc selected as the language, and the individual statements function without the if..then..else, but when I put them together, nada.
This problem is probably staring me right in the face. The error I get when trying to preview the form is:
Script failed (language is formcalc; context is
xfa[0].form[0].ExistingRevenueOpp[0].#subform[0].ExistingRevenueOpp[0])
script=if(ProjectedADC>RehabBeds)then((RehabBeds-ADC)*400000)else((Pr
ojectedADC-ADC)*400000)
Error: syntax error near token ')' on line 4, column 0.