I'm getting this error with a formula in CR 8.5. Can anyone tell me what is wrong with this formula?
Thanks!
BooleanVar SelectRec := false;
NumberVar Counter;
Global NumberVar Array MgrSSN;
for Counter := 1 to UBound({?MgrSSN}) do
if ({AGMRV_HIERARCHY.AGT_MGR_TAX_ID_NBR} = (MgrSSN[Counter]) and {AGMRV_HIERARCHY.AGY_AGCY_NBR} = {?Agency}) then SelectRec := true;
Counter := Counter + 1;
SelectRec;
Thanks!
BooleanVar SelectRec := false;
NumberVar Counter;
Global NumberVar Array MgrSSN;
for Counter := 1 to UBound({?MgrSSN}) do
if ({AGMRV_HIERARCHY.AGT_MGR_TAX_ID_NBR} = (MgrSSN[Counter]) and {AGMRV_HIERARCHY.AGY_AGCY_NBR} = {?Agency}) then SelectRec := true;
Counter := Counter + 1;
SelectRec;