by Jonathan Halder | Oct 30, 2024 | Blogging, MS Access, MS Access VBA Coding, TDD
In a message I sent a few days ago: Test Driven Development Fakes Are Faking me out! I was lamenting that some tests I was trying to write using a fake testing object, simply were returning the values that I needed to pass the test. I’ll use a small bit of my...
by Jonathan Halder | Oct 29, 2024 | Blogging, MS Access, MS Access VBA Coding
When I was younger, I was a staunch DIYer (Do-it-yourself) programmer. Granted, this was a great advantage in many ways in those days. I didn’t have to spend money on add-ins or have to spend time to learn how to use them. I also didn’t have to spend money...
by Jonathan Halder | Oct 28, 2024 | Blogging, MS Access, MS Access VBA Coding, TDD
You write a test for the behavior you want. So far so good. You have to figure out how to interface with your system to write the test though. Today, I was adding a new type of status called “Internal Hold” for an order, and the line items each can also...
by Jonathan Halder | Oct 24, 2024 | Blogging, MS Access, MS Access Forms, MS Access Reports, MS Access VBA Coding
First of all, it’s good to know that you can add a report to a sub-report control on a form. If you need to display multiple groups of data for informational purposes on the form, this can be a real game changer! I have a routine I use that’s in my library...
by Jonathan Halder | Oct 21, 2024 | Blogging, MS Access, MS Access VBA Coding, Versioning
When working with a particular customer, it is very beneficial to have a plan on working on their database and being able to implement your new database changes effectively. Ideally, you might have a fully automated pipeline that would allow you to test and deploy a...
by Jonathan Halder | Oct 18, 2024 | Blogging, MS Access, MS Access Queries, MS Access VBA Coding
If you’ve ever wondered whether a SQL statement you executed actually modified any records, there is a property of the DAO database object that can help you. You can get the number of affected records of a DELETE, UPDATE, or INSERT type query immediately after...