
DM API METHODS AND PROPERTIES 177
GetColumnName
GetColumnName
This method retrieves the name of the specified column in the current
SQL result set.
Syntax
PCDSQL.GetColumnName( lngColNum )
Parameter
Returns
The GetColumnName method returns a variant variable that contains
the name of the SQL column of interest. GetColumnName returns an
empty variant when asked to return erroneous data.
Example
The example in the discussion of the PCDSQL object in Chapter 3
illustrates the use of GetColumnName.
Related Items
See the PCDSQL object.
See the GetSQLErrorCode method.
See the following properties:
ErrDescription
ErrNumber
lngColNum A long integer that corresponds to the column
number of the desired column name.
Kommentare zu diesen Handbüchern