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, " ")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top