var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
i'm looking for quite an easy thing i guess, but i got stuck somehow. I'm searching for a line of code to check whether a certain querydef is open or not.
I've got an timer event checking that should pop up a dialog when a certain query is closed.
i solved the problem on my own .. e.g. with a little help from google.
this little routine does the trick .. shows you whether an object (form, query, report) is loaded or not ..
Public Function isOpen(Name As String, _
Optional ObjectType As AcObjectType = acForm) _
isOpen = (SysCmd(acSysCmdGetObjectState, ObjectType, Name) <> 0)
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors