Partilhar via


CDaoTableDef::SetName

Call this member function to set a user-defined name for a table.

void SetName( 
   LPCTSTR lpszName  
);

Parameters

  • lpszName
    A pointer to a string expression that specifies a name for a table.

Remarks

The name must start with a letter and can contain a maximum of 64 characters. It can include numbers and underscore characters but cannot include punctuation or spaces.

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

Requirements

Header: afxdao.h

See Also

Reference

CDaoTableDef Class

Hierarchy Chart

CDaoTableDef::RefreshLink

CDaoTableDef::SetConnect

Other Resources

CDaoTableDef Members