GetProjectQuestionnaireName

From Catglobe Wiki
Revision as of 03:28, 13 May 2022 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[OBSOLETE - Please use GetProjectQuestionnaireNameByResourceId, Resource_getResourceName, or Questionnaire_current().QualifiedName. More detail at ConversionMethods ]

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 qualified name of the questionnaire of the resource project questionnaire context

Syntax

getProjectQuestionnaireName()

Arguments

None

Return type

string

Example

string pqName = getProjectQuestionnaireName();

print(pqName);

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

Availability

Version 5.2