We help IT Professionals succeed at work.

Ms Access loses value list after form close

deanlee17
deanlee17 asked
on
400 Views
Last Modified: 2014-05-10
Hi guys,

I need to add values to a combo box from a textbox. I can add the value into the value list row source using List42.AddItem ("Var1") But when I close the form and re-open it, it loses Var1. Ive tried DoCmd.save but that doesnt work.

Personally I would have added the values to a table and used and SQL query to look them up. But I have inherited this database.

Thanks,
Dean.
Comment
Watch Question

Owner, Dev-Soln LLC
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2010
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Well that explains that one then. I wanted to leave the database (relatively) the way I found it, incase this gets handed back. But as you suggested, I am going to make changes and create a lookup table.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.