
176 CHAPTER 4
GetColumnCount
GetColumnCount
The GetColumnCount method retrieves the number of SQL columns
in a result set. It references the current result set within the PCDSQL
object.
Syntax
PCDSQL.GetColumnCount()
Returns
The GetColumnCount method returns a long integer that shows the
number of columns in the current result set. If an
INSERT or UPDATE
SQL command is run, then GetColumnCount returns the number of
columns in the insert or update call.
Example
The example in the discussion of the PCDSQL object in Chapter 3
illustrates the use of GetColumnCount.
Related Items
See the PCDSQL object.
See the following properties:
ErrDescription
ErrNumber
Kommentare zu diesen Handbüchern