Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combobox list to datatable
#1
Not Solved
I want to write a script for getting the combobox list items into datatable. I have succeeded so far, can get data but all the list is coming in one cell, i want them to append the list in different cell, one after the other.
I did tried to change the script but this time its displaying only one item of combobox.
If anyone can help, pl do so

many thanx
Reply
#2
Not Solved
Are you using a loop? If yes, would you please paste it so that i can modify it ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
use

Code:
my_Array=Split(SwfComboBox("xxxxxx").GetContent,chr(10))

to get an array with the entries from the combobox
Reply
#4
Not Solved
Berula -
How do you know it is a swfcombobox? it could be a weblist as well, in which case the method would be different. You may have to wait until the questioner posts more details which will help everyone to stay not confused.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#5
Not Solved
It also works on a weblist. The important point ist to split with chr(10).
Reply
#6
Not Solved
You wouldnt wait..would you Smile. Well the objective of me asking you to wait was to let you know that, from the question, logically the questioner has been able to get the items but is not able to write it correctly on to the cell of the datatable. So, a wild guess, in this case, would be that, the loop is writing to the same cell and is not being iterated.
I have been able to plough this far and i would bet on it. However, we need to rein on our instinct and wait for the questioner to post briefly which will help one and all.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare second web list value according to the first web list value roselin6 1 2,638 10-07-2015, 09:14 PM
Last Post: supputuri
Sad Getting Junk value in Combobox. Pratik30d 0 1,511 02-21-2014, 10:40 AM
Last Post: Pratik30d
  Unable to identify an item in a combobox katlu 2 2,552 09-27-2008, 01:53 AM
Last Post: katlu

Forum Jump:


Users browsing this thread: 1 Guest(s)