HtmlBind Method (DATATABLE)
10.5, PLBCMP GUI Only
The HtmlBind method connects the DATATABLE to a HTMLCONTROL. The method uses the following format:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A DATATABLE object.
return
Optional. A Numeric Variable that returns a method result.
htmlcontrol
Required. A HTMLCONTROL object used to view DATATABLE data.
style
Optional. A Numeric Variable or decimal number that specifies the format used to show the data in the HTMLCONTROL.
options
Optional. A Numeric Variable or decimal number to control the behaviors of this method.
Flags Affected: EOS, OVER, ZERO
Note the following:
The HTMLCONTROL object must be created before execution of this method.
Thee data in the DATATABLE is viewed in the HTMLCONTROL in one of two possible styles which are the LISTVIEW or CARDS formats.
The {options} parameter is implemented for future use.
The EOS flag is always cleared.
A return of zero indicates success and a non-zero value is failure.
The ZERO flag is set if the {return} value is zero.
The OVER flag is set if the {return} variable is too small to receive the return value.
When this method is executed, the HTMLCONTROL 'CODEPAGE' property is set to zero.
The style used to present/show the data in the HTMLCONTROL object. 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
![]() |