09-01-2008 08:40 AM
Hello Guys,
I would like to select cell contains from a table using a selection box, and therefore rebuilt a new array based on my selection.
my table is having one colum of databyte, in total 26 rows.So let say that I just want extract few elements(6elements) from this column and rebuild a new table of those selected elements(6).
Is there any easy way to do that?
Thanks in advance for the help.
Regards,
09-01-2008 08:43 AM
Hi BENIO,
you can use the "Array subset" function.
Mike
09-01-2008 09:05 AM
Thanks for the reply but with array subset I cannot do multiple selection?
I would like to combine a selector box with the respective row and build a new table with only selected rows.
Any idea?
09-01-2008 09:13 AM
Hi BENIO,
you can read the property "selected ...". Go through a loop and index the selected rows. Use the index array function and autoindey the selected rows input not the table input. Wire the result to the other side of the loop and you have your new array.
Hope it helps.
Mike
09-01-2008 09:15 AM
my selection is done in a random way.
09-01-2008 09:21 AM
Hi BENIO,
this should be no problem. Do you have a table or a multicoulmn listbox?
Mike
09-01-2008 09:30 AM
Hi Mike,
I am just using a table with one column
09-01-2008 09:35 AM
Hi BENIO,
see the attached example please.
Hope it helps.
Mike
09-01-2008 11:23 AM
Hello Mike,
Can you tell me how it works?
I cannot select radomly the value,let'ssay I want to select A, K, M and O,so I have an array of AKMO.How to do it?
Thanks
09-01-2008 01:37 PM
Hi BENIO,
afaik, this is not possible with a table, but i´m not 100% sure. You can definitively do it with a multicolumn listbox.
Hope it helps.
Mike