Solved

Value list, combo box

Posted on 2014-09-03
4
431 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 36

Accepted Solution

by:
PatHartman earned 500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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…

730 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