Link to home
Start Free TrialLog in
Avatar of Jim Horn
Jim HornFlag for United States of America

asked on

Formula Editor errmsg: The remaining text does not appear to be part of the formula

The below function returns the errmsg in my question title, and the cursor is in the line above FinalResult;

stringVar FinalResult;
FinalResult := '';

if ({spr_single_broker_history_summary;1.quarter_id} = '999999') then
    FinalResult := 'Grand Total'
else if ({spr_single_broker_history_summary;1.quarter_id} = '999998') then
    FinalResult := 'Total for last four quarters'
else
    FinalResult := Picture(Cstr({spr_single_broker_history_summary;1.quarter_id},0,""),"xxxx Quarter x")

FinalResult;

Thanks in advance.
-Jim
ASKER CERTIFIED SOLUTION
Avatar of bdreed35
bdreed35
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jim Horn

ASKER

That was it.  Thank you.  -Jim