Difference between revisions of "GetProjectQuestionnaireName"

From Catglobe Wiki
Jump to: navigation, search
(getProjectQuestionnaireName)
Line 4: Line 4:
 
====getProjectQuestionnaireName====
 
====getProjectQuestionnaireName====
  
Returns the name of the questionnaire specified by its id
+
Returns the qualified name of the questionnaire specified by its id
  
 
'''Syntax'''
 
'''Syntax'''
Line 23: Line 23:
  
 
print(pqName);
 
print(pqName);
 +
 +
//Output : "nguyen tan phong\phong questionnaire 1"
 +
  
 
'''Availability'''
 
'''Availability'''

Revision as of 11:16, 28 December 2011



getProjectQuestionnaireName

Returns the qualified name of the questionnaire specified by its id

Syntax

getProjectQuestionnaireName(id)

Arguments

id: is a numeric expression. It is the id of a questionnaire.

Return type

string

Example

string pqName = getProjectQuestionnaireName(1);

print(pqName);

//Output : "nguyen tan phong\phong questionnaire 1"


Availability

Version 5.2

getProjectQuestionnaireName (alternative)

Returns the name of the current questionnaire.

Syntax

getProjectQuestionnaireName()

Arguments

None

Return type

string

Example

string pqName = getProjectQuestionnaireName();

print(pqName);

Availability

Version 5.2