fat controller
Slightly round the bend..
- Local time
- Today, 14:49
- Joined
- Apr 14, 2011
- Messages
- 758
I've been having some problems with data going missing from one particular table, and I am firmly of the mind that the cause is a momentary drop in network connection/quality/speed that is the root cause. Our network has had significant problems over the past year to the point that often we couldn't even open an excel spreadsheet over the network. It is now significantly better, but still not great.
My database has a couple of back end files, and it is one in particular that is giving a problem, and I twigged this morning that this particular back-end file is open pretty much all the time, 24/7, 364 days a year.
So, I have found the subform that was keeping it open and made some changes whereby the user will now have to open the form as a pop-up rather than have it displayed as a sub-form all the time.
Now, whilst looking at this, there is one form that is probably the most used throughout the business, and it too is often open 24/7 - currently, neither it not the table it is connected to has suffered any problems, but I am thinking about preventing problems now before they happen.
Often, employees will sit with this form open continually, whether it is in use or not - hence, I am concerned that if our network has a little wobble that the data is then vulnerable, so I am considering an idle timer based on the code contained here
If possible, I would like to modify that to add an action whereby it closes all forms with the exception of one (the dashboard, which is unbound), on reaching the timer limit and/or do not acknowledge a message box to reset the timer.
Are there any pitfalls I need to be aware of? As always, your knowledge and wisdom is gratefully received.
My database has a couple of back end files, and it is one in particular that is giving a problem, and I twigged this morning that this particular back-end file is open pretty much all the time, 24/7, 364 days a year.
So, I have found the subform that was keeping it open and made some changes whereby the user will now have to open the form as a pop-up rather than have it displayed as a sub-form all the time.
Now, whilst looking at this, there is one form that is probably the most used throughout the business, and it too is often open 24/7 - currently, neither it not the table it is connected to has suffered any problems, but I am thinking about preventing problems now before they happen.
Often, employees will sit with this form open continually, whether it is in use or not - hence, I am concerned that if our network has a little wobble that the data is then vulnerable, so I am considering an idle timer based on the code contained here
If possible, I would like to modify that to add an action whereby it closes all forms with the exception of one (the dashboard, which is unbound), on reaching the timer limit and/or do not acknowledge a message box to reset the timer.
Are there any pitfalls I need to be aware of? As always, your knowledge and wisdom is gratefully received.