A Simple Result Set

 

+
Search Tips   |   Advanced Search

 

This is an example of a simple formatting template with a Result Set based on the Employee List example.

<html>
<head></head>
<body>
<TABLE border="1">
<TR>
<TH><u>Employee Number</u></TH>
<TH><u>Full Name</u></TH>
</tr>
<tr>
<TD><FIELD NAME="employeenumber"></td>
<TD><FIELD NAME="firstname"><FIELD NAME="lastname"></td></TR>
</TABLE>
</body>
</html>

The most important tags are the <field> tags. These specify what fields from the data source will be displayed. This example will display the Employees full name and ID number, but only one record will be displayed. To display all the records, a Loop element must be added.

Parent topic: Building Result Sets.


IBM Workplace Web Content Management - V5.1.0.1 -

 

Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.