getwebtabletemplate
DATABASE
,
TEMPLATE
,
TABLEOPTIONS

The getwebtabletemplate statement converts a web table template (created by the Text Export Wizard) into the format compatible with the HTMLDataTable statement.


Parameters

This statement has three parameters:

database – database that contains the table template, or “” for current database.

template – name of the web table template. Alternatively, you can put the entire blueprint for the web table into this parameter (you can access the blueprint with the Arrange>Blueprint menu item in the Text Export wizard).

tableoptions – field or variable to receive the layout options, ready to be passed to the HTMLDataTable statement.


Description

This statement converts a web table template (created by the Text Export Wizard) into the format compatible with the HTMLDataTable statement. This example fetches the Price template for the current database, then renders the currently selected data into an HTML table in the cgiHTML variable.

local priceTableOptions
GetWebTableTemplate "","Prices",priceTableOptions
htmldatatable cgiHTML,priceTableOptions

See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0