Page 1 of 1

CsPro's loadcase function for CAPI

Posted: April 20th, 2020, 12:09 am
by rgethan
I am trying to run the data entry application MyCAPI_Intro on a Samsung Android (A10), using the codes provided for occupation codes from a CsPro tutorial (easily found online). But, the device failed to successfully read the external file. I got the following message: "Occupation code 1111 NOT FOUND in occupation file '/storage/emulated/0/Dict/ISCO08.csdb'". However, the codes worked perfectly on Windows computers.

Here are the first few entries in the ISCO08 File:

1111Alderman
1112Administrator, city
1112Administrator, intergovernmental organization
1342Administrator, hospital
1345Academic, university: head of department or faculty
2111Aerodynamicist

Thanks,
Romeo

Re: CsPro's loadcase function for CAPI

Posted: April 20th, 2020, 7:44 am
by josh
Make sure that the directory layout of you application files on the Android device is the same as it was on Windows. With that error it sounds like it is not. It is looking for the lookup file outside the CSEntry directory.

Re: CsPro's loadcase function for CAPI

Posted: April 20th, 2020, 8:24 am
by rgethan
Many thanks; this solves my problem.
Romeo