Hello everyone,
I am facing an issue with CSPro version 8.0. I want each enumerator to enter an ID and password before proceeding with the rest of the questionnaire.
To achieve this, I created an external dictionary using the Excel to CSPro option, which contains two variables: ID and Pass_word. Then, in the main dictionary (where I created the ID and password variables), I used the loadcase function as follows:
PROC MOT_DE_PASSE
if
loadcase(MOT_DICT, IDENTIFIANT, MOT_DE_PASSE) = 0 then
errmsg("The code is not valid for user %l", IDENTIFIANT);
reenter;
else
move to NUM_MENAGE;
endif;
However, this gives me the following error:
ERROR(5): 'MOT_DICT' is not a declared variable or is a misspelled dictionary entry
ERROR(8): PostProc clause expected
How can I fix this issue? Any help would be greatly appreciated.
Issue with loadcase function for user authentication in CSPro 8.0
-
- Posts: 1883
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Issue with loadcase function for user authentication in CSPro 8.0
Did you add your dictionary, MOT_DICT, to your application as an external dictionary?
https://www.csprousers.org/help/CSPro/a ... ation.html
CSPro does not recognize the symbol MOT_DICT, so it likely has not been added to your application.
https://www.csprousers.org/help/CSPro/a ... ation.html
CSPro does not recognize the symbol MOT_DICT, so it likely has not been added to your application.
Re: Issue with loadcase function for user authentication in CSPro 8.0
Thank you Grégory Martin for your helpful responses! Your support really helped me solve my issue.