Share via

Conditional formatting on Continuous Subform slow when using custom function.

Anonymous
2020-01-24T17:35:21+00:00

Hello all,

I've found a strange issue with conditional formatting. I have some code to assign conditional formats to a subform each time it opens (this allows for on the fly testing and ensures the latest rule is always applied to the expected controls). However, during my testing I found that simply calling a function in my conditional formatting slows the form down significantly. 

I have tested this with a simple =true vs a function that always returns true and the difference is about 3-5 seconds before the formatting is applied, but it is applied to all view-able lines at the same time...

Does anyone know why this is happening or how I might be able to speed this process up?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. George Hepworth 22,855 Reputation points Volunteer Moderator
    2020-01-25T14:44:11+00:00

    I can confirm what Tom says. I have had that exact experience.

    Was this answer helpful?

    0 comments No comments
  2. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2020-01-25T14:38:19+00:00

    I think it does not slow down the form, but only the application of CF which happens asynchronously.

    The only way to speed it up is to use pre-computed data, so you don't have to compute on the fly.

    Was this answer helpful?

    0 comments No comments