Fields Property

Contains an array of the fields in the specified query command, which yields the values of a parameter of a domain command.

Syntax

value = Parameter.Fields(Index)

Part Description
value A returned integer that represents the field in the query command.
Parameter An object variable that describes a parameter for a domain command.
(Index) The zero-based index of a specific item in the fields array.

Applies To

Parameter

Remarks

This property is read-only. A single parameter can contain more than one field. For example, a jukebox application might contain the domain command “Play tracks.” If the key of the tracks table in the database consists of both TrackID and AlbumID as its keys, the track parameter for the domain command will contain both fields.

See Also

DomainCmd Object, FieldCount Property


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.