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.searchElementForConjunction
Joins several search elements.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Addressbook | 5.4 | Yes | No | No | No | No |
Deprecated
This function was deprecated. Use Contacts functions instead.
Parameters
| Parameter | Description | Example |
|---|---|---|
| conjunction | The logical operator with which to combine the search elements. Can be "AND" or "OR". | "AND" |
| SearchElements | List of search element IDs. |
Result
Returns ID or error.
Description
Joins several search elements.Returns a compound search element, created by combining the search elements in an array with the given conjunction.
Examples
Find people with last name and email matching:
Set Variable [$e1; Value:MBS( "Addressbook.searchElementForProperty"; "person"; "LastNameProperty"; ""; ""; "Schmitz"; "ContainsSubStringCaseInsensitive" )]
Set Variable [$e2; Value:MBS( "Addressbook.searchElementForProperty"; "person"; "EmailProperty"; ""; ""; "monkeybread"; "ContainsSubStringCaseInsensitive" )]
Set Variable [$e; Value:MBS( "Addressbook.searchElementForConjunction"; "and"; $e1 & ¶ & $e2 )]
Set Variable [$records; Value:MBS( "Addressbook.recordsMatchingSearchElement"; $e)]
Set Variable [$record; Value:GetValue($records; 1)]
Set Variable [$name; Value:MBS( "Addressbook.record.displayname"; $record )]
Show Custom Dialog [$name]
See also
- Addressbook.record.displayname
- Addressbook.recordsMatchingSearchElement
- Addressbook.searchElementForProperty
Blog Entries
Created 26th October 2015, last changed 26th October 2015
Addressbook.save - Addressbook.searchElementForProperty
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins