Access JumpStart 2.0 | Email Archive
A Rapid Development Framework for Microsoft Access
Email Archive
Running Access Headless
Sounds intriguing, doesn't it? So what do I mean by running Access headless? I am referring to the term headless as it refers to running a machine without user intervention as an automated process. For example, I have some reports that get emailed out at certain time...
ChatGPT woes
Me: Write a humorous limerick about ChatGPT failing to do what is expected. ChatGPT: There once was a bot named ChatGPT, Whose answers could often betray. Asked for a rhyme, it stuttered in time, And left folks in quite the disarray. It pondered and whirred with great...
Access Query Optimization – using Passthrough and local queries together
Today I worked on optimizing a query for a client. it wasn't super long, about 2 seconds, but that was enough to make a noticeable delay for the users running the database. I wanted to make it a little snappier. It ended up boiling down to one thing, but first I had...
TDD – 069 – Thinking about another class of tests for initializing
Back to getting a failing test. I am wanting to make sure that the user can configure any particular form to use this FormAuditor class easily, so I want my next tests to indicate that. Here are a few scenarios I already had on my test list: Easily load the form...
TDD – 068 – Being a rebel, outside of the Red/Green/Refactor cycle
I'm making a new test. So far I've just copied an old test and here it is so far: '@TestMethod("Verify Changes") Private Sub WhenControlTypesAcceptedListChanges_ThenControlTypesInListChecked() Dim dctInputs As New Scripting.Dictionary, colResults As VBA.Collection Set...
TDD – 067 – Finishing up the refactored control checking
I've decided to use an array instead of a collection. I have to loop over either to search for the element, the array will be small, and it is native to the VBA language and I don't have to create a new object. Also, I am just planning on using the array in the...
TDD – 066 – Extracting a case statement, then do what?
Per the last writing, I wanted to refactor the BeforeUpdate routine Select Case statement. Here is the code in question: Private Sub FormToAudit_BeforeUpdate(Cancel As Integer) Dim Fld As Variant, ChangeDictionary As New Scripting.Dictionary, Ctl As Access.Control For...
TDD – 065 – Deleting a test and refactor review
First I need to review a test that is failing: That test was not the last test I wrote which was the Verify Info Fields category test to return the new ControlSource property I added. The failing test was actually another test I wrote to see if two fields bound to the...
Access Programming – What I do and Why (Automating Access Decompiles)
I work on my own computers, a laptop and a desktop to do my main work on customer Access databases. Once I am at a point where I have something I want to give to the customer I want that process to work as quickly and as seamlessly as possible. Part of this process is...
Access Programming – What I do and Why (Test Driven Development)
I first have to let you know that I am NOT actually doing Test Driven development on live projects consistently. I have created some tests for client work in the past before coding, but it has been quite rare. I like the idea of Test Driven Development and would like...
TDD – 064 – Finding the bound column in a form field
I'm going to add a data element to our collection so that the user of our Form Auditor class will have the bound field name from the ControlSource property. First I will add a new test to check for this additional field in order to have a failing test, then I can...
Access Programming – What I do and Why (SQL query debugging)
Today I had an annoying error message occurring under cetain circumstances while creating a temporary table for an Access report to use. The error message was: Run-time error '94': Invalid use of Null Here are the steps I took to debug the error. Make sure I can...
Quick Links
About
Our goal is to help people simplify their business by providing software products to streamline their work.
Contact
(630) 423-4994