by Jonathan Halder | Mar 14, 2025 | Blogging, MS Access, MS Access Forms, MS Access VBA Coding, TDD
I thought I would update folks on my TDD progress using VBA in Access. I use the RubberDuckVBA Unit Testing component to create and run tests. You don’t need a fancy program or system like that to utilize automated testing, but I have enjoyed using it and the...
by Jonathan Halder | Mar 13, 2025 | Blogging, MS Access, MS Access Features, MS Access Queries, MS Access VBA Coding
If you want to get the number of records that were updated, inserted, or deleted by your query, you would read the RecordsAffected property on the object that executed your query after it had run. ‘Copied from a normal module ‘We set a reference to the...
by Jonathan Halder | Mar 11, 2025 | Blogging, MS Access, MS Access VBA Coding
I wrote up this quick class module a while back to more easily and quickly replace file Input and Inputline functions in code with an array of lines for a file. Basically, I was pre-processing and staging text files into a usable format into a database and wanted to...
by Jonathan Halder | Mar 10, 2025 | Blogging, MS Access, MS Access Features, MS Access VBA Coding
I had a friend ask me for more info about using access files as libraries, so here is some info I gathered up: First off is a link to a file Steve Halder created when researching building our library for our Access JumpStart product. This has a lot of info and sample...
by Jonathan Halder | Mar 7, 2025 | Blogging, MS Access, MS Access VBA Coding
When you want to view the contents of a dictionary object in the VBA locals window, it turns out you just can’t. It shows the Dictionary Items collection with the item number and key contents, but not the value. In order to see what’s in the dictionary,...