HalloweenWeed
Member
- Local time
- Yesterday, 19:21
- Joined
- Apr 8, 2020
- Messages
- 220
Hi all,
I now have a very minor issue with my database. It is a large split-database, on an institution server, with two front-ends for two institutions who share the back end. I have completely reworked and improved the front-ends, adding a lot of functionality and procedure checks. Only one front-end refuses to stop compacting on close. Odd because they were both made from the same FE, the other one just modified a bit - names changed and different filters in the queries for instance. The other one was made by copying mine, and modifications (and deletions of a few maintenance queries and a form that I used to clean-up the data). Not only that, recently I started new database FE's from scratch, and imported all objects from the original db's, without effect on the compact on close (both database FE's have 'compact on close' unchecked, as does the BE). These databases have extensive vba coding to do some very slick & fancy things, like pushbutton on-the-fly changes to filtering and sorting - and even sorting order; also bringing up forms when you click on certain fields, to allow selections/additions (I hate combo boxes, they are like neanderthal to me). Am I digressing? Anyway, these are contained on the institutional server, but I also have worked with them by copying both the FE & the BE to a local PC drive and it behaves the same way. Most of the time there is only one user per FE. The FE size is around 6MB (no data), both FE's, and I regularly manually compact & repair it after modifications.
The problem is: now I am working remotely, and when I use the server-stored FE it takes several minutes for the FE to close, and if it goes awry (due to momentary network issues?) during a compact procedure it leaves the FE corrupted. So I have been waiting (about a minute or longer) for the "compacting, press and hold Esc to stop" message to come up - and then pressing <Esc> to stop it, to stop possible corruption. Why does the FE do this? Theoretcially, since the other one is essentially a slightly-modified copy it shouldn't behave differently, there is nothing in the code or settings that could cause this. I shouldn't have to wait to press <Esc> every time I close my db. Any ideas?

I now have a very minor issue with my database. It is a large split-database, on an institution server, with two front-ends for two institutions who share the back end. I have completely reworked and improved the front-ends, adding a lot of functionality and procedure checks. Only one front-end refuses to stop compacting on close. Odd because they were both made from the same FE, the other one just modified a bit - names changed and different filters in the queries for instance. The other one was made by copying mine, and modifications (and deletions of a few maintenance queries and a form that I used to clean-up the data). Not only that, recently I started new database FE's from scratch, and imported all objects from the original db's, without effect on the compact on close (both database FE's have 'compact on close' unchecked, as does the BE). These databases have extensive vba coding to do some very slick & fancy things, like pushbutton on-the-fly changes to filtering and sorting - and even sorting order; also bringing up forms when you click on certain fields, to allow selections/additions (I hate combo boxes, they are like neanderthal to me). Am I digressing? Anyway, these are contained on the institutional server, but I also have worked with them by copying both the FE & the BE to a local PC drive and it behaves the same way. Most of the time there is only one user per FE. The FE size is around 6MB (no data), both FE's, and I regularly manually compact & repair it after modifications.
The problem is: now I am working remotely, and when I use the server-stored FE it takes several minutes for the FE to close, and if it goes awry (due to momentary network issues?) during a compact procedure it leaves the FE corrupted. So I have been waiting (about a minute or longer) for the "compacting, press and hold Esc to stop" message to come up - and then pressing <Esc> to stop it, to stop possible corruption. Why does the FE do this? Theoretcially, since the other one is essentially a slightly-modified copy it shouldn't behave differently, there is nothing in the code or settings that could cause this. I shouldn't have to wait to press <Esc> every time I close my db. Any ideas?
