Hello.
I was wondering if loadcase function doesn't work through the menu program.
I have three dictionaries: menu, household, and individual.
When I ran the individual dictionary directly, I successfully got the data from the household dictionary to the individual dictionary.
When I ran individual dictionary through the menu program, however, the individual dictionary was not able to get the data from household dictionary.
Am I missing something?
Best regards.
loadcase function through the menu program
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: loadcase function through the menu program
Dear Nikola;
First, add your Household dictionary as external dictionary in your individual application and then use setfile function https://www.csprousers.org/help/CSPro/s ... ction.html. After this use LoadCase Function.
I hope it works.
Best.
a.
First, add your Household dictionary as external dictionary in your individual application and then use setfile function https://www.csprousers.org/help/CSPro/s ... ction.html. After this use LoadCase Function.
I hope it works.
Best.
a.
Re: loadcase function through the menu program
Thank you very much for your advice.
May I ask for your additional advice? Unfortunately, it is still not working with the menu program. It is only working when I run the individual dictionary directly.
I would like to note that the household dictionary is added as an external dictionary.
Please see the below logic attached.
May I ask for your additional advice? Unfortunately, it is still not working with the menu program. It is only working when I run the individual dictionary directly.
I would like to note that the household dictionary is added as an external dictionary.
Please see the below logic attached.
- Attachments
-
- Setfile function.png (26.07 KiB) Viewed 2229 times
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: loadcase function through the menu program
Dear Nikola;
You are using .pff file instead of the data file.
setfile(dictionaryname, "../Datafolder/datafilename.ext");
Best regards.
a.
You are using .pff file instead of the data file.
setfile(dictionaryname, "../Datafolder/datafilename.ext");
Best regards.
a.
Re: loadcase function through the menu program
Thank you again for your reply.
I added the code:
setfile(HOUSEHOLD_DICT, "../Household/Household.dat");
Does ".ext" is meaning to ".dat" in this case?
Loadcase function is working when I run the individual dictionary directly, but it is still not working with the menu program.
Note that using lookup files with loadcase function is operating properly. Only getting answers from the household dictionary to the individual dictionary is not working in case I run the individual dictionary by menu program.
It seems there is something more to fix the problem.
I already added my Household dictionary as an external dictionary in my Individual application; I added it by code in menu's PROC GLOBAL. Please see the below.
I added the code:
setfile(HOUSEHOLD_DICT, "../Household/Household.dat");
Does ".ext" is meaning to ".dat" in this case?
Loadcase function is working when I run the individual dictionary directly, but it is still not working with the menu program.
Note that using lookup files with loadcase function is operating properly. Only getting answers from the household dictionary to the individual dictionary is not working in case I run the individual dictionary by menu program.
It seems there is something more to fix the problem.
I already added my Household dictionary as an external dictionary in my Individual application; I added it by code in menu's PROC GLOBAL. Please see the below.
- Attachments
-
- 11.png (69.29 KiB) Viewed 2215 times
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: loadcase function through the menu program
Dear Arshad,
I sent an email. Thanks a lot.
Best regards.
I sent an email. Thanks a lot.
Best regards.