2.2.3.39 CT_Sub
Target namespace: http://schemas.microsoft.com/office/accessservices/2009/11/application
Referenced by: CT_UserInterfaceMacro
Specifies
a subroutine of a named Macro. A subroutine
of a named macro can be called in any context in which a named User
Interface Macro can be called, by referring to it as MacroName.SubroutineName
. MUST NOT be defined for Data
Macros.
Child Elements:
Statements : A CT_UserInterfaceMacroStatements element that specifies the commands to be performed when the macro is called.
Attributes:
Collapsed : An Ignored Value.
Name : An ST_ObjectName attribute that specifies a name for the subroutine. This attribute MUST be unique in relation to all Sub child elements in the parent CT_UserInterfaceMacro.
The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.
-
<xsd:complexType name="CT_Sub"> <xsd:sequence> <xsd:element name="Statements" minOccurs="0" maxOccurs="unbounded" type="CT_UserInterfaceMacroStatements" wbld:cname="Statements"/> </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).