BtServer:SetSelectiveRelation()
<< Click to Display Table of Contents >>
BtServer:SetSelectiveRelation()
|
|
Purpose
Set a selective relation from this server to the child server
Prototype
METHOD SetSelectiveRelation ( oChild, uRelation, cRelation ) CLASS BtServer
Argument(s)
<oChild> the server attached to the child server must be specified as a server object.
If oChild is NIL all existing relations are cleared
<uRelation> the relation code block for the server.
<cRelation> when the relation is specified as a code block, a string version of the code block can be provided
as well; it is returned by the Relation() method.
Return
LOGIC TRUE if successful, otherwise FALSE
Description
Standard database operations are restricted to those records that match the relation. Sends a NotifyRecordChange message to the child server, if successful.
See Also
BtServer, BtServer:SetRelation(), BtServer:Relation()