2.2.3.20 CT_Action
Target namespace: http://schemas.microsoft.com/office/accessservices/2010/12/application
Referenced by: CT_DataMacroStatements, CT_UserInterfaceMacroStatements
Specifies a macro action (section 2.2.5.1).
Child Elements:
Argument: A CT_Argument (section 2.2.3.19) element that specifies an argument for the action where the value of the argument is a string.
ExpressionArgument: A CT_ExpressionArgument (section 2.2.3.78) element that specifies an argument for the action where the value of the argument is an expression.
Parameters: A CT_ParameterValues (section 2.2.3.17) element that specifies the parameters to the action. MUST NOT be present except as part of the RunDataMacro action (section 2.2.5.1.13), the ChangeView action (section 2.2.5.1.1), or the OpenPopup action (section 2.2.5.1.10).
Attributes:
Collapsed: An Ignored Value (section 2.1.4).
Name: An ST_ObjectName (section 2.2.4.1) attribute that specifies the name of the action. MUST be one of the actions specified by section 2.2.5.1.
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_Action"> <xsd:sequence> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Argument" wbld:cname="Argument" type="CT_Argument"/> <xsd:element name="ExpressionArgument" wbld:cname="ExpressionArgument" type="CT_ExpressionArgument"/> </xsd:choice> <xsd:element name="Parameters" minOccurs="0" type="CT_ParameterValues" wbld:cname="Parameters"/> </xsd:sequence> <xsd:attribute name="Name" type="ST_ObjectName" use="required" wbld:cname="Name"/> <xsd:attribute name="Collapsed" type="xsd:boolean" wbld:cname="Collapsed" use="optional"/> </xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).