I am building an app for data entry/editing and have a sqlite database table with a foreign key to another table with the related information
On loading a view I need an text input to show the lookup value of an id in a field and if it is edited show the new value, and then save the new id.
So I am looking for the best option for a input box dropdown to pick 1 item from up from up to 100 items and then store the id for that chosen value. Any suggestions for the best type of input to use. Also not sure what would be the most efficient way to create the list data for the input. Have been looking at lists, maps and custom objects but not sure which would be best to use. Have been looking for ideas through the forum but still not sure what is the best combination of input type and list data to use.
Being able to display more than one column in the dropdown list would be useful as well.
Thanks
On loading a view I need an text input to show the lookup value of an id in a field and if it is edited show the new value, and then save the new id.
So I am looking for the best option for a input box dropdown to pick 1 item from up from up to 100 items and then store the id for that chosen value. Any suggestions for the best type of input to use. Also not sure what would be the most efficient way to create the list data for the input. Have been looking at lists, maps and custom objects but not sure which would be best to use. Have been looking for ideas through the forum but still not sure what is the best combination of input type and list data to use.
Being able to display more than one column in the dropdown list would be useful as well.
Thanks