Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.2 ADODataSource Control

Description:

ADODataSource control gives access to database using ADO (Microsoft ActiveX Data Objects).

Sample Image:

This image is only visible at design time. The ADODataSource control is invisible at execution time.

Properties:

Array

ClassMajorVersion

ClassMinorVersion

ClassProgID

CommandText

CommandType

Connection

ConnectionString

ConnectionTimeout

ConnectMode

Container

CursorLocation

CursorType

Index

Left

LockType

Name

Parent

Password

Recordset

ScaleMode

Top

UserName

In addition to the above properties, you can also use the properties of the ADO connection object and ADO recordset object. These are documented in Microsoft's MSDN Library, available online at http://msdn.microsoft.com.

Methods:

None.

But, you can use the methods of the ADO connection object and ADO recordset object. These are documented in Microsoft's MSDN Library, available online at http://msdn.microsoft.com.

For example, the syntax for invoking the XXXX method of the ADO recordset object~is:

INVOKE "Recordset" OF ADODataSource "XXXX" USING ..

Events:

EndOfRecordset

FieldChangeComplete

MoveComplete RecordChangeComplete

RecordsetChangeComplete

WillChangeRecordset

WillChangeField

WillChangeRecord

WillMove

Class ProgID name:

Fujitsu.PcobADODataSource.4

Corresponding Controls in PowerCOBOL V3.0 or earlier:

None.