Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determinate is a form is open 2

Status
Not open for further replies.

JUANCARLOS

Programmer
Oct 30, 2000
61
PE
I want to ask if a form is open as:

if Forms!xxxxxx is open

else

endif

Can you help me....
 
Function basFrmOpen(strFrmName as String) As Boolean

[tab]basFrmOpen = (SysCmd(acSysCmdGetObjectState, acForm, strFrmName) <> 0)

End Function

MichaelRed
mred@duvallgroup.com
There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top