Page 1 of 1

Variable(s) length do not agree with dictionary ID length

Posted: February 22nd, 2020, 3:34 pm
by Theodore NIKIEMA
Hi every body, i need a help for this error:

" ERROR(INTERVIEWER_MENU, 1111): Variable(s) length do not agree with dictionary ID length"

when i'm runing this request:

"else
loadcase(HOUSEHOLD_DICT, INTERVIEWER_MENU);
LaunchHouseholdProgram();
"
thanks in advance.

Re: Variable(s) length do not agree with dictionary ID length

Posted: February 23rd, 2020, 10:24 pm
by josh
That error means that the length of the variable you are passing to loadcase does not match the length of the id-items for the dictionary you are trying to load the case from. In your case the variable INTERVIEWER_MENU is a different length from the id-items of HOUSEHOLD_DICT. Loadcase works by taking the value you pass it and looking for a case whose id-items match that value. If the lengths are different the values will never match. So either adjust the length of the variable INTERVIEWER_MENU or modify the id-items of HOUSEHOLD_DICT so that the total length matches that of INTERVIEWER_MENU.

By the way, next time don't post a question like this under the "News" section. "Entry" might be more appropriate.

Re: Variable(s) length do not agree with dictionary ID length

Posted: February 24th, 2020, 10:53 am
by Theodore NIKIEMA
Hi Josh, thank you for reply.