troubleshooting Question

Access 2007, VBA code for combo box

Avatar of Megin
Megin asked on
Microsoft Access
12 Comments1 Solution795 ViewsLast Modified:
Hello!

I am working on a database to track security cards. The section I am currently looking at is the check out/in log. I am very new to VBA code and, while I understand how the text boxes work, I am having trouble with the combo box. Here is my situation:

I am working in ADO
My form has four fields: Name (text box), Date Out (text box), Date in (Text box), and card number (combo box).

The combo box should pull a list of card numbers from a table called tbl_AccessCards. Once it is chosen and the user saves the record, the form should input information into a table called tbl_checkout.

I have the coding for all of the boxes but the combo box. I don't know how to handle the combo box.

Thank you!
ASKER CERTIFIED SOLUTION
Jorge Paulino
IT Pro/Developer
Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros