I am writing in C++ using Visual Studio 2015. The program question takes data from a user and stores parts of his input as text fields in an Access database. I want to know the capacity of the database field: say its TEXT(75), I will warn the user if the data submitted for stage in that field exceeds 75 characters. I have a class generated from the table, is there any way, if I open either the table class, or the underlying database, I can use a C++ function on one of the classes to tell me the size. As if I were doing:
long max=database(databasename).table(tablename)
.field(stringfieldname).GetMaxSize();
long max=database(databasename).table(tablename)
.field(stringfieldname).GetMaxSize();