handling 2450 error

  • Thread starter Thread starter rum23
  • Start date Start date
R

rum23

Microsoft Office Access can't find the form 'frmLogin' referred to in a macro
expression or Visual Basic code.

How can I handle this error? I basically set bunch of things on the frmLogin
form, from a different form's method. And I don't want to do these settings,
if the frmLogin form is null. Want to do something like......

if (Forms.frmLogin <> Null) then
......
.......
endif

Not sure how to do this in ACCESS 2007. Can somebody please help?

Thanks a ton.
 
rum23 said:
Microsoft Office Access can't find the form 'frmLogin' referred to in a macro
expression or Visual Basic code.

How can I handle this error? I basically set bunch of things on the frmLogin
form, from a different form's method. And I don't want to do these settings,
if the frmLogin form is null. Want to do something like......

if (Forms.frmLogin <> Null) then
.....
......
endif

Not sure how to do this in ACCESS 2007. Can somebody please help?


This has nothing to do will Null. You need to check if the
form is open, the same as inA2003:

If CurrentProject.AllForms!frmLogin.IsLoaded Then
 
Back
Top