CdbTableDef::SetAttributes, GetAttributes Property

Sets or returns a value that indicates one or more characteristics of a table represented by the CdbTableDef object.

Syntax

VOIDSetAttributes(LONG l);

LONGGetAttributes(VOID);

Set Parameters

Type Example Description
LONG l A Long containing one or a combination of the values listed in Remarks.

Remarks

Valid values can be a combination of the following:

Constant Description
dbAttachExclusive For databases that use the Microsoft Jet database engine, the table is a linked table opened for exclusive use. You can set this constant on an appended TableDef object for a local table, but not on a remote table.
dbAttachSavePWD For databases that use the Microsoft Jet database engine, the user ID and password for the remotely linked table are saved with the connection information. You can set this constant on an appended TableDef object for a remote table, but not on a local table.
dbSystemObject The table is a system table provided by the Microsoft Jet database engine. You can set this constant on an appended TableDef object.
dbHiddenObject The table is a hidden table provided by the Microsoft Jet database engine. You can set this constant on an appended TableDef object.
dbAttachedTable The table is a linked table from a non-ODBC data source such as a Microsoft Jet or Paradox database (read-only).
dbAttachedODBC The table is a linked table from an ODBC data source, such as Microsoft SQL Server (read-only).