Error message: This array must be subscripted. For example: Array.
The following formula has been working flawlessly up to and including CR 8.71; now it's CR9 & CR declares
it to be broken. The name of the formula is Yr>2000 and this is all it consists of:
--start formula
if {?AnneeDeDepart} >= "2001" then
{?AnneeDeDepart}
else
{?AnneeDeDepartPlus1}
--end formula
The error message displays when I run the report.
The error message displays when I Alt+C in the Formula Editor, and
"2001" is highlighted.
AnneeDeDepart is a string; "2001" is a string.
Why does CR now think that "2001" is an array.
Incidentally, on other reports which have not been saved in CR9 format, this formula evaluates just fine. Unfortunately, they all have to edited to accommodate a longer key field.
The following formula has been working flawlessly up to and including CR 8.71; now it's CR9 & CR declares
it to be broken. The name of the formula is Yr>2000 and this is all it consists of:
--start formula
if {?AnneeDeDepart} >= "2001" then
{?AnneeDeDepart}
else
{?AnneeDeDepartPlus1}
--end formula
The error message displays when I run the report.
The error message displays when I Alt+C in the Formula Editor, and
"2001" is highlighted.
AnneeDeDepart is a string; "2001" is a string.
Why does CR now think that "2001" is an array.
Incidentally, on other reports which have not been saved in CR9 format, this formula evaluates just fine. Unfortunately, they all have to edited to accommodate a longer key field.