when you want to enter a ne3w record do you open that form form the switchboard. If so just set the properties on switchboard to open that form in addnew. And delete the on open event.
If not you can use the is loaded function.
eg
on from_open ()
if isloaded (parentform) then...