G
gator
the following code reponds to a button click in form1....
DoCmd.OpenForm "DepositsQuery2009Detail"
DoCmd.GoToRecord acDataForm, "DepositsQuery2009Detail", acLast
also, there is code in DepositsQuery2009Detail form
Private Sub Amount_AfterUpdate()
DoCmd.Close acForm, "DepositsQuery2009Detail"
End Sub
It was working fine but now when I hit the enter key to execute the
Amount_AFterUpdate code, I get the message "the form name 'FormName' is
mispelled or refers to a form that doesn't exist.
the form 'FormName' is a deleted form in my database but is still listed as
a class object in VB. Is there a way to delete it from the list of class
objects? I have saved the DB and closed Access but that didn't help. any
ideas?
DoCmd.OpenForm "DepositsQuery2009Detail"
DoCmd.GoToRecord acDataForm, "DepositsQuery2009Detail", acLast
also, there is code in DepositsQuery2009Detail form
Private Sub Amount_AfterUpdate()
DoCmd.Close acForm, "DepositsQuery2009Detail"
End Sub
It was working fine but now when I hit the enter key to execute the
Amount_AFterUpdate code, I get the message "the form name 'FormName' is
mispelled or refers to a form that doesn't exist.
the form 'FormName' is a deleted form in my database but is still listed as
a class object in VB. Is there a way to delete it from the list of class
objects? I have saved the DB and closed Access but that didn't help. any
ideas?