ALIGN

AIX HP-UX Linux OS/2 OS/390 OS/400 PTX SUN Win NT
X X X X X X X X X

Purpose

Controls leading and trailing spaces used with the table processing variables NLIST and VLIST.

Performance Tip: Use ALIGN only when necessary as it requires that Net.Data determine the maximum column length for all columns in the table to calculate padding requirements. This process can impact performance.

When set to YES, ALIGN provides padding to align table processing variables for display. If you want to embed query results in HTML links or form actions, use the default value of NO to prevent Net.Data from surrounding report variables with leading and trailing spaces.

Specify the value of this variable using a DEFINE statement or with the @DTW_ASSIGN() function.

Values

ALIGN="YES"|"NO"

Table 2. ALIGN Values
Values Description
YES Net.Data adds leading and trailing spaces to report variables with spaces to align them for display.
NO Net.Data does not add leading or trailing spaces. NO is the default.

Examples

Example 1: Using the ALIGN variable to separate each column by a space

%DEFINE ALIGN="YES"
<p>Your query was on these columns: $(NLIST)


[ Top of Page | Previous Page | Next Page | Index ]