AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | 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 in 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.