Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

Addressbook.group.addSubgroup

Adds a subgroup to another group.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Addressbook 3.1 Yes No No No Yes

Deprecated

This function was deprecated. Use Contacts functions instead.

MBS( "Addressbook.group.addSubgroup"; GroupID; SubGroupID )   More

Parameters

Parameter Description Example
GroupID The unique ID for the target group. $groupID
SubGroupID The unique ID for the subgroup. $subgroupID

Result

Returns 1 for success or 0 for failure on Mac. Returns OK on success and error on failure on iOS.

Description

Adds a subgroup to another group.
If the group argument is already part of the group, this method does nothing and returns Failure. If adding the group would create a recursion, this method also does nothing and returns Failure. (For example, if the group Animal Lovers is in Dog Lovers, and you add Dog Lovers to Animal Lovers, that would create a recursion, which this method won't allow.)

See also

Created 18th August 2014, last changed 6th November 2017


Addressbook.group.addMember   -   Addressbook.group.members

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat