is there any solution to write into csv media file???
I have a csv media file with records (which are shown in a select one list)
but after i choose any of the coices i want to write a flag to csv file
(from 0 to 1) so next time will not appeared... in the list
ยทยทยท
On Thu, Nov 13, 2014 at 7:13 AM, Panos Papadatos wrote:
Hi,
is there any solution to write into csv media file???
I have a csv media file with records (which are shown in a select one
list) but after i choose any of the coices i want to write a flag to csv
file (from 0 to 1) so next time will not appeared... in the list
This can't be done in CSV file but there is a work around to what you're
trying to achieve. You should:
Try making a list of choices in your ODK forms through a repeat group.
(using indexed-repeat store all values i.e. 1, 2, 3, ... upto max number of
choices).
Using filter on your question itemset part:
<itemset nodeset= "instance('name')/root/item[(filter !=
/Indexed-repeat/choice1) and ((filter != /Indexed-repeat/choice2) and
(filter != /Indexed-repeat/choice3) ... up to max possible
choices/indexes)]"
This however will be a good solution if the choices are terribly large.