Difference between revisions of "SetPhoneNumber"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:User_Functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
+
 
 +
==== 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,
  
====setPhoneNumber====
+
PhoneNumber_Type_Mobile1,
  
Sets the phone number of the current questionnaire answer sheet’s user
+
PhoneNumber_Type_Mobile2,
  
'''Syntax'''
+
PhoneNumber_Type_Business1,
  
setPhoneNumber(''phone_number_type, new_phone_number, country_code'')
+
PhoneNumber_Type_Business2,  
  
'''Arguments'''
+
PhoneNumber_Type_HomeFax,
  
''phone_number_type''. Is a numeric (non-decimal) expression. It must be one of the built-in constants:
+
PhoneNumber_Type_BusinessFax
  
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
  
''new_phone_number'': Is a string expression
+
''country_code'': Is a numeric (non-decimal) expression.
  
''country_code'': Is a numeric (non-decimal) expression.
+
'''Return type'''  
  
'''Return type'''
+
empty
  
empty
+
'''Examples'''
  
'''Examples'''
+
setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);
  
setPhoneNumber(PhoneNumber_Type_Home1, "212277", 358);
+
'''Availability'''
  
'''Availability'''
+
Version 4.8
  
Version 4.8
+
'''Reference:'''
  
'''Reference:'''
+
http://help4.catglobe.com/4436.htm __NOTOC__ <!-- imported from file: 739.htm-->
  
http://help4.catglobe.com/4436.htm
+
[[Category:User_Functions]]
__NOTOC__
 
<!-- imported from file: 739.htm-->
 

Revision as of 10:10, 13 February 2012



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