TAdsTable.AdsGetMemoLength

Advantage TDataSet Descendant

Retrieves the length of the specified memo field of the current record.

Syntax

function AdsGetMemoLength( strFieldName : String ) : Longint;

Parameter

strFieldName

Name of memo field.

Description

AdsGetMemoLength can retrieve the size in bytes of memo fields. However, it will not support binary object fields. Use AdsGetBinaryLength for binary fields.

Example

lMemoLength := AdsTable1.AdsGetMemoLength( ‘Notes’ );

See Also

AdsGetField

AdsGetFieldLength

AdsGetFieldType

AdsGetMemoDataType

AdsGetString