Getcolumnvalue – Kofax DM API User Manual

Page 198

Advertising
background image

178 C

HAPTER

4

GetColumnValue

GetColumnValue

This method retrieves the data contents of the specified column in the
current SQL result set.

Syntax

PCDSQL.GetColumnValue( lngColNum )

Parameter

Returns

The GetColumnValue method returns a variant variable that contains
the data contained in the SQL column of interest. GetColumnValue
returns an empty value when asked to return erroneous data.

Example

The example in the discussion of the

PCDSQL

object in Chapter 3

illustrates the use of GetColumnValue.

Related Items

See the

PCDSQL

object.

See the following properties:

ErrDescription
ErrNumber

lngColNum

A long integer that corresponds to the column
number of the desired column value.

Advertising