how to show msg on access status bar?

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hi,

Can anybody tell me how to show my own msg on a Access Application Status
bar inside a module?
Just found from help, there is a StatusBarText Property, but dont know how
to use it.

Thanks
Michael
 
This should work:

Dim strStatusText As String
Dim varReturn As Variant

strStatusText = "Here's some status bar text."

varReturn = SysCmd(acSysCmdSetStatus, strStatusText)

If you want to remove the existing text from the status bar, then set the
text argument to a single space.

varReturn = SysCmd(acSysCmdSetStatus, " ")
 
Back
Top