HtmlSave Method (DATATABLE)
10.5, PLBCMP GUI Only
The HtmlSave method uses the current DATATABLE data to create HTML code in the format as specified by the style parameter. The method uses the following format:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A DATATABLE object.
return
Optional. A Character String Variable that returns the generated HTML code.
filename
Optional. A Character String Variable or literal that specifies a file name to be written with the generated HTML code.
style
Optional. A Numeric Variable or decimal number that specifies the format used as described below.
options
Optional. A Numeric Variable or decimal number to control the behaviors of this method.
Flags Affected: EOS, OVER, ZERO
Note the following:
The {filename} and {options} parameters are implemented for future use.
The EOS flag is set if the {return} variable is too small and the return data must be truncated.
The ZERO and OVER flag are always cleared.
The style specifies the type of HTML output to be generated. The supported styles are defined as follows:
|
Value |
Constant |
Meaning |
|
1 |
$TBL_HTML_LISTVIEW |
Default if style is not used |
|
2 |
$TBL_HTML_CARDS |
Cards |
See Also: Method Syntax, DATATABLE Methods
![]() |