AdoRelationServer:ClearRelation()

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoRelationServer Class > Methods >

AdoRelationServer:ClearRelation()

Previous pageReturn to chapter overviewNext page

Purpose

Clear a relation (or all relations) held by this server to other servers.

 

Prototype

METHOD ClearRelation( nRelation )    

 

 

Argument(s)

nRelation        The number of the relation to clear.  If omitted, all relations are cleared.

 

Return

LOGIC        TRUE if successful; otherwise, it returns FALSE.

 

The server will send a NOTIFYCLEARRELATION to the child/children. This will automatically reset the children to show all records and will send a NOTIFYRELATIONCHANGE to all their children.

 

See Also

AdoRelationServer, AdoRelationServer:SetRelation(), AdoRelationServer:SetSelectiveRelation()