Description

End an McDBQuery condition assignment precedence level.

Return Type

None  

Syntax

object.CloseBracket

The CloseBracket Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBQuery.

Remarks

This method is the complement of the OpenBracket() method.

Exceptions

Error Value Description
E_PENDING &H8000000A The database context has not been established. Call AttachDatabase().
E_FAIL &H80004005 Improper context for CloseBracket. Be sure there was a prior call to OpenBracket that has not already been closed.

Notes

It is necessary to call CloseBracket once for each call to OpenBracket, or else the McDBQuery will fail, when executed. This type of Syntax checking for the McDBQuery being formed is not done until it is executed.