Navigation:  DataServer Classes > DaoQuery Class >

DaoQuery:SetSelectiveRelation() Method

Previous pageReturn to chapter overviewNext page

Purpose

Set a relation from this server to the child server; standard database operations are restricted to those records that match the relation.

 

Parameters

oChild The server attached to the child server must be specified as a DaoQuery object.  If omitted, all relations for this server are removed (the recommended way of doing this is the ClearRelations() method).
uFieldNameThe field name representing the relation for the server. You can also supply an array of field names, when more than one field is used to set the relation.

cExpression        (Optional) text representation of the relation

 

Returns

A logical value TRUE when successful, otherwise FALSE

 

Description

Sends a NotifyRecordChange message to the child server, if successful.  This method is equivalent to the SetRelation() method.

 

Class

DaoQuery        

 

See Also

DaoQuery:ClearRelation()

DaoQuery:SetSelectiveRelation()