ColumnIDs property

A SAFEARRAY of column IDs that identify the Database Columns to retrieve.

Syntax


C++

HRESULT get_ColumnIDs(VARIANT* pColumnIDList)

HRESULT put_ColumnIDs(VARIANT ColumnIDList)

Scripting languages

Value = object.ColumnIDs

object.ColumnIDs = Value

Remarks


It is not valid to retrieve the cells for Attachments, History, Comments or Autonumber in the order they're sorted columns through the database query. The column IDs that refer to these columns will be ignored during the call to set ColumnIDs.

To clear all the fetchable columns, simply set the ColumnIDs to an empty VARIANT.

Home

Applies to

IERUDBQuery