PC Review


Reply
Thread Tools Rate Thread

Additem to ComboBox using the Column Property

 
 
=?Utf-8?B?dnF0aG9tZg==?=
Guest
Posts: n/a
 
      28th Sep 2007
Hi I have been trying to add to a combobox column using
ComboBox1.Column(0)=.Fields(0).value
ComboBox1.Column(1)=.Fields(1).value
but I keep geting an error can someone please point in the right direction.
TIA
Charles
 
Reply With Quote
 
 
 
 
JW
Guest
Posts: n/a
 
      28th Sep 2007
ComboBox1.AddItem .Fields(0).Value
ComboBox1.List(ComboBox1.ListCount - 1, 1) = .Fields(1).Value

vqthomf wrote:
> Hi I have been trying to add to a combobox column using
> ComboBox1.Column(0)=.Fields(0).value
> ComboBox1.Column(1)=.Fields(1).value
> but I keep geting an error can someone please point in the right direction.
> TIA
> Charles


 
Reply With Quote
 
=?Utf-8?B?dnF0aG9tZg==?=
Guest
Posts: n/a
 
      28th Sep 2007
Thanks I should of tried something like that because it's just like using the
listview
regards
Charles

"JW" wrote:

> ComboBox1.AddItem .Fields(0).Value
> ComboBox1.List(ComboBox1.ListCount - 1, 1) = .Fields(1).Value
>
> vqthomf wrote:
> > Hi I have been trying to add to a combobox column using
> > ComboBox1.Column(0)=.Fields(0).value
> > ComboBox1.Column(1)=.Fields(1).value
> > but I keep geting an error can someone please point in the right direction.
> > TIA
> > Charles

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AddItem to Worksheet ComboBox Paul D Byrne Microsoft Excel Programming 2 25th Jul 2008 04:28 AM
combobox column property or dlookup =?Utf-8?B?Y3J0b3BoZXI=?= Microsoft Access Forms 2 14th Mar 2007 02:08 AM
combobox additem action =?Utf-8?B?SmFjaw==?= Microsoft Access VBA Modules 3 9th Apr 2005 10:51 PM
combobox additem masterphilch Microsoft Excel Programming 2 25th Oct 2004 11:04 PM
Multiple Column ComboBox using Additem Jimmi Microsoft Excel Programming 2 24th Sep 2003 02:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:04 AM.