User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 427,222 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,253 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser: Programming Forums
Views: 1451 | Replies: 2
Reply
Join Date: Jun 2008
Posts: 1
Reputation: DanMcLaren is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
DanMcLaren DanMcLaren is offline Offline
Newbie Poster

Querying from a combo box selection

  #1  
Jun 11th, 2008
Hello all,

This is my first post in a forum like this, I hope someone is able to help me!

I found a post from about a year ago that explained how to use combo box parameters in a query, and I was wondering if there is a way to automatically run the query once a value has been selected from the combo box by the user.

ie, Once the Make of car has been selected, only the applicable models related to that Make are displayed in the next combo box.

Please help?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2008
Posts: 29
Reputation: boblarson is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
boblarson's Avatar
boblarson boblarson is offline Offline
Light Poster

Re: Querying from a combo box selection

  #2  
Jul 1st, 2008
Since this is 19 days old, you probably already got an answer elsewhere or figured it out, but here's a sample that might help:
Cascading Combo Sample
Bob Larson
____________________________________
Access MVP
For Quick Tutorials and Samples for Microsoft Access: BTAB Development
Reply With Quote  
Join Date: Aug 2007
Posts: 18
Reputation: JAJansenJr is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
JAJansenJr JAJansenJr is offline Offline
Newbie Poster

Re: Querying from a combo box selection

  #3  
Jul 21st, 2008
I have a need for something similar (I think). I have a combo box that shows in the drop down list purchase order numbers obtained from a table. What I would like to do, once a purchase order number is selected, is to generate a report which shows the records which contain that purchase order number. The reason there are multiple records with the same purchase order number is that items can be ordered from several different manufacturers under the same purchase order number. This report would be useful to check on the status of items for a given purchase order number.

Similarly, I would like a report to show the items for a given manufacturer. This would be useful to see what has been ordered in the past to provide assistance in deciding what may be ordered in the future from that given manufacturer.

A combo box seems a natural for selecting purchase order numbers, manufacturers and other keys to generate a report, but I don't know how to pass the selected item in a combo box to get a report generated.

Any help sincerely appreciated.

JAJansenJr
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MS Access and FileMaker Pro Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the MS Access and FileMaker Pro Forum

All times are GMT -4. The time now is 11:25 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC