ProgramRasta
Member
- Local time
- Today, 23:59
- Joined
- Feb 27, 2020
- Messages
- 98
Hi All
I'm having some serious problems that I'm just unable to solve which I hope you can be of assistance with once again.
I have a listbox that I am trying to filter a subform with, the problem is when I use queries the filter just hangs as I have a user defined function and it just stops mid way through filtering. The UDF has a number of domain aggregate functions which I've read can hinder performance. when I run the function as an Access Query it loads up in 2 seconds, however, If I right click and filter then its a different story.....
I thought a way around this would be to make a table in memory with the results from the query so that they are static and then the filtering would be very quick. However, it doesn't seem to work though ADO.
I have attached a sample database (The code for filtering was provided by a technical user MAJP).
I would really appreciate any assistance on the matter.
Many Thanks
I'm having some serious problems that I'm just unable to solve which I hope you can be of assistance with once again.
I have a listbox that I am trying to filter a subform with, the problem is when I use queries the filter just hangs as I have a user defined function and it just stops mid way through filtering. The UDF has a number of domain aggregate functions which I've read can hinder performance. when I run the function as an Access Query it loads up in 2 seconds, however, If I right click and filter then its a different story.....
I thought a way around this would be to make a table in memory with the results from the query so that they are static and then the filtering would be very quick. However, it doesn't seem to work though ADO.
I have attached a sample database (The code for filtering was provided by a technical user MAJP).
I would really appreciate any assistance on the matter.
Many Thanks