T
TC
Wembly said:Hi,
How would I write the code to check whether a form is
opened or not?
Thanks for your help.
Wembly
dim s as string
on error resume next
s=forms("YourFormNameHere").name
if err.number <> 0 then s = ""
on error goto 0
if s = "" then
' form is not open.
else
' form is open.
endf
HTH,
TC