#NOENTRY
In FORM templates the program will evaluate which cells should be locked or open for entry when the document is generated.
Program rules for open cells in a FORM:
- All cells with DATA in column A and CVAL in row 1.
- All cells with DATA in column A and a data attribute in row 1.
- All cells with DATA in column A and SPVAL, SPKEY, and/or SPLIM in row 1.
All other cells will be locked for editing when the FORM document is generated (in a REPORT document all cells will be locked at all times).
To override the rule that some cells are open, you can insert a cell comment or apply a cell command in the particular cell to lock it from entry. When the form is generated, this comment or command will make the cell locked, even though it does not meet the above rules. The cell comment will not be visible in the generated document.
Note: You can also configure NOENTRY columns and rows in the right panel of Template Design. For more information, see Data Bindings (New Design).
Adding/Removing a #NOENTRY Cell Comment
The cell L33 meets the above rules and will therefore automatically be open when generating the form. To override the rule using a comment, right-click the cell and select Insert Comment...:
An Insert Comment dialog displays, as shown below. Enter the text #NOENTRY and select Ok.
When the template is saved and opened in Template Design again, cells containing a comment will be visible with an red triangle in the top-right corner. Hover over the cell with a red triangle and the following dialog displays:
When previewing the document, the expanded rows in column L is locked for entry even they meet the rules above. No comment is visible for the end-user.
To edit or remove the comment in Template Design, right-click the #NOENTRY cell and select the appropriate option from the drop-down:
Adding/Removing a #NOENTRY Cell Command
To override the rule using a cell command, right-click the cells and select Cell Commands > #NOENTRY, as shown below:
When the template is saved and opened in Template Design again, cells containing a command will be visible with an orange triangle in the bottom-right corner.
To remove the cell command, right-click in the #NOENTRY cell in Template Design and select Cell Commands > #NOENTRY:
For information about how to apply a rule or condition that must be satisfied for cell entry in a form, see #CONDITIONALNOENTRY.