ComponentOne Query 8.0
QueryItem Object

QueryItem Object Properties


Advanced

Returns True if the item represents an advanced elementary condition.

Alias

For a result field, sets/returns an alias to be used in the resulting SQL statement.

Checked

Determines whether to include or ignore the specified query item.

ChildrenCount

Returns the number of child items.

Comparison

Returns/sets the comparison operation of an elementary condition item.

ComparisonAttributes

Comparison attributes of a query item.

ComparisonTemplate

Comparison template string of a query item.

Complex

Returns True if the item can contain other items.

Connective

Returns/sets the connective operation of a complex condition item.

CurrentElement

Returns the element of an item which is currently selected (in focus) in that item.

Function

Returns/sets the function of a result field query item.

FunctionAttributes

Function attributes of a result field query item.

FunctionTemplate

Function template string of a result field query item.

HasChildren

Returns the value indicating whether the item has children in the item tree.

HasNext

Returns the value indicating whether the item has next sibling in the item tree.

HasPrevious

Returns the value indicating whether the item has previous sibling in the item tree.

ID

Returns the ID of a query item uniquely identifying it in the query tree.

IndexInParent

Returns the index of a query item in its parent.

LeftFieldID

Returns/sets the unique schema ID for the field on the left side of a query item.

LeftSide

Returns/sets the textual representation of the left side of a query item.

LeftSideField

Returns/sets the Field object representing the left side of a query item.

LeftSideKind

Returns/sets the value that determines whether the left side of a query item is 'field' or 'constant'.

LeftSideValue

Returns/sets the value of the left side of a query item.

Level

Returns the level of a query item in the item tree.

ParentID

Returns the parent ID of the query item.

RightFieldID

Returns/sets the unique schema ID for the field on the right side of a query item.

RightSide

Returns/sets the textual representation of the right side of a query item.

RightSideField

Returns/sets the Field object representing the right side of a query item.

RightSideKind

Returns/sets the value that determines whether the left side of a query item is 'field' or 'constant'.

RightSideValue

Returns/sets the textual representation of the right side of a query item.

Sort

Returns/sets the sort of a result field query item.

Tag

Stores arbitrary additional information associated with the query item.


QueryItem Object Methods


FindByID

Positions the Item object on the item specified by its unique ID in the item tree.

MoveToChild

Positions the Item object on the specified child item.

MoveToFirstChild

Positions the Item object on the first child of the item on which it is currently positioned.

MoveToNext

Positions the Item object on the next sibling of the item on which it is currently positioned.

MoveToPrevious

Positions the Item object on the previous sibling of the item on which it is currently positioned.

MoveToRoot

Positions the Item object on the root of the item tree.

 

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback