Access JumpStart
  • Homepage
  • Blog
Select Page
  • Homepage
  • Blog

Access function to return SQL Server record set using passthrough query

by Jonathan Halder | Jan 31, 2025 | MS Access, MS Access Queries, MS Access VBA Coding

Enjoy! ‘Creating a Passthrough query read only recordset on the fly in VBA ‘Put this in a normal module, call it from any other module ‘This is requiring DAO.Database and DAO.QueryDef objects so that ‘ the recordset will survive after the...

Nested Error Handling – Example code and what happens

by Jonathan Halder | Jan 30, 2025 | Blogging, MS Access, MS Access VBA Coding

So this is my latest nested error test code. You can put it in any public code module and run MainProcedure to see what it will do. The thing to do here is to see how Access will behave in various scenarios and the code paths that execute and the ones that...

VBA Class errors and Break in Class Module option

by Jonathan Halder | Jan 29, 2025 | Blogging, MS Access, MS Access Features, MS Access VBA Coding

So the reason I was getting strange behavior in some tests I was running was because there was a third party class which responsibly used an error handling scheme used in it’s tests which required an error being raised with Err.Raise to pass up to the calling...

More VBA Error handling scenarios using Err.Raise

by Jonathan Halder | Jan 28, 2025 | Blogging, MS Access, MS Access Features, MS Access VBA Coding

I am running into a situation in someone else’s code where an Err.Raise call is not getting handled by any of the upstream calling functions and ends up calling the main VBA system debugger displaying the VBA error dialog. I was trying to recreate the problem...

Drop in Native VBA (No references needed) Scripting.Dictionary replacement

by Jonathan Halder | Jan 28, 2025 | MS Access, MS Access Features, MS Access VBA Coding, TDD, Versioning

As I was working on some code to store custom tags related to controls, I thought it would be nice to use a dictionary object. Dictionary objects work by storing a value of some kind along with a key to find it. The Scripting.Dictionary object uses the VBScript...
« Older Entries

Get a Daily Email

An email loaded with my tips and musings.

    We won't send you spam. Unsubscribe at any time.

    Recent Posts

    • When Your Access Power Users Want Subdatasheets—Here’s the Fix
    • Pair Programming Dreams and TDD Goals: A Personal Dev Update
    • Stuck with a Non-Updateable Query in Access? Try This Simple Fix
    • Access Report Layouts: The Page Header Fix You Didn’t Know You Needed
    • Focus your Access skills

    Recent Comments

    1. Jonathan Halder on Breaking the Triangle: Can You Really Have It All in Access Software Projects?
    2. Jonathan Halder on When Your Access Power Users Want Subdatasheets—Here’s the Fix
    3. RichardRost on When Your Access Power Users Want Subdatasheets—Here’s the Fix
    4. RichardRost on Breaking the Triangle: Can You Really Have It All in Access Software Projects?
    5. Jonathan Halder on Mastering CROSS JOIN in SQL Server: From Cartesian Products to Reusing Calculated Columns

    Archives

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