2.2.3.26 CT_CreateRecord

Target namespace: http://schemas.microsoft.com/office/accessservices/2010/12/application

Referenced by: CT_DataMacroStatements

Specifies a set of commands that are performed on a newly created record.

MUST NOT be present in a CT_DataMacroStatements (section 2.2.3.38) element that is a child of a CT_EditRecord (section 2.2.3.28) element or another CT_CreateRecord (section 2.2.3.26) element.

Child Elements:

Data: A CT_CreateRecordData (section 2.2.3.25) element that specifies the data source in which a record will be created.

Statements: A CT_DataMacroStatements (section 2.2.3.38) element that specifies a set of commands to perform on the new record.

Attributes:

Collapsed: An Ignored Value (section 2.1.4).

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

 <xsd:complexType name="CT_CreateRecord">
   <xsd:sequence>
     <xsd:element name="Data" wbld:cname="Data" type="CT_CreateRecordData"/>
     <xsd:element name="Statements" type="CT_DataMacroStatements" wbld:cname="Statements"/>
   </xsd:sequence>
   <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).