by Jonathan Halder | Apr 24, 2024 | MS Access, MS Access Forms, MS Access VBA Coding, TDD
I want to start doing TDD when doing anything new on a client project, or even when debugging. I’m trying to use principles from “Working Effectively With Legacy Code” by Michael C Feathers, although I haven’t finished reading the book yet. For...
by Jonathan Halder | Apr 22, 2024 | MS Access, TDD
After 70 short 25 minute or so sessions of TDD with Access and RubberDuck VBA, what have I learned? I have definitely learned that this is a really big subject and a big paradigm shift in my current programming style. Thinking about how to write code to keep it under...
by Jonathan Halder | Apr 19, 2024 | MS Access, MS Access Forms, MS Access VBA Coding
Tracking deletions to a continuous subform can be tricky. The Delete Confirmation event does NOT fire for subforms. Only the OnDelete Event. This allows you to Cancel the event, but does not allow you to leave the subform to run any code affecting the parent form and...
by Jonathan Halder | Apr 18, 2024 | MS Access, MS Access VBA Coding
Ok, maybe hate is a strong word, but I generally try to avoid commenting my code. Why? I want to try to make the code I write understandable and read like well written prose. Does all of my code look like that? No, but I wish it did. If I feel a line of code needs a...
by Jonathan Halder | Apr 15, 2024 | MS Access, MS Access Forms, MS Access Queries, MS Access VBA Coding
Occasionally, I run into an issue where I am using some function within a BeforeUpdate event in an Access form which goes and updates the table with a SQL statement or query. This can produce some unwanted and messages about someone else editing the record and do you...