CRecordset::GetTableName
Gets the name of the SQL table on which the recordset's query is based.
const CString& GetTableName( ) const;
Возвращаемое значение
A const reference to a CString that contains the table name, if the recordset is based on a table; otherwise, an empty string.
Заметки
GetTableName is only valid if the recordset is based on a table, not a join of multiple tables or a predefined query (stored procedure). The name is read-only.
![]() |
---|
Call this member function only after calling Open. |
Требования
Header: afxdb.h