Contents Index Get method GetColumnSize method pdf/preface.pdf

UltraLite User's Guide
  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();

Contents Index Get method GetColumnSize method pdf/preface.pdf