Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Addressbook.multivalue.valueForLabel

Returns value for label.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 6.1 Yes No Yes, macOS only No Yes

MBS( "Addressbook.multivalue.valueForLabel"; label )

Parameters

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

Result

Returns value or error.

Description

Returns value for label.

Examples

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


Addressbook.multivalue.valueForIdentifier   -   Addressbook.multivalue.values

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins