How to search a form by an ID

odk-x
#1

Hi.
ODK2.0. Could anyone tell me that search a form record by an ID on tablet.
Thanks.

0 Likes

#2

Hi @nsthakuri,

Can you tell us a bit more about the search? Are you trying to find the particular id in tables? Or Survey? Or as the response to a question? Or...?

Best,
Caroline

0 Likes

#3

There could be hundreds of records on tablet which is identified by record ID. Sometime it could be more time consuming to lookup through each record. Is there way to search record by ID or something. Here, 102,112,114, and 115 are record IDs.
Thanks.

0 Likes

#4

@nsthakuri,

I don't know a way to search in survey, but you might be able to sort the instances. I am not sure the syntax for that (@linl33, any suggestions?).

Best,
Caroline

0 Likes

#5

There isn't an easy way of adding a search box to that particular page in Survey.

I would use Tables to search for the instance instead. We have an example that show cases this feature of Tables, see https://docs.opendatakit.org/odk-x/hope-study-tour-existing-client/

2 Likes

#6

Thanks @linl33,
The reference link is very helpful. We add search functionality in ODK table.
Thanks.

0 Likes