GetColumnString Method

QueryResults Object

Description

Returns the data, converted to a string value, in a column of a row in the current result set.

Visual Basic

strColumnData = QueryResults.GetColumnString (
[Row :=] lRow,
[Column :=] lColumn )

C++

HRESULT pQueryResults->GetColumnString (
long
lRow,
long
lColumn,
SQLOLE_LPBSTR
pstrColumnData );

Elements

Element Type Description

strColumnData String Returned column data
lRow Long Row number of the current result set
lColumn Long Column number of the specified row