Name Property

The Name property stores the name of the object for identifying in the database and object collection.

Applies to objects: Connection, Database, Field, Index, Property, QueryDef, Recordset, Relation, TableDef, Workspace.

Syntax

[[Let] RetVal = ] object.Name

[Let] object.Name = SetVal

The Name property syntax has these parts:

Part Description
object Required. A reference to an instance of the object.
RetVal Optional. A String type variable.
SetVal Required. A String type variable.

Remarks

The name property of an object must be unique withing the scope of the collection.

Example

.......

 

See Also

Connection Object, Database Object, Field Object, Index Object, Property Object, QueryDef Object, Recordset Object, Relation Object, TableDef Object, Workspace Object.