PC Review


Reply
Thread Tools Rate Thread

display multiple columns in combo box?

 
 
=?Utf-8?B?RmlwcA==?=
Guest
Posts: n/a
 
      2nd Jun 2007
I have a combo box with several columns.
When I drop the box down I can see all the columns. I am trying to get it so
that they are all displayed in the box before I drop it down and after I
select the box that I want.
 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      2nd Jun 2007
Fipp wrote:
> I have a combo box with several columns.
> When I drop the box down I can see all the columns. I am trying to
> get it so that they are all displayed in the box before I drop it
> down and after I select the box that I want.


Can't do it. You can fake it by adding TextBoxes with ControlSource expressions
like...

=ComboBoxName.Column(n)

....where n is the zero based column postion you want to display.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 
Reply With Quote
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      2nd Jun 2007
Hi

The combo will display the 1st column with a width of more than 0 on the
form and will store the bound column.

You can insert text boxes on a form and set the control source for each box
to the combo column

=ComboName.Column(0)
=ComboName.Column(1)
=ComboName.Column(2)
=ComboName.Column(3)
Etc
Etc

--
Wayne
Manchester, England.



"Fipp" wrote:

> I have a combo box with several columns.
> When I drop the box down I can see all the columns. I am trying to get it so
> that they are all displayed in the box before I drop it down and after I
> select the box that I want.

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      2nd Jun 2007
Modify the following example to suit:

Change the rowsource of your combobox from
SELECT EmployeeID, FirstName, LastName FROM Employees;
to
SELECT LastName & ", " & FirstName AS EmpName, EmployeeID FROM Employees;

Change the bound column to 2.
Change the column widths to 2";0"

--
Joan Wild
Microsoft Access MVP
"Fipp" <(E-Mail Removed)> wrote in message news:8D4DEDBE-F1C4-469A-879D-(E-Mail Removed)...
>I have a combo box with several columns.
> When I drop the box down I can see all the columns. I am trying to get it so
> that they are all displayed in the box before I drop it down and after I
> select the box that I want.

 
Reply With Quote
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      2nd Jun 2007
See this article:

http://www.mvps.org/access/forms/frm0058.htm
--

Ken Snell
<MS ACCESS MVP>

"Fipp" <(E-Mail Removed)> wrote in message
news:8D4DEDBE-F1C4-469A-879D-(E-Mail Removed)...
>I have a combo box with several columns.
> When I drop the box down I can see all the columns. I am trying to get it
> so
> that they are all displayed in the box before I drop it down and after I
> select the box that I want.



 
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
display multiple columns in combo and enter specific column intofield bjwheeler@gmail.com Microsoft Access Forms 1 9th Oct 2008 07:00 AM
display multi columns after combo box selection Silvio Microsoft Access Forms 3 10th Jul 2008 10:18 PM
Want a combo box to display multiple columns after user chooses =?Utf-8?B?ZGFuZnR6?= Microsoft Access Forms 5 26th Sep 2007 02:06 PM
Display all columns of a combo box =?Utf-8?B?UGVn?= Microsoft Access Queries 2 19th Nov 2005 09:36 PM
DISPLAY 2 COLUMNS IN A COMBO BOX =?Utf-8?B?TXJzLiBLaW0=?= Microsoft Access Forms 2 1st Aug 2005 03:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:40 PM.