Fullscreen Image

This section covers Meridian Enterprise 2026. View other versions.

Query Object

The Query object represents a lookup list query to an external database. The Query object is available to the Vault object.

ClosedQuery Object Properties

The Query object provides the following properties, all of which are read-only. To affect some read-only properties requires user interaction or custom event procedures.

ClosedDBConnection Property

An ADO connection object. Read-only.

Syntax

DBConnection As Object

ClosedDisplayName Property

The display name of the query as seen by users. Read-only.

Syntax

DisplayName As String

ClosedName Property

Returns the name of the current object. Depending on the object type, this property returns the display name of the object or it returns the internal name and may be read-only.

Syntax

Name As String

Remarks

If the current object is a Package, it must be in the Open status to set the value.

If the current object is a User, this property is the short name of the user as stored in the user's Meridian account information and is read-only. This property can be used to specify the recipient's email address and either an empty string or no value set in the Address property. If an email address is specified in Name, it must be surrounded with carets (<>). When used with Microsoft Outlook, the Name property may contain the user's full name or last name and Outlook will attempt to resolve the name to the email address in the default address book.

Meridian user names can be shown in different formats determined by the UserNameFormatserver registry setting.

ClosedType Property

The type of the query as one of the AS_TQTYPE constants. Read-only.

Syntax

Type As AS_TQTYPE

ClosedQuery Object Methods

The Query object methods affect the current Query object. They are described below.

ClosedGetValues Method

The GetValues method of the Query object is the same as the GetValues method of the Table object except that it operates on a Query object.

ClosedGetValuesEx Method

The GetValuesEx method of the Query object is the same as the GetValuesEx method of the Table object except that it operates on a Query object.