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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    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 Yes, macOS only No Yes

MBS( "Addressbook.multivalue.addAddress"; label; street; zip; city; country; countrycode; state )

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


Addressbook.multivalue.New   -   Addressbook.multivalue.addValue

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos