CDaoDatabase::DeleteRelation

Call this member function to delete an existing relation from the database object's Relations collection.

void DeleteRelation( 
   LPCTSTR lpszName  
);

Parameters

  • lpszName
    The name of the relation to delete.

Remarks

Afterwards, the relation no longer exists.

For related information, see the topic "Delete Method" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoDatabase Class

Hierarchy Chart

CDaoDatabase::CreateRelation

CDaoTableDef::Create

CDaoQueryDef::Create