Post

1 follower Follow
0
Avatar

Using several comments in one report template

Hello,

I created a rather complicated report template and I would like to comment it well, so that my colleagues can understand, why it is structured the way it is.

Now I use $info and $endinfo and "//" to comment it. The first time I use it in the document it works correct: the comment is not displayed in the actual report.

But if I use those again in the same document it doesn't work any more and the comment is displayed in my reports. I also tried to continue with "$info2" and "$endinfo2" as one uses with $if but the comments are still there.

Could you please give me a hint, what I am doing wrong.

Regards

Katya

Razjivina Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Katya,

Instead of $info, you should use the $comment keyword.  In Word reports, any paragraph that starts with $comment will be removed from the report output.  In Excel reports, the row that $comment appears in will be removed from the report; alternatively you can use $CommentCell in which only the contents of the cell will be removed.

Doug

Doug Earl 0 votes
Comment actions Permalink