DataObject.Name Property
InfoPath Developer Reference |
A read-only property that returns a string value indicating the name of the associated DataObject object. Read-only
Version Information
Version Added: InfoPath 2003
Syntax
expression.Name
expression An expression that returns a DataObject object.
Return Value
String
Remarks
The name of the DataObject object is the same as the name of the secondary data source that it represents. The name of the DataObject object can also be used as the argument to the Item property of the DataObjects collection.
Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
Example
In the following example, the Name property of the DataObject object is used to to display the name of the DataObject object in a message box:
JScript |
---|
|
See Also