Checking for opened form

  • Thread starter Thread starter John
  • Start date Start date
You can search the Forms collection (only loaded forms are in the
collection), you can look at the IsLoaded property in the AllForms
collection or you can use the acSysCmdGetObjectState action of the SysCmd
method.
 
Sorry, can you tell me how to display data from table to Status Bar Text with
this method?
Thanks!
 
Here Igor,

use this code in your global Module :

Sub MsgBar(msg As String) '*** Display message in status bar ***
RetVal = SysCmd(acSysCmdSetStatus, msg)
End Sub

and use this code make a call procedure
MsgBar "Ready"
 
Thanks David, I try to do this but unsuccessfuly...
I make table Descriptions with columns ID (auto num.) and DESC (text).
How to call with code some ID from this Table to display DESC in form status
bar?
 

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