Add Items for combo boxes through a form

I am trying to create a way to add Vehicle Make and Model which makes sense. And am having trouble doing so.
You can see my preferred approach on things like "frmNewLeaseTerm" and  "frmNewState" Or on the form "frmNewLease" and clicking on the buttons for adding lease terms suffix or State.

I know this may not be the standard approach but it is the one I need as I need to make things extremely simple.

The problem I'm having is due to the fact that its using two tables "tblCarMake" and "tblCarModel"

My Goal would be to have it look like the attached picture but with an added button for "Add Model"
I also forgot how to open the form as a popup so if you could help with that as well I would be grateful.

Also I seem to be having a issue with the "New Tenant" button on the bottom of "frmNewLease" and also my dynamically updating combo boxes for make and model arent working right.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John TsioumprisSoftware & Systems EngineerCommented:
At first to open the form as popup just
DoCmd.OpenForm "TheNameOfTheForm", , , , , acDialog

Open in new window

if this what you want..
For the other part of your question i think the most widely used method in to use the NotInTheList you just type what you want if the combobox and with a bit of code you get it inserted in the combobox...i use a small popup form to populate the new entry and if i have a case that i need to add more dynamic content i just continue on using the NotInTheList event ...and so on...
By the way...i just made a rental appartment application...well totally different concept...:)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
beatifiedAuthor Commented:
Would you mind elaborating on the NotInTheList Event? Sounds like it might be a more straight forward solution. I am personally a little worried that users might add duplicate options but with incorrect spellings that is why I wanted it to make it a little harder to add an entry in the list of options.

I'll give the dialog option a try though.
beatifiedAuthor Commented:
And Is there a way I can combine the dialog option with DoCmd.OpenForm "frmAddCarMake", , , , acFormAdd
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

John TsioumprisSoftware & Systems EngineerCommented:
I don't think you can do much on the duplicate ...the users always make typing errors..that's a fact no matter the form that performs the adding you could add some kind of search to at least do some search/partial match.
As for the NotInTheList event here is a tutorial
beatifiedAuthor Commented:
Ok got the Dialog thing figured out. Just did it through a macro.
Fabrice LambertConsultingCommented:
I agree with John, there is not much you can do about typing mistakes.
Enforcing everything in uppercase (with the Ucase function) or in lowercase (with the Lcase function) will remove some.
beatifiedAuthor Commented:
Great thanks guys. I'll look into the NotInTheList Event and maybe try to do some partial matching in msgbox's and warn the user that there might already be appropriate options in the list.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.