Difference between revisions of "SetPhoneNumber"

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

Revision as of 05:58, 25 October 2013



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:

<a href="http://help4.catglobe.com/4436.htm">http://help4.catglobe.com/4436.htm</a> _