UltraLite Static C++ User's Guide
C++ API Reference
ULConnection class
ul_u_short GlobalAutoincUsage()
Returns the percentage of available global autoincrement values that have been used.
If the percentage approaches 100, your application should set a new value for the global database ID, using the SetDatabaseID.
The percent usage of the available global autoincrement values.