Solved

Access 2013 Combobox data

Posted on 2016-07-19
2
41 Views
Last Modified: 2016-07-19
I must be tired.
I have a form with a bound combobox that returns a name and id, with bound column. The box displays the name and stores the id of the name in the bound table. When the form is opened on a particular record, one wants the combobox to display the record stored in its bound field.  Nothing I can do will convince it to act this way. It invariably overwrites the bound data in the table and displays the combobox empty.

I have tried unbinding the combobox and saving the data on a hidden text box on the form, then setting the value of the textbox to the combobox on load, but this also does not work.
I KNOW THIS IS POSSIBLE. Worse, I know it is simple, but my sleep addled brain can't figure it out.
0
Comment
Question by:JP_TechGroup
[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 Comments
 
LVL 37

Accepted Solution

by:
PatHartman earned 500 total points
ID: 41719389
So, when you navigate to a record, the combo box shows empty even though there is a valid value in the underlying record?  Are you sure you don't have any code that is causing the issue?  Rename the combo box and see if you get any compile errors.
0
 

Author Comment

by:JP_TechGroup
ID: 41719581
SMH. Apparently someone introduced a sub that emptied the controls on load.
Wonder who could have done that?
Thank you!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

751 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