B
Brian
I initialize the status bar meter, then increment as I loop through data.
'set status bar
txtStatus = SysCmd(acSysCmdInitMeter, "Updating points...", NumberOfThings)
For Each Thing In MyListOfThings
ThisNumber = MyListOfThings.ListPosition
'increment status bar
txtStatus = SysCmd(acSysCmdUpdateMeter, ThisNumber)
'update record
strSQL = "UPDATE MyList SET Whatever = True"
DoCmd.RunSQL strSQL
Next
The status bar text flashes rather than incrementing smoothly. It appears
that the status bar is changing to something else VERY briefly (perhaps
"Running query....) during each RunSQL, then returning to the meter and
moving to the next increment.
Am I incorrect in what I think I am seeing? If so, is there a way to prevent
other status bar text updates when a meter is in progress.
'set status bar
txtStatus = SysCmd(acSysCmdInitMeter, "Updating points...", NumberOfThings)
For Each Thing In MyListOfThings
ThisNumber = MyListOfThings.ListPosition
'increment status bar
txtStatus = SysCmd(acSysCmdUpdateMeter, ThisNumber)
'update record
strSQL = "UPDATE MyList SET Whatever = True"
DoCmd.RunSQL strSQL
Next
The status bar text flashes rather than incrementing smoothly. It appears
that the status bar is changing to something else VERY briefly (perhaps
"Running query....) during each RunSQL, then returning to the meter and
moving to the next increment.
Am I incorrect in what I think I am seeing? If so, is there a way to prevent
other status bar text updates when a meter is in progress.