Hi,
I have a report which runs fine on a Windows XP workstation, but errors out on a Windows 7 workstation. We're using Crystal X, and the error message is:
Report Engine Error 000000515 - Blah blah blah
Error in formula <ProdCodeNDesc>.
'stringvar array x := split({PRODUCT_CODE.PRD_DESC},")");
'
The ) is missing.
Details: errorKind
The ) is there, and if I put another one in, then I get an error on saving the formula. As mentioned, it works fine on an XP, and we'd like to resolve the issue, so the Windows 7 users can run it without error.
The full formula is here if you need to see it:
stringvar array x := split({PRODUCT_CODE.PRD_DESC},")");
numbervar i;
numbervar j := ubound(x);
stringvar y := "";
for i := 1 to j-1 do(
y := y + trim(extractstring(x,"","("))+"; "
);
if len > 2 then
left(y, len-2) else {PRODUCT_CODE.PRD_DESC}
Thanks so much for your assistance in resolving this issue.
Best,
Lori
I have a report which runs fine on a Windows XP workstation, but errors out on a Windows 7 workstation. We're using Crystal X, and the error message is:
Report Engine Error 000000515 - Blah blah blah
Error in formula <ProdCodeNDesc>.
'stringvar array x := split({PRODUCT_CODE.PRD_DESC},")");
'
The ) is missing.
Details: errorKind
The ) is there, and if I put another one in, then I get an error on saving the formula. As mentioned, it works fine on an XP, and we'd like to resolve the issue, so the Windows 7 users can run it without error.
The full formula is here if you need to see it:
stringvar array x := split({PRODUCT_CODE.PRD_DESC},")");
numbervar i;
numbervar j := ubound(x);
stringvar y := "";
for i := 1 to j-1 do(
y := y + trim(extractstring(x,"","("))+"; "
);
if len > 2 then
left(y, len-2) else {PRODUCT_CODE.PRD_DESC}
Thanks so much for your assistance in resolving this issue.
Best,
Lori