- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Afternoon All
Can somebody please assist with, or point me in the direction of some examples on how to successfully connect to a 2016 Access Database from 2019 VBA? I'm pulling different pieces of code together from various Excel forums but not having complete success, primarily due to ignorance.
I've sorted the ADO references ok, it's the actual syntax and procedures I'm struggling with.
My database has a number of linked tables with primary and foreign keys, which essentially create a drawing tracker, allowing me to log the details of drawings going out. The tables are linked thus:
Client -> Project -> Discipline -> Drawing -> Revision Info
All the info is known (so client name, project name, etc) and I need to be able to access each table and the correct record in turn, so I can then record the info in the final table of Revision Info (date, rev number etc)
Additionally, I need to be able read out info from a list of drawings when the user selects Client -> Project etc from the combo boxes on a userform. So when all combo boxes are set, a listbox is filled with available drawings and when one is selected, it's revision history stored in the database is presented in the userform.
Any help with the above would be most gratefully received.
Thanks very much.
P.S. Has to be VBA, can't use .NET and haven't the time to learn 😞
Solved! Go to Solution.