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: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

Addressbook.multivalue.addAddress

Adds an address and its label to a multivalue list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Addressbook 5.1 Yes No No No Yes
MBS( "Addressbook.multivalue.addAddress"; label; street; zip; city; country; countrycode; state )   More

Parameters

Parameter Description Example value
label The label to associate with the value. "Work"
street The street for the address. Can be empty if unknown. "Main Street 123"
zip The zip code for the address. Can be empty if unknown. "12345"
city The city for the address. Can be empty if unknown. "Springfield"
country The country for the address. Can be empty if unknown. "Germany"
countrycode The country code for the address. Can be empty if unknown. "US"
state The state for the address. Can be empty if unknown. "CA"

Result

Returns identifier or error.

Description

Adds an address and its label to a multivalue list.
Only useful for addresses.
Returns the new identifier if value is added successfully; otherwise, nil.
Values which are empty text are not added to the address.

Examples

Creates a new address:

MBS( "Addressbook.multivalue.addAddress"; "AddressHomeLabel"; "Main Street 123"; "12345"; "Springfield"; "USA" )

Adds address without zip code:

MBS( "Addressbook.multivalue.addAddress"; "Work"; "Hlíðarbyggð"; ""; "Garðabær"; "Island"; ""; "IS" )

See also

Created 7th March 2015, last changed 7th March 2015


Addressbook.multivalue.New   -   Addressbook.multivalue.addValue

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins