VLIST

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

Purpose

A list of all the field values for the current row being processed in a ROW block.

You can reference VLIST only within a ROW block. The default separator is a space.

Net.Data assigns the variable for each row in the table; reference the variable to obtain the values of all the fields in the current row. To use this variable outside the block, assign the value of VLIST to a previously defined global variable or an OUT or INOUT function parameter variable.

Examples

Example 1: Using list tags to display query results

%DEFINE ALIGN="YES"
 
%REPORT{
Here are the results of your query:
<ol>
%ROW{
<li>$(VLIST)
%}
</ol>
%}
 

Example 2: Using a list variable to change the separator to <p>

%DEFINE %LIST "<p>" VLIST
 
%REPORT{
Here are the results of your query:
%ROW{
<hr>$(VLIST)
%}
%}


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