ColumnMaxLength Method

QueryResults Object

Description

Returns the maximum length of a column in the current result set.

Visual Basic

lMaxLength = QueryResults.ColumnMaxLength ( [Column :=] lColumn )

C++

HRESULT pQueryResults->GetColumnMaxLength (
long
lColumn,
LPLONG
plMaxLength );

Elements

Element Type Description

lMaxLength Long Returned maximum column length
plColumn Long Column number of the current result set

Remarks

This is an indexed property.