D
dascooper
I'm trying to set a date using the following formula:
ratebase_date: iif([formula_rate] = "False", [rate_case-date],
iif(month([planned_isd])<6,
date(year([planned_isd]),6,1),date(year([planned_isd]+1),6,1))
If the logic field is false, it pulls the data from a table.
If the logic field is true, it looks to see if the date is before June. If
yes, it returns 6/1 of that year. Otherwise, it returns 6/1 of the next
year.
I keep getting an error that there are the wrong number of arguments, but I
can't seem to get it right. Any help would be much appreciated
ratebase_date: iif([formula_rate] = "False", [rate_case-date],
iif(month([planned_isd])<6,
date(year([planned_isd]),6,1),date(year([planned_isd]+1),6,1))
If the logic field is false, it pulls the data from a table.
If the logic field is true, it looks to see if the date is before June. If
yes, it returns 6/1 of that year. Otherwise, it returns 6/1 of the next
year.
I keep getting an error that there are the wrong number of arguments, but I
can't seem to get it right. Any help would be much appreciated