Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3    Statistic  


Returns value for label.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 6.1 Yes No No No Yes
MBS( "Addressbook.multivalue.valueForLabel"; label )   More


Parameter Description Example value
label The label to query. $label


Returns value or error.


Returns value for label.


Shows different emails:

Set Variable [$personID; Value:"637FA922-7A2B-4F9A-BFA3-023253D4A3D5:ABPerson"]
Set Variable [$r; Value:MBS( "Addressbook.record.valueForProperty"; $personID; "EmailProperty" )]
Set Variable [$w; Value:MBS( "Addressbook.multivalue.valueForLabel"; "EmailWorkLabel" )]
Set Variable [$h; Value:MBS( "Addressbook.multivalue.valueForLabel"; "EmailHomeLabel" )]
Set Variable [$o; Value:MBS( "Addressbook.multivalue.valueForLabel"; "OtherLabel" )]
Show Custom Dialog ["Emails"; "Work email: " & $w & ¶ & "Home email: " & $h & ¶ & "Other email: " & $o]
# there may be more than 3 labels!

See also

Blog Entries

Created 26th February 2016, last changed 26th February 2016

Addressbook.multivalue.valueForIdentifier   -   Addressbook.multivalue.values

Feedback: Report problem or ask question.

MBS Xojo Plugins