Dela via


CDaoRecordset::GetName

Call this member function to retrieve the name of the recordset.

CString GetName( );

Return Value

A CString containing the name of the recordset.

Remarks

The name of the recordset must start with a letter and can contain a maximum of 40 characters. It can include numbers and underscore characters but can't include punctuation or spaces.

For related information, see the topic "Name Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoRecordset Class

Hierarchy Chart

CDaoRecordset::GetDefaultDBName

CDaoRecordset::GetDefaultSQL

CDaoRecordset::GetSQL

CDaoRecordset::GetType

Other Resources

CDaoRecordset Members