Hey All,
I am having a horrible time trying to get 3 unbound text boxes to insert into one list box with three different columns.
I am essentially setting the information in the unbound text boxes to strings and then trying to add the strings into the value list, list box.
For example purposes let's act like I am only working with two unbound textboxes:
Dim str1 as string
Dim str2 as string
str1 = me.text1
str2 = me.text2
'''Now how do I get str1 into the first column of the list box and str2 in to the 2nd column in the list box?
'''I have something like this:
me.lstbox.column(1).additem(str1)
me.lstbox.column(2).additem(str2)
I am obvioulsy missing something, but cannot figure out the correct syntax.
Thanks in advance for all of your help!!
Tallman
I am having a horrible time trying to get 3 unbound text boxes to insert into one list box with three different columns.
I am essentially setting the information in the unbound text boxes to strings and then trying to add the strings into the value list, list box.
For example purposes let's act like I am only working with two unbound textboxes:
Dim str1 as string
Dim str2 as string
str1 = me.text1
str2 = me.text2
'''Now how do I get str1 into the first column of the list box and str2 in to the 2nd column in the list box?
'''I have something like this:
me.lstbox.column(1).additem(str1)
me.lstbox.column(2).additem(str2)
I am obvioulsy missing something, but cannot figure out the correct syntax.
Thanks in advance for all of your help!!
Tallman