A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combo Boxes - DISPLAYING multiple fields after choice is made



 
 
Thread Tools Display Modes
  #1  
Old March 17th, 2010, 02:50 PM posted to microsoft.public.access.forms
PHS
external usenet poster
 
Posts: 7
Default Combo Boxes - DISPLAYING multiple fields after choice is made

For the life of me, I can NOT get my combo box to DISPLAY multiple (3) fields
(other than the bound/control field) after a choice is made in the combo box
pulldown. A user first picks an item in another text box, which runs a
"refresh contol" macro for the combo box in question (and the combo box has
an imbedded query that "pulls" the data for the 3 fields - then a choice can
be made in the combo box, which it allows for, but does NOT display the other
two fields. I don't necessarily need to store the data for the other two
fields/columns, just display them (and store just the first/bound column).
Help?! Thanks in advance.
  #2  
Old March 17th, 2010, 03:27 PM posted to microsoft.public.access.forms
ghetto_banjo
external usenet poster
 
Posts: 325
Default Combo Boxes - DISPLAYING multiple fields after choice is made

I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.


or setup a listbox to display the rest of the data after a choice is
made in the combobox.


  #3  
Old March 17th, 2010, 04:03 PM posted to microsoft.public.access.forms
J_Goddard via AccessMonster.com
external usenet poster
 
Posts: 221
Default Combo Boxes - DISPLAYING multiple fields after choice is made

Remember that the column numbering is "0" based, so columns 2 and 3 are .
column(1) and .column(2)

John


ghetto_banjo wrote:
I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.

or setup a listbox to display the rest of the data after a choice is
made in the combobox.


--
John Goddard
Ottawa, ON Canada
jrgoddard at cyberus dot ca

Message posted via http://www.accessmonster.com

  #4  
Old March 17th, 2010, 04:51 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Combo Boxes - DISPLAYING multiple fields after choice is made

Concatenate the fields like this --
SELECT SomeID, [FName] & " " & [LName] & " - " & [Dept] FROM UrTable ORDER
BY [LName], [FName];

--
Build a little, test a little.


"J_Goddard via AccessMonster.com" wrote:

Remember that the column numbering is "0" based, so columns 2 and 3 are .
column(1) and .column(2)

John


ghetto_banjo wrote:
I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.

or setup a listbox to display the rest of the data after a choice is
made in the combobox.


--
John Goddard
Ottawa, ON Canada
jrgoddard at cyberus dot ca

Message posted via http://www.accessmonster.com

.

  #5  
Old March 17th, 2010, 08:11 PM posted to microsoft.public.access.forms
PHS
external usenet poster
 
Posts: 7
Default Combo Boxes - DISPLAYING multiple fields after choice is made

thanks for the ideas

"ghetto_banjo" wrote:

I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.


or setup a listbox to display the rest of the data after a choice is
made in the combobox.


.

  #6  
Old March 17th, 2010, 08:12 PM posted to microsoft.public.access.forms
PHS
external usenet poster
 
Posts: 7
Default Combo Boxes - DISPLAYING multiple fields after choice is made

thanks for the reminder/tip...

"J_Goddard via AccessMonster.com" wrote:

Remember that the column numbering is "0" based, so columns 2 and 3 are .
column(1) and .column(2)

John


ghetto_banjo wrote:
I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.

or setup a listbox to display the rest of the data after a choice is
made in the combobox.


--
John Goddard
Ottawa, ON Canada
jrgoddard at cyberus dot ca

Message posted via http://www.accessmonster.com

.

  #7  
Old March 17th, 2010, 08:12 PM posted to microsoft.public.access.forms
PHS
external usenet poster
 
Posts: 7
Default Combo Boxes - DISPLAYING multiple fields after choice is made

I'll try it... thanks!

"KARL DEWEY" wrote:

Concatenate the fields like this --
SELECT SomeID, [FName] & " " & [LName] & " - " & [Dept] FROM UrTable ORDER
BY [LName], [FName];

--
Build a little, test a little.


"J_Goddard via AccessMonster.com" wrote:

Remember that the column numbering is "0" based, so columns 2 and 3 are .
column(1) and .column(2)

John


ghetto_banjo wrote:
I don't think it can display more that one column when not in the
"pulldown view".

you could setup some textboxes that have control sources of:

=cboMyCombo.Column(2)
=cboMyCombo.Column(3)

etc, to grab the data from those unseen columnds.

or setup a listbox to display the rest of the data after a choice is
made in the combobox.


--
John Goddard
Ottawa, ON Canada
jrgoddard at cyberus dot ca

Message posted via http://www.accessmonster.com

.

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.