How can I get the descritption of a field in a Access table, using VC 5?
Printable View
How can I get the descritption of a field in a Access table, using VC 5?
If you are using CRecordsets you can make a call CRecordset::GetODBCFieldInfo which will return the following structure.
struct CODBCFieldInfo
{
CString m_strName;
SWORD m_nSQLType;
UDWORD m_nPrecision;
SWORD m_nScale;
SWORD m_nNullability;
};
Hope this helps