AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | SCO | SUN | Win NT |
X | X | X | X | X | X | X | X | X |
Purpose
The value for the specified column number n for the current row.
You can reference Vn only within a ROW block.
Net.Data assigns the variable for each field the table; use the variable in a variable reference, specifying the number of the field you want to reference. To use this variable outside the block, assign the value of Vn to a previously defined global variable or an OUT or INOUT function parameter variable.
Examples
Example 1: Report displaying an HTML table
%REPORT{ <H2>E-mail directory</H2> <TABLE BORDER=1 CELLPADDING=3> <TR><TD>Name</TD><TD>E-mail address</TD><TD>Location</TD> %ROW{ <TR><TD>$(V1)</TD> <TD><a href="mailto:$(V2)">$(V2)</a></TD> <TD>$(V3)</TD> %} </TABLE> %}
The second column shows the e-mail address. You can send the person a message by clicking on the link.