UltraLite Static C++ User's Guide
C++ API Reference
ULCursor class
int GetColumnCount( )
Returns the number of columns in the current table or result set.
Integer number of columns.
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();