IsFieldTruncated Method

Applies To

ODynaset

Description

This method returns TRUE if the contents of the specified field are not the complete contents of the column in the database.

Usage

oboolean IsFieldTruncated(int index) const

oboolean IsFieldTruncated(const char *fieldname) const

Arguments

index the 0-based index of the field. The index is the position of the field in the SQL query that created the current record set.

fieldname the name of the field, as expressed in the SQL query

Remarks

Unlike most types of fields, the values of long and long raw fields may be only partially fetched from the server.

This call is valid only on fields whose server type is OTYPE_LONGRAW or OTYPE_LONG.

Return Value

TRUE if the field's value is incomplete; FALSE otherwise.