2.2.3.41 CT_DataMacroStatements
Target namespace: http://schemas.microsoft.com/office/accessservices/2009/11/application
Referenced by: CT_ForEachRecord, CT_LookupRecord, CT_CreateRecord, CT_EditRecord, CT_DataIf, CT_DataMacroStatementGroup, CT_DataElseIf, CT_DataElse, CT_DataMacro
Container type that contains zero or more elements that specify the commands to be performed when a Data Macro is called.
Child Elements:
Action : A CT_Action element that specifies a single macro action.
Comment : An ST_LongString element that is ignored when the commands are performed.
ConditionalBlock : A CT_DataConditionalBlock element that specifies a conditional branch.
CreateRecord : A CT_CreateRecord element that specifies a macro block that creates a record.
EditRecord : A CT_EditRecord element that specifies a macro block that changes a record.
ForEachRecord : A CT_ForEachRecord element that performs actions on multiple records.
LookUpRecord : A CT_LookupRecord element that specifies a macro block that performs actions on a single record.
StatementGroup : A CT_DataMacroStatementGroup element that specifies a user-defined grouping of macro commands.
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_DataMacroStatements"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Action" type="CT_Action" wbld:cname="Action"/> <xsd:element name="Comment" type="ST_LongString" wbld:cname="Comment"/> <xsd:element name="ForEachRecord" type="CT_ForEachRecord" wbld:cname="ForEachRecord"/> <xsd:element name="LookUpRecord" type="CT_LookupRecord" wbld:cname="LookupRecord"/> <xsd:element name="CreateRecord" type="CT_CreateRecord" wbld:cname="CreateRecord"/> <xsd:element name="EditRecord" type="CT_EditRecord" wbld:cname="EditRecord"/> <xsd:element name="ConditionalBlock" type="CT_DataConditionalBlock" wbld:cname="ConditionalBlock"/> <xsd:element name="StatementGroup" type="CT_DataMacroStatementGroup" wbld:cname="StatementGroup"/> </xsd:choice> </xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).