2.2.3.53 CT_Object

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

Referenced by: CT_ApplicationReference

Description of a single object in an Application.

Child Elements:

Mode : An ST_ShortString element that specifies the mode in which the object is desired to be viewed. MUST be one of the following values.

Value

Meaning

Browse

Opens the object in Browse view.

Design

Opens the object in Design view.

Layout

Opens the object in Layout view.

Normal

Opens the object in Default view.

PrintPreview

Opens the object in Print Preview view.

If this attribute is not present, the object is opened in the default view.

Name : An ST_ObjectName element that specifies the name of the object.

Type : An ST_ShortString element that specifies the type of the object. MUST be one of the following values.

Value

Meaning

Form

The object is a Form.

Macro

The object is a Macro.

Query

The object is a Query.

Report

The object is a Report.

Table

The object is a List.

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

 <xsd:complexType name="CT_Object">
   <xsd:sequence>
     <xsd:element name="Name" type="ST_ObjectName" wbld:cname="Name"/>
     <xsd:element name="Type" type="ST_ShortString" wbld:cname="Type"/>
     <xsd:element name="Mode" type="ST_ShortString" minOccurs="0" wbld:cname="Mode"/>
   </xsd:sequence>
 </xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).