2.2.3.22 CT_Action

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

Referenced by: CT_DataMacroStatements, CT_UserInterfaceMacroStatements

Specifies a macro action.

Child Elements:

Argument : A CT_Argument element that specifies an argument for the action.

Parameters : A CT_ParameterValues element that specifies the parameters to the action. MUST NOT be present if the Name attribute is not "RunDataMacro", "BrowseTo", "OpenForm", or "OpenReport".

Attributes:

Collapsed : An Ignored Value.

Name : An ST_ObjectName 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:element name="Argument" minOccurs="0" maxOccurs="unbounded" wbld:cname="Argument" type="CT_Argument"/>
     <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.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).