SetPhoneNumber

From Catglobe Wiki
Revision as of 07:50, 14 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



setPhoneNumber

Sets the phone number of the current questionnaire answer sheet’s user

Syntax

setPhoneNumber(phone_number_type, new_phone_number, country_code)

Arguments

phone_number_type. Is a numeric (non-decimal) expression. It must be one of the built-in constants:

PhoneNumber_Type_NotIdentified, PhoneNumber_Type_Home1, PhoneNumber_Type_Home2, PhoneNumber_Type_Mobile1, PhoneNumber_Type_Mobile2, PhoneNumber_Type_Business1, PhoneNumber_Type_Business2, PhoneNumber_Type_HomeFax,     PhoneNumber_Type_BusinessFax

new_phone_number: Is a string expression

country_code: Is a numeric (non-decimal) expression.

Return type

empty

Examples

setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);

Availability

Version 4.8

Reference:

http://help4.catglobe.com/4436.htm