Access JumpStart
  • Homepage
  • Email Archive
Select Page

TDD – 075 – Breaking Dependencies for Testing (part 2)

by Jonathan Halder | Apr 30, 2024 | MS Access, MS Access Forms, MS Access VBA Coding, TDD

I had a pretty “simple” change to an application in a IsLineValid function that checks the active record on a subform to see if that line is valid. A new requirement in the application meant that the conditions changed slightly. Originally, I just added...

TDD – 074 – Breaking Dependencies for Testing

by Jonathan Halder | Apr 29, 2024 | MS Access, MS Access Forms, MS Access VBA Coding, TDD

After reviewing the code further I have planned out how to break the form dependency in my code that I wish to test. The code I wish to test IsLineValid currently depends on a function inside the same class called thisForm which returns a specific type of Access form...

TDD – 073 – This Might Get Messy!

by Jonathan Halder | Apr 26, 2024 | MS Access, MS Access Forms, MS Access VBA Coding, TDD

I have a class called PoLineController which has a public IsLineValid method. I made a change to this method in my previous TDD article, but I didn’t test it first. I did end up refactoring it a bit. So looking back, I am going to think about how I could have...

TDD – 072 – Real World Example

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...

Deleting / Cutting Records on a Continuous Form

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...

Access Events: BeforeUpdate and Changing Data

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...
« Older Entries
Next Entries »

Recent Posts

  • Quoting Access projects
  • A few quick VBA tips for better development and deployment of your Access App
  • Reminder: You can’t link linked Access file tables
  • Sharing the load – an exercise in splitting Access Files
  • Simplifying Complex File Importing rules

Recent Comments

  1. Jonathan Halder on Reminder: You can’t link linked Access file tables
  2. Colin Riddington on Reminder: You can’t link linked Access file tables
  3. Text File Import / Export Recipe code part 3 (implementing iImportFile) | Access JumpStart on Text File Import / Export Recipe code part 2 (AppProcedures module)
  4. Text File Import / Export Recipe code part 2 (AppProcedures module) | Access JumpStart on Text File Import / Export Recipe code
  5. Text File Import / Export Recipe code | Access JumpStart on A Reusable Recipe for Importing and Exporting Text Files in Access

Archives

  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • December 2022
  • March 2022
  • January 2022
  • June 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020

Categories

  • Blogging
  • MS Access
  • MS Access Features
  • MS Access Forms
  • MS Access Queries
  • MS Access Reports
  • MS Access Tables
  • MS Access VBA Coding
  • TDD
  • Uncategorized
  • Versioning
Copyright © Halder Consulting Inc.