>

SourceTableName Property

Applies To

TableDef Object.

Description

Sets or returns a value that specifies the name of an attached table or the name of a base table. This property setting is read-only for a base table and read/write for an attached table or an object not appended to a collection.

Settings and Return Values

The setting or return value is a string expression that specifies a table name. For a base table, the setting is a zero-length string (""). The data type is String.

See Also

Connect Property; OpenDatabase Method; RefreshLink Method; SourceField, SourceTable Properties.

Example

See the Connect property example.

Example (Microsoft Access)

See the Connect property example (Microsoft Access).

Example (Microsoft Excel)

See the Connect property example (Microsoft Excel).