UltraLite Static C++ User's Guide
C++ API Reference
ULCursor class
ul_length GetColumnSize( ul_column_num column-index )
Returns the number of bytes needed to hold the information in the specified column.
column-index The number of the column. The first column in the table has a value of one.
The number of bytes.
The following example gets the number of bytes needed to hold the third column in the table tb:
tb.Open( &conn ); colSize = tb.GetColumnSize( 3 );