Add Row(s)

 

Setup|Tables lets you perform these operations in the Add Row dialog box: you can enter row text for new rows, enter row logic for new rows and edit text or logic for existing rows.

 

Row name

You enter the text for your row in Row name. The number of characters entered is displayed in the line above your text.

 

Row text can have up to 480 characters. Each line is a minimum of 10 characters wide and can have up to 50 characters (not to exceed the total 480 characters). Words are automatically wrapped when they're printed in your reports, based on the Row text width set in Setup|Job Settings|Table Presentation (for Plain text reports) or the Row Text Width set (in pixels) in Setup|Banners (for Enhanced text reports).

 

You can specify where the text will wrap by entering multiple lines in the Row name dialog. Pipe symbols (|) are inserted in the row text of the job file (View|Job File) automatically when multiple lines are entered. Keep in mind that regardless of how many characters you enter on each line, text will wrap based on the row text width. For example, if you enter 50 characters on the first line and 50 characters on the second line and your row text width is set at 40, the text will wrap at 40 characters and then wrap again at the end of the first line, then wrap at 40 characters from the second line and again for the remaining 10 characters of the second line, resulting in 4 lines of row text. Alternatively, you can specify where words should break by inserting a pipe symbol (|) at the point where you want the break to occur.

 

Show previous

Enable the Show previous check box to have the text from the previously-entered row remain in Row name, so it’s available for editing as the next row's text.

 

When you're satisfied with a row's text, press the Tab key or click in the Row logic field. (Or, if you're not ready to enter logic, you can press Add to add the row and its text. The row is then displayed in the Rows list box. When you're ready to enter logic, simply double-click on the row in the Rows list box to edit the text or enter the logic.)

 

Row logic

Enter the logic for your row in Row logic. The logic shows the data location (variable name or record/column location) and value for the row. You don't have to repeat the data location for each row of the table. If the data location is the same as for the previous row, you can enter just the value for that row.

 

** Logic can have up to 1024 characters. See Logic syntax for information about logic syntax and instructions.

 

Show previous

Enable the Show previous box to have the logic from the previously-entered row remain in Row logic, so that it is available for editing as the next row's logic.

 

** WinCross logic using variable names is converted to record/column location when evaluating the length. In most cases the 1024 character logic limit when converted to record/column location will be different than the original number of characters using variables names. If the record/column location conversion results in more than 1024 characters, a syntax error will be issued indicating the logic is more than 1024 characters.

 

Related topics:

Logic Examples

Logic Structure

Reserved Key Words

Setup Tables