adding fom text box to combolist

madhatterpete
12-21-2003, 11:29 PM
is there a way to add each line frm a textbox to a seperate combolist item?
so say my textbox was a multi line and had the lines

monday
tuesday
wednesday

is there anway i can get these from the textbox into the combolist as seperate items

please help

shanil05
12-22-2003, 04:54 AM
you could use a little bit of string manipulation techniques - the multiline characters are separated by the carriage return & linefeed character(vbcrlf)...
I'd say loop through the string and separate each item using the instr function and for each item just add it to the combobox using the additem method

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum