2.2.3.1 CT_Expression

Target namespace: http://schemas.microsoft.com/office/accessservices/2009/11/application

Referenced by: CT_Result, CT_Query, CT_Property, CT_Argument, CT_ForEachRecordData, CT_LookupRecordData, CT_DataIf, CT_DataElseIf, CT_UserInterfaceIf, CT_UserInterfaceElseIf

A string ([XMLSCHEMA2/2] section 3.2.1) that represents a single expression. The length of this string MUST be less than or equal to 8192 characters. When this type is used as a child element or base type for any Complex Type other than CT_Property and CT_Argument, then the first non-whitespace character MUST be an equal sign. In CT_Property, contents of this element are never treated as an expression, so the first character can be any character allowed in a string. For CT_Argument, the behavior of this string depends on the type of the argument.

The syntax of the expression depends on the type of the parent element as specified by the following table.

Parent element type

Syntax type

CT_Result

Query Columns.

CT_Query

Query Restrictions.

CT_Property

MUST be treated as plain text with no syntax requirements.

CT_Argument

Depends on the type of the argument.

CT_ForEachRecordData, CT_LookupRecordData, CT_DataIf, CT_DataElseIf

Data Macros.

CT_UserInterfaceIf, CT_UserInterfaceElseIf

User Interface Macros.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_Expression" mixed="true"/>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).