S
StargateFan
Good Morning and awake enough to remember it's the new year <g> and to
wish everyone a Happy New Year! D
I've pieced this together from various messages in the archives. It
seems to work just great. However, when I found and added code for
the status bar, had a feeling it would wink on and off - which it did.
At least, I'm assuming the flicker in the status bar was my message!
<g>
Any way to have the simple status bar message below display for a
couple of seconds before being destroyed, by any chance? Here is the
code as it stands now:
*****************************************************************************
Private Sub RequeryContactsForm_Click()
varReturn = SysCmd(acSysCmdInitMeter, "Re-querying ...", 1) 'msg to
user in status bar
On Error GoTo Err_RequeryContacts_Click
Me.Requery
varReturn = SysCmd(acSysCmdClearStatus) 'clears
status bar msg
Exit_RequeryContactsForm_Click:
Exit Sub
Err_RequeryContacts_Click:
MsgBox Err.Description
Resume Exit_RequeryContactsForm_Click
End Sub
*****************************************************************************
Thanks! D
wish everyone a Happy New Year! D
I've pieced this together from various messages in the archives. It
seems to work just great. However, when I found and added code for
the status bar, had a feeling it would wink on and off - which it did.
At least, I'm assuming the flicker in the status bar was my message!
<g>
Any way to have the simple status bar message below display for a
couple of seconds before being destroyed, by any chance? Here is the
code as it stands now:
*****************************************************************************
Private Sub RequeryContactsForm_Click()
varReturn = SysCmd(acSysCmdInitMeter, "Re-querying ...", 1) 'msg to
user in status bar
On Error GoTo Err_RequeryContacts_Click
Me.Requery
varReturn = SysCmd(acSysCmdClearStatus) 'clears
status bar msg
Exit_RequeryContactsForm_Click:
Exit Sub
Err_RequeryContacts_Click:
MsgBox Err.Description
Resume Exit_RequeryContactsForm_Click
End Sub
*****************************************************************************
Thanks! D