?
Solved

Populate one combo box based on another

Posted on 2014-04-23
4
Medium Priority
?
982 Views
Last Modified: 2014-04-29
I have a Projects table with ProjectID, ProjectNumber, ProjectName etc. I have a Permits table with PermitID, ProjectID and also ProjectNumber and ProjectName. Project is the primary table with a 1 to many to the Permits table on ProjectID.

It's currently setup so that the project information must be filled out first and then the permit information. On the Project form, we may have only the ProjectNumber or ProjectName or Both at the time the record is created.

On the Permit form I have combo boxes for ProjectNumber and ProjectName and they show the available information from the Projects table. Right now I have to pick the ProjectNumber and ProjectName individually but I would like to have the projectname autofill when the projectnumber is selected or the projectnumber autofill when the projectname is selected. How can I do this? Thanks
0
Comment
Question by:circa62
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 14

Accepted Solution

by:
Zac Harris earned 1500 total points
ID: 40017602
Hi

Try these Microsoft sites out to assist you:

Combobox population Office 2000 - 2003

Combobox population Office 2010
0
 

Author Comment

by:circa62
ID: 40017914
So I followed the instructions in one of the articles above and have the projectnumber combo box populating with the available matches from the projects table. When I try to select a projectnumber to see if the project name will populate I get a message that says "cannot add records; join key of table 'tblPermits' not in recordset.'
0
 

Assisted Solution

by:circa62
circa62 earned 0 total points
ID: 40018114
I found the detailed instructions on the Microsoft Community where I didn't need the cascading combo boxes after all. Thanks for the help though.
0
 

Author Closing Comment

by:circa62
ID: 40029087
Found the specific answer that I was looking for online.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question