Why do I get ???? in my etext report
When you have any syntax error in your etext template, the very first column will be prefixed by question mark/marks depending on the length of first field.
Therefore, if you ever encounter this kind of issue in your etext template, check for all the syntax errors.
In my case, I was getting it because I did not use IF THEN ELSE Condition correctly.
Incorrect code:
IF x=1
THEN '10'
ELSE x=2
THEN '20'
END IF
Correct code:
IF x=1
THEN '10'
ELSE IF x=2
THEN '20'
END IF
Therefore, if you ever encounter this kind of issue in your etext template, check for all the syntax errors.
In my case, I was getting it because I did not use IF THEN ELSE Condition correctly.
Incorrect code:
IF x=1
THEN '10'
ELSE x=2
THEN '20'
END IF
Correct code:
IF x=1
THEN '10'
ELSE IF x=2
THEN '20'
END IF
Thanks
ReplyDelete