Setrow, E the, Befor – Kofax DM API User Manual

Page 300

Advertising
background image

280 C

HAPTER

4

SetRow

SetRow

Use this method to set the row pointer in the results set to a specific row.

Syntax

PCDGetDoc.SetRow( lngRowNbr )

PCDLookup.SetRow( lngRowNbr )

PCDPutDoc.SetRow( lngRowNbr )

PCDRecentDoc.SetRow( lngRowNbr )

PCDSearch.SetRow( lngRowNbr )

PCDSQL.SetRow( lngRowNbr )

Parameter

Returns

Returns a Boolean value that indicates whether or not the operation
completed successfully. It is

TRUE

if the row number was set to a row

within the current result set. A

FALSE

value indicates that the row

number was less than 1 or greater than the number of rows in the result
set.

Usage

The row count in the result set is 1-based. You can use

GetColumnValue

or

GetPropertyValue

methods to retrieve data from

the selected row in the result set.

Example

The

Example

in the

PCDLookup

object discussion illustrates how you

can use the SetRow method.

Related Items

See the following objects:

lngRowNbr

A long integer that identifies the row number to
which the row pointer is to be set.

Advertising