SIMPOL Documentation

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 me, dring parent, type sourcetype, string source, type(*) datasource, string username, string password, integer retry, integer timeout, integer codepage, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonedatasourceinfo
parentNonedring
sourcetypeNonetype
sourceNonestring
datasourceNonetype(*)
usernameNonestring
passwordNonestring
retry1000000integer
timeout5000000integer
codepageNoneinteger
errorNoneinteger

Properties

PropertyTypeDescription
_type(*)
__type(*)
appnodedlistnode
codepageinteger
datasourcetype(*)
findsourcenamefunction
passwordstring
reinitfunction
retryinteger
sourcestring
sourcetypetype
tablesarray
timeoutinteger
typetype
usernamestring

Methods

findsourcename()

Description

Prototype

datasourceinfovar.findsourcename ( datasourceinfo me, string sourcename )

Parameters
ParameterDefault valueType nameDescription
meNonedatasourceinfo
sourcenameNonestring

reinit()

Description

Prototype

datasourceinfovar.reinit ( datasourceinfo me, integer error )

Parameters
ParameterDefault valueType nameDescription
meNonedatasourceinfo
errorNoneinteger