?
Solved

Value list, combo box

Posted on 2014-09-03
4
Medium Priority
?
451 Views
Last Modified: 2014-09-03
Experts, I have a combo box, text, value list, limit to list ppty with row source as "Reporting Requirements";"Borrower Undertaking"; "Conditions Precedent".  If the choice is not in the drop down list then a message box will appear asking if user wants to add the additional option.    

Is this an acceptable way to add choices or is another way by using Not In List codes?  I use the NOT IN LIST codes if I have many choices and they are all dumped into a sort of drop box table (not sure if that is proper lingo).  I am not sure if an issue could develop if you have a FE / BE setup.  I imagine both methods work ok.   In this case, I probably wont have more than 5 choices (listed the 3 above) so I assume Its not necessary to use NOT IN LIST codes.  

thank you
0
Comment
Question by:pdvsa
[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
  • 2
4 Comments
 

Expert Comment

by:William Blake
ID: 40302107
It doesn't sound like you are having trouble getting the code to work, but here are two sites that might be of some help to you or others:
HERE and HERE

To answer your question, yes I believe this is an appropriate way to add choices to the combo box.  It should work if it is a value list or the result of a table / query. I have Access 2013 but out of the box without any coding if I change the property of the combo box of "Limit to List" to yes, I get a nice message that asks me if I want to add it to my list.  Of course you could do this manually too.  As far as a BE / FE solution, it shouldn't matter.  Hope this helps or let me know if I am way off base.

Good luck!
0
 
LVL 38

Accepted Solution

by:
PatHartman earned 2000 total points
ID: 40302311
This is not an appropriate way to handle lists that can be modified.  If the user can add items to the combo/listbox list then you must keep the list in a table in the BE.

I almost never give the user the option of adding items on the fly.  It is too easy for them to make a typo and then add the bad spelling as an alternate to the list.  This defeats the whole purpose of using combos and listboxes.  Better practice is to have a form where they can add items to the list and restrict the process to only certain people to better control the list contents.
0
 

Author Comment

by:pdvsa
ID: 40302383
ok thank you.  I believe I should not use the method I am using now and instead use the form method Pat referred to.   Let me know if I have misunderstood.
0
 

Author Closing Comment

by:pdvsa
ID: 40302620
thank you
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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…
Suggested Courses

762 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