Category Archives: MS Access Bugs

Microsoft Access Export Formatting Bug

I came across a thread on UtterAccess:

and it brought back some memories of work I did for a client where I had to deal with this issue.
 

The Problem

The issue is quite simple, exports, with the exception of PDFs, do not properly export all formatting.

Let me illustrate the problem, or at least one example of them.

Continue reading

Modern Web Browser Iteration Bug

Software Bug

Today, I was preparing a demo db for a video I am hoping to make in the coming week and came across an odd issue with the Modern Web Browser.

Now, for full disclaimer, I haven’t done a deep dive into the matter. I simply identified the issue and implemented a workaround. So I don’t know if this is an issue with all cases, or just this particular site (I doubt it though).

I was trying to extract data from a site, so I created a variable representing all the matching span so I could then work with each one individually to perform other operations.

Continue reading

Microsoft Access Navigation Pane Rendering Issues

Software Bug

Just one more bug to add to the list, but I’ve been noticing rendering issues with the Microsoft Access Navigation Pane with lines & background color going beyond the boundaries of the Navigation Pane itself.

As shown in the following image, Access is drawing the Navigation Pane elements outside the Navigation Pane itself.

Continue reading

Microsoft Access Option Group Border Width Bug

Software Bug

Recently I’ve been playing around a lot with Class Modules and Form/Report SubClassing:

and I recently stumbled upon an oddity, a bug relating to an Option Group’s border width property.

Continue reading

Access FormatConditions Object For Each Iteration Is Incorrect

Software Bug

Have you ever needed to work with Conditional Formatting via VBA and tried to iterate through the FormatConditions collection?! Did you get incomplete results? Well, there is apparently a serious bug depending on the approach taken.

Note, this applies to Access 2016 and earlier, and per Karl’s comment below, has since been addressed in latter versions.

That being said, Microsoft did not push a fix for this bug to earlier versions. Thus, the workaround solution still remains the sole universal solution that will work properly on all versions of Access and as such, is the approach I recommend developers use.

The easiest approach to iterating over the collection is to do something like the following which is to iterate over the FormatConditions object:

Dim oFC As FormatCondition
Dim i As Long

For Each oFC In Me.FirstName.FormatConditions
    i = i + 1
    Debug.Print i, oFC.Expression1
Next oFC

Yet, this will fail to list more than 3 Format Conditions! Yep, you read that right. It will not necessarily list all the conditions. Making it worse, is I found no mention of this in the documentation (see below – maybe I missed it?!).

Continue reading