Difference between revisions of "SetPhoneNumber"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

+
{{HelpFiles}}
  
 
====setPhoneNumber====
 
====setPhoneNumber====

Revision as of 07:50, 14 December 2011



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