Returns the number of bytes used in the database (rather than in memory) of a Memo or an OLE Object Field object in the Fields collection of a Recordset object.
Syntax
LONG FieldSize(VOID);
Remarks
Returns the number of bytes used in the database.
Usage
#include <afxole.h>
#include <dbdao.h>
LONG length;
CdbField fld;
CdbRecordset rs;
... // Initialize as needed
fld = rs.Fields[0L]; // Get the first field
length = fld.FieldSize(); // Get the field size