2
votes

I have multiple forms with specific buttons to show/hide data (f.e. data from last year/all data). I've been thinking a while about query performances and I can't really find a good source which explains how access handles those.

In particular I was wondering, if there is a performance difference between using a saved query (for a specific case, like 'data from last year') and appending parameters to a query during runtime (say add 'where xy = -1' to a query with no constraints). Will both querys be executed in the backend, or will any constraints I add to an existing query via VBA be executed in the frontend?

Should I create a query for every possible scenario or use only one query where I add parameters during runtime?

Fyi I'm using jet and my database is split to frontend and backend (Access 2007). The backend will be located on a network folder.

2

2 Answers

2
votes

Check the answers to this question: does stored procedure enhance the performance in an acess databank,why?

Mostly covers what you are asking for.

1
votes

As Access is a file based system rather than a dedicated server, absolutely nothing is run in the back-end, even if it is stored there, everything is executed locally in whichever copy you have open, namely the front-end or the back-end.