Lookup error from pre-loaded file

Dear All,

I have a problem about lookup with preloaded .csv file. Please see my
scenario below that data were I uploaded as pre-loaded .csv:

··· -------------------------------------------------------------------------------------------------------------------- REGION SR_Pcode TOWN TS_Pcode Bago (East) MMR007 Htantabin MMR007014 Bago (West) MMR008 Minhla MMR008009 Magway MMR009 Minhla MMR009013 Yangon MMR013 Htantabin MMR013006 -------------------------------------------------------------------------------------------------------------------- In my table, 2 pairs of town name are same spelling. But those are the *different location, different region, and different town_code* on the ground. Now, I really need to write syntax to autocomplete SR_Pcode in next hidden field (calculation row) when data collector select one of REGION, autocomplete TS_Pcode in next hidden field (calculation row) when data collector select one of TOWN.

I tried again and again about syntax in xlsform but I didn't get correct
result yet.
In ODK collect's first form, I chosen;
REGION: Bago (West)
TOWN: Minhla

In ODK collect's second form, I choose;
REGION: Magway
TOWN: Minhla

But I got wrong result after upload to server -- SR_Pcode are correct but
one of TS_Pcode is wrong . Please see below as result;

REGION SR_Pcode TOWN TS_Pcode
Bago (West) MMR008 Minhla
MMR008009
Magway
MMR009 Minhla MMR008009


WHY? Please help me with correct syntax to get correct result.

Hi there,

We'll be able to help better if you attach a small 2-3 question form and a
small data set that shows this problem.

Thanks,

Yaw

··· On Mon, Feb 20, 2017 at 12:00 AM, July Ko Ko wrote:

Dear All,

I have a problem about lookup with preloaded .csv file. Please see my
scenario below that data were I uploaded as pre-loaded .csv:


REGION SR_Pcode TOWN TS_Pcode
Bago (East) MMR007 Htantabin MMR007014
Bago (West) MMR008 Minhla MMR008009
Magway MMR009 Minhla MMR009013
Yangon MMR013 Htantabin MMR013006


In my table, 2 pairs of town name are same spelling. But those are the different
location, different region, and different town_code
on the ground. Now,
I really need to write syntax to autocomplete SR_Pcode in next hidden field
(calculation row) when data collector select one of REGION, autocomplete
TS_Pcode in next hidden field (calculation row) when data
collector select one of TOWN.

I tried again and again about syntax in xlsform but I didn't get correct
result yet.
In ODK collect's first form, I chosen;
REGION: Bago (West)
TOWN: Minhla

In ODK collect's second form, I choose;
REGION: Magway
TOWN: Minhla

But I got wrong result after upload to server -- SR_Pcode are correct but
one of TS_Pcode is wrong . Please see below as result;


REGION SR_Pcode TOWN TS_Pcode
Bago (West) MMR008 Minhla
MMR008009
Magway
MMR009 Minhla MMR008009



WHY? Please help me with correct syntax to get correct result.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.