|
| WM20 Android: mult-selection list boxes |
| Iniciado por guest, 27,oct. 2015 11:38 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 27,octubre 2015 - 11:38 |
Hi All,
I am trying to link a multi-selection list box with a file item, but can't work out how to save and retrieve the selections. The list box gets data from a query and is supposed to store an ID number for each selection. I have tried linking to a text field, and although the box shows a multi-selection, only the first selection in the box is saved.
What am I missing please?
Cheers
Pete |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,octubre 2015 - 12:18 |
Hi Peter,
AFAIK, there is no way to link a multiselection anything the way you are describing. The closest is the possibility to link a multiple checkbox to an ARRAY o items in the files.
So you will need some code.
If the list has a limited number of choices, then you can reuse some code available in WXEDM (made for multiple checboxes): I created a function that transforms it in binray values (1/2/4/8/....) and back.
If the list can have ANY number of choices, then you need a secondary file
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 27,octubre 2015 - 17:28 |
Thanks Fabrice, that was the conclusion I was starting to draw!
Cheers
Pete |
| |
| |
| | | |
|
| | | | |
| | |
|