by Jonathan Halder | Apr 10, 2024 | MS Access, MS Access VBA Coding
What is polymorphism? It’s a concept in object oriented programming that allows you to define different versions of objects that all share some of the same characteristics. In language, an example would be two different cars. A Lamborghini is a car, as is a...
by Jonathan Halder | Apr 9, 2024 | MS Access, MS Access Forms, MS Access Queries, MS Access VBA Coding
I have been working on updating code for a customer form with a list box control storing a long list of files in various folders. There are filters on this form that can limit the files available to choose from. During my coding I noticed some performance problems....
by Jonathan Halder | Apr 8, 2024 | MS Access, MS Access Forms, MS Access VBA Coding
The other day I was coding an Access Form which displays a file list to choose files to import into the database. I had created the following components: An Access Form named: ImportForm A Class Module to handle a full list of files available for importing and...
by Jonathan Halder | Apr 5, 2024 | MS Access, MS Access Forms, MS Access VBA Coding, TDD
It’s time to add a new test: ‘@TestMethod(“Initialize”) Private Sub WhenThereIsAForm_ThenItCanBeAssigned() Dim testFormAuditor As FormAuditor Set testFormAuditor = New FormAuditor testFormAuditor.Init Forms(“TestForm”) End Sub This...
by Jonathan Halder | Apr 2, 2024 | MS Access, MS Access Forms, MS Access Reports, MS Access VBA Coding
One of my clients was occasionally getting a 2455 error in Access: Run-time error ‘2455’: You entered an expression that has an invalid reference to the property Form/Report. What was happening in this case was that the user had minimized Access and then...
by Jonathan Halder | Mar 29, 2024 | MS Access, MS Access Features, MS Access Forms, MS Access Reports
I had generally used Subforms in Subform/Subreport controls as part of a standard form. I hadn’t even really thought too much about the fact that you could put report objects into a Subform/Subreport control. What pushed me in the direction of using a report in...