Collection Contents Previous Next PDF

UltraLite C/C++ User's Guide

UltraLite Static C++ API Reference

ULCursor class

GetColumnCount method


Prototype 

int  GetColumnCount( )

Description 

Returns the number of columns in the current table or result set.

Returns 

Integer number of columns.

Example 

The following example opens a table object named tb and places the number of columns in the variable numCol:

tb.Open( &conn );
numCol = tb.GetColumnCount();

Collection Contents Previous Next PDF