E
ericgj
I understand it is a best practice in a multi-user environment to split your
database into a front-end and a back-end.
However, from my experience and from many others I've seen online, doing so
makes you more vulnerable to the "Cannot open any more databases" error due
to reaching the Jet limit of table handles open. Evidently, opening a linked
table is more expensive than a local one. For example, when I un-split my
database, no other changes made, the same form opens without error. In my
case the error has nothing to do with DLookup (which I don't use), or not
closing recordsets in code, or too many query-sourced comboboxes. It has to
do with splitting the database.
I have not seen a satisfactory answer to this (short of moving to a
different back-end database). I am looking at simplifying one of the queries
I use a lot which joins ~10 tables. Although in the short term I think I
don't have a choice but to NOT split the database.
Eric
database into a front-end and a back-end.
However, from my experience and from many others I've seen online, doing so
makes you more vulnerable to the "Cannot open any more databases" error due
to reaching the Jet limit of table handles open. Evidently, opening a linked
table is more expensive than a local one. For example, when I un-split my
database, no other changes made, the same form opens without error. In my
case the error has nothing to do with DLookup (which I don't use), or not
closing recordsets in code, or too many query-sourced comboboxes. It has to
do with splitting the database.
I have not seen a satisfactory answer to this (short of moving to a
different back-end database). I am looking at simplifying one of the queries
I use a lot which joins ~10 tables. Although in the short term I think I
don't have a choice but to NOT split the database.
Eric