Re: vb6 multicol combo
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 11:56:42 -0700
"arpi shah" <arpishah123@xxxxxxxxx> wrote in message
news:emf$52ErHHA.4300@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have trying to load data into combobox by using
temp = rs!id
combo.additem rs!name,temp
i am not sure why does it gives me error that invalid procedure or call?
if i try putting brackets for example
combo.additem (rs!name,temp)
error pop up as = is expcted.
what am i doing wrong?
could anyone please help me.
The combobox that ships with VB has no support, at all, for multiple
columns.
What you seem to be trying to do is set the ItemData property
With combo
.AddItem rs!name
.ItemData(.NewIndex) = temp
End With
--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
.
- References:
- vb6 multicol combo
- From: arpi shah
- vb6 multicol combo
- Prev by Date: compile error
- Next by Date: Re: compile error
- Previous by thread: Re: vb6 multicol combo
- Next by thread: Re: vb6 Multicolumn combo box
- Index(es):
Relevant Pages
|