Chapter 77. sbnglib
This library incorporates a number of useful types for interacting wit the data-aware form system and for communicating information with other functions, such as the datasourceinfo type, the tbinfo type, and the implementation of option button grouping for non-data-aware forms.
datasourceinfo
Description
Type Tags
None
Object Value
Objects of type datasourceinfo have no value, and it is an error to try to get or set this value.
datasourceinfo.new()
Description
Prototype
datasourceinfo
.new
(
datasourceinfo
,
dring me
,
type parent
,
string sourcetype
,
type(*) source
,
string datasource
,
string username
,
integer password
,
integer retry
,
integer timeout
,
integer codepage
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | datasourceinfo | |
parent | None | dring | |
sourcetype | None | type | |
source | None | string | |
datasource | None | type(*) | |
username | None | string | |
password | None | string | |
retry | 1000000 | integer | |
timeout | 5000000 | integer | |
codepage | None | integer | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_ | type(*) | |
__ | type(*) | |
appnode | dlistnode | |
codepage | integer | |
datasource | type(*) | |
findsourcename | function | |
password | string | |
reinit | function | |
retry | integer | |
source | string | |
sourcetype | type | |
tables | array | |
timeout | integer | |
type | type | |
username | string |
Methods
findsourcename()
Description
Prototype
datasourceinfovar
.findsourcename
(
datasourceinfo
,
string me
)
sourcename
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | datasourceinfo | |
sourcename | None | string |
reinit()
Description
Prototype
datasourceinfovar
.reinit
(
datasourceinfo
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | datasourceinfo | |
error | None | integer |