This tutorial explains what rules are and how they control what label templates are used and when. It also explains what report expressions are and how to use a command's data type as an expression within a GridControlObject of a custom label template. As the tutorial progresses it provides you with a practical example of how to modify the display of comments inside your final report.
View Tutorial - Running Time: 18 minutes
Note: The expressions in this tutorial expect that you're using the English language version for PC-DMIS. If you're using a non-English version, adjust the conditional report expression in the "Adding a Condition" section at 13m 06sec to be TOGGLEVALUE(COMMENT_TYPE)==1 instead. This gives you a non language-specific approach of targeting the REPORT comment. Similarly, if you wanted to do something with an INPUT comment, you would simply use TOGGLEVALUE(COMMENT_TYPE)==2 to target an INPUT comment.