Top
PowerCOBOL V11.0 Reference
FUJITSU Software

6.17 EndOfRecordset Event

Description:

Generated when there is an attempt to move to a row past the end of the Recordset.

Used in controls:

ADODataSource

Used in Objects:

None.

Parameters:

1. [VT_I4 - Index S9(9) COMP-5]

2. VT_BOOL - MoreData S9(4) COMP-5

3. VT_I4 - adStatus S9(9) COMP-5

4. VT_DISPATCH - pRecordset OBJECT REFERENCE POW-COBJECT

Description of parameters:

  1. Index: When the control is part of an array, Index contains the control's index in the array.

  2. MoreData: If the value is set to True, it indicates more rows have been added to the recordset.

  3. adStatus: Indicates or requests the current status as follows:
    POW-ADODB-ADSTATUSERRORSOCCURRED:
    Indicates that the operation that caused the event failed due to an error or errors.
    POW-ADODB-ADSTATUSOK:
    Indicates that the operation that caused the event was successful.
    POW-ADODB-ADSTATUSUNWANTEDEVENT:
    Requests that further events of the type that caused this event to be generated should not be generated.

  4. pRecordset: Indicates a pointer to the recordset object, for which this event is generated.

Details:

Consult the ADO documentation for details.