Access JumpStart
  • Homepage
  • Email Archive
Select Page

Reformatting simple text based phone number strings in VBA

by Jonathan Halder | Mar 24, 2025 | Blogging, MS Access, MS Access Forms, MS Access Queries, MS Access VBA Coding

Today, for my customer’s app, I wrote some VBA code in an after update routine of a textbox to strip out non-numeric characters and reformat them into a phone number format the customer wanted. Private Sub employee_phone_number_AfterUpdate() If...

Test Driven Development (TDD) and Forms in Microsoft Access

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

CustomTags – Basic functionality coded!

by Jonathan Halder | Feb 26, 2025 | Blogging, MS Access, MS Access Forms, MS Access VBA Coding, TDD

This is a very basic set of 2 classes to produce a CustomTags object that can take an Access Control object from a form and store an internal dictionary intended to use string keys to store string values for that tag. The ControlTags and ControlTag currently use early...

CustomTags – changing to utilize RubberDuckVBA testing

by Jonathan Halder | Feb 25, 2025 | Blogging, MS Access, MS Access Forms, MS Access VBA Coding, TDD

Ok, so to use test driven development here, I will start writing tests to describe the behaviors of the control I want and then code to make the tests pass. I copied the code from the module from last time with the TestCustomTags Sub to a new Test module I created...

Custom tags for form controls – Beginning to code the solution

by Jonathan Halder | Feb 21, 2025 | Blogging, MS Access, MS Access Forms, MS Access VBA Coding

So I’m doing some proof of concept here. I want to use a starting syntax like the following in the Debug.Print line: Public Sub TestCustomTags() Dim testCT As CustomTags Set testCT = New CustomTags Dim ctl As Access.Control Set ctl = Form_TestForm.TestControl...

Custom tags for form controls – further refining a desired syntax

by Jonathan Halder | Feb 20, 2025 | Blogging, MS Access, MS Access Forms, MS Access VBA Coding

So far my idea just kind of sucks. It’s ok, sometimes one just has a sucky idea. I think what I’d really like to be able to do is something like this: ‘ In a form object, wouldn’t it be nice to be able to do this? Private Sub Form_Load()...
« 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.