CDaoTableDef Class Members
Data Members
m_pDatabase | Source database for this table. |
m_pDAOTableDef | A pointer to the DAO interface underlying the tabledef object. |
Construction
Append | Adds a new table to the database. |
CDaoTableDef | Constructs a CDaoTableDef object. |
Close | Closes an open tabledef. |
Create | Creates a table which can be added to the database using Append. |
Open | Opens an existing tabledef stored in the database’s TableDef’s collection. |
Attributes
CanUpdate | Returns nonzero if the table can be updated (you can modify the definition of fields or the table properties). |
GetAttributes | Returns a value that indicates one or more characteristics of a CDaoTableDef object. |
GetConnect | Returns a value that provides information about the source of a table. |
GetDateCreated | Returns the date and time the base table underlying a CDaoTableDef object was created. |
GetDateLastUpdated | Returns the date and time of the most recent change made to the design of the base table. |
GetFieldCount | Returns a value that represents the number of fields in the table. |
GetFieldInfo | Returns specific kinds of information about the fields in the table. |
GetIndexCount | Returns the number of indexes for the table. |
GetIndexInfo | Returns specific kinds of information about the indexes for the table. |
GetName | Returns the user-defined name of the table. |
GetRecordCount | Returns the number of records in the table. |
GetSourceTableName | Returns a value that specifies the name of the attached table in the source database. |
GetValidationRule | Returns a value that validates the data in a field as it is changed or added to a table. |
GetValidationText | Returns a value that specifies the text of the message that your application displays if the value of a Field object does not satisfy the specified validation rule. |
IsOpen | Returns nonzero if the table is open. |
SetAttributes | Sets a value that indicates one or more characteristics of a CDaoTableDef object. |
SetConnect | Sets a value that provides information about the source of a table. |
SetName | Sets the name of the table. |
SetSourceTableName | Sets a value that specifies the name of an attached table in the source database. |
SetValidationRule | Sets a value that validates the data in a field as it is changed or added to a table. |
SetValidationText | Sets a value that specifies the text of the message that your application displays if the value of a Field object does not satisfy the specified validation rule. |
Operations
CreateField | Called to create a field for a table. |
CreateIndex | Called to create an index for a table. |
DeleteField | Called to delete a field from a table. |
DeleteIndex | Called to delete an index from a table. |
RefreshLink | Updates the connection information for an attached table. |
CDaoTableDef Overview | Base Class Members | Hierarchy Chart