GetDefAsVariants

Returns the columns, sort options, and filters that have been set for the HFMwQueryDef object reference. You can pass these return values to HFMwManageJournals.ExecuteQuery.

Tip:

To set the columns, sort options, and filters, use the properties listed in HFMwQueryDef Properties.

Syntax

<HFMwQueryDef>.GetDefAsVariants lType, pvaralColumns, pvaralSortOptions, pvaravFilters

Argument

Description

lType

A flag that determines whether the operation is for journals or templates. Pass 0 for journals, 1 for templates.

Input argument. Long subtype.

pvaralColumns

The columns that have been set for the HFMwQueryDef object.

Input/output argument.

pvaralSortOptions

The sort options that have been set for the HFMwQueryDef object.

Input/output argument.

pvaravFilters

The filters that have been set for the HFMwQueryDef object.

Input/output argument.