philbullock1223
Registered User.
- Local time
- Today, 16:03
- Joined
- Dec 31, 2011
- Messages
- 55
In Access 2010, I've used the status bar SysCmd functions acSysCmdInitMeter, acSysCmdUpdateMeter, and acSysCmdClearStatus. While looping through commands and displaying the status bar, at some point Access seems to lose focus and the status bar stops updating (or freezes) until the job is done. On short processes, it works just fine. I tried adding a repaint with no success.
Has anybody else seen this behavior? And if you have a solution better than repaint (doesn't always work, but unless that's the only one), what is it?
Someone has suggested DoEvents as-in adding "Application.DoEvents()" inside the loop... but I don't understand this. Application.DoEvents() gives me an error and I don't know what it is.
Has anybody else seen this behavior? And if you have a solution better than repaint (doesn't always work, but unless that's the only one), what is it?
Someone has suggested DoEvents as-in adding "Application.DoEvents()" inside the loop... but I don't understand this. Application.DoEvents() gives me an error and I don't know what it is.