Andrew Fergus
MrExcel MVP
- Joined
- Sep 9, 2004
- Messages
- 5,462
- Office Version
- 365
- 2021
- 2016
- Platform
- Windows
Is there a way to disable the status bar showing the word "Calculating . . . " every time an OnTimer Event does a requery?
I have a real time clock on a form and I used the following code :
This refreshes the clock every second (I used a 1000 millisecond setting) to give a real time, I realise this is resource hungry and will scale it back to once a minute for the more heavy duty forms.
However, every time it does the requery, my status bar at the bottom of the screen changes from the value I have set on the control (usually "enter such and such") to "Calculating . . ." and then it reverts back to the control value again. It does this every refresh, i.e once every second. I tried to stop the flashing "Calculating . . ." in the status bar by turning off the Echo in the VB code using the DoCmd.Echo command, but that didn't work and caused other problems.
Are there any suggestions as to how to get this to stop flashing"Calculating . . " without disabling the status bar?
TIA, Andrew.
I have a real time clock on a form and I used the following code :
Code:
Private Sub Form_Timer()
DoCmd.Requery "Clock"
End Sub
However, every time it does the requery, my status bar at the bottom of the screen changes from the value I have set on the control (usually "enter such and such") to "Calculating . . ." and then it reverts back to the control value again. It does this every refresh, i.e once every second. I tried to stop the flashing "Calculating . . ." in the status bar by turning off the Echo in the VB code using the DoCmd.Echo command, but that didn't work and caused other problems.
Are there any suggestions as to how to get this to stop flashing"Calculating . . " without disabling the status bar?
TIA, Andrew.