Solved

Access 2013 Combobox data

Posted on 2016-07-19
2
28 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
2 Comments
 
LVL 34

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now