Web Connection User's Guide
To manually set up a Table, follow these steps.
- Set up your database query using the VisualAge Multiple Row Query
part.
- Select Table from the Web Connection category. Place the Table part
on the Page.
- Select Table Column from the Web Connection category. Place the
Table Column within the Table part.
Repeat this step until you have added a column for each column in the
result table that you want to display.
-
Open the settings of each Table Column part and specify the attribute
displayed in each column. (A result table part has an attribute for
each column in the table.)
- Tear off the resultTable attribute of the Multiple Row Query
part.
- Connect the rows attribute of the result table part to the
items attribute of the Table part.
- Connect the aboutToGenerateHtml event of the Page to the
executeQuery action of the Multiple Row Query. This causes
the query to execute before the page is built, populating the table with data
at run time.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]