Xbasic

showVarHTML Function

Syntax

V showVarHTML(html as A [, C title])

Arguments

htmlCharacter Binary

A string of HTML text. The HTML can be a character string or blob containing a long string of HTML.

titleCharacter

Default = "HTML". The window title.

Description

Display the contents of a string that contains HTML. The HTML is formatted for readability.

Discussion

The showvarhtml() function can be used to display a string of HTML text. The HTML is formatted for readability before it is displayed.

Example

stylename = "Alpha"
dim cn as sql::Connection
cn.open("::Name::AADemo-Northwind")
cn.execute("SELECT CustomerId, Address, City, Country FROM CUSTOMERS")
dim html as p = a5_Generate_HTML_table(cn.ResultSet,stylename,14)
showvarhtml(html.htmlTable)

Limitations

Development/Desktop Environment Only

See Also