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  

Combobox Selection To Populate Listbox



 
 
Thread Tools Display Modes
  #1  
Old June 22nd, 2008, 09:52 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulescoding
tony Jacobs
external usenet poster
 
Posts: 50
Default Combobox Selection To Populate Listbox

Hi;

Can you please help with code example to populate a list box based on the
value of a combo box. I will need to give the user ability to
select/highlight from list box records to print a report.

Many thanks


  #2  
Old June 22nd, 2008, 10:29 PM posted to microsoft.public.access.forms
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default Combobox Selection To Populate Listbox

Hi Tony,

You can use SQL code to populate the listbox or combobox. Make sure you
select table or query as the data source and click on ... to use the query
designer to create the SQL query.

Bonnie

http://www.dataplus-svc.com

tony Jacobs wrote:
Hi;

Can you please help with code example to populate a list box based on the
value of a combo box. I will need to give the user ability to
select/highlight from list box records to print a report.

Many thanks


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200806/1

  #3  
Old June 22nd, 2008, 10:33 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulescoding
Graham Mandeno
external usenet poster
 
Posts: 593
Default Combobox Selection To Populate Listbox

Hi Tony

You will need to give more details. None of us is clairvoyant!

Exactly how do you want the selection in the combo box to affect the records
displayed in the listbox, and how do you want the row(s) selected in the
listbox to affect the content of the report?
--
:-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tony Jacobs" wrote in message
...
Hi;

Can you please help with code example to populate a list box based on the
value of a combo box. I will need to give the user ability to
select/highlight from list box records to print a report.

Many thanks




  #4  
Old June 24th, 2008, 11:47 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulescoding
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Combobox Selection To Populate Listbox

I knew you were going to say that.... g

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Graham Mandeno" wrote in message
...
Hi Tony

You will need to give more details. None of us is clairvoyant!



  #5  
Old June 24th, 2008, 10:44 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.modulescoding
Graham Mandeno
external usenet poster
 
Posts: 593
Default Combobox Selection To Populate Listbox

Oh, I should have mentioned that you are the exception, Doug bg
--
Cheers,
Graham

"Douglas J. Steele" wrote in message
...
I knew you were going to say that.... g

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Graham Mandeno" wrote in message
...
Hi Tony

You will need to give more details. None of us is clairvoyant!





 




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 06:12 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.