Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.80 DataSource Property

Description:

Contains the name of, or a pointer to, a connected data source.

Used in:

Controls

Custom

DBAccess

Edit

Object

DataBinding

Values:

DataBinding and
Custom

A pointer to the connected data source.object.

Is set to POW-NULL if you release the connection to the data source object.

DBAccess

The name of a data source.

Default value:

None.

COBOL picture:

DataBinding and
Custom

OBJECT REFERENCE POW-COBJECT

DBAccess

X, up to 8192 bytes

OLE data type:

DataBinding and
Custom

VT_DISPATCH

DBAccess

VT_BSTR

Design time access:

Set and reference.

Execution time access:

DataBinding and
Custom

Set and reference.

Note that, to set the value, you should code:

INVOKE control-name "SETREF-DataSource"
USING data-source-object

or

INVOKE control-name "SETREF-DataSource"
USING POW-NULL

DBAccess

Reference only.

Backward compatibility attribute:

DataBinding and
Custom

None.

DBAccess

POW-DBDATASOURCEPIC X(32)