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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '2455'

Status
Not open for further replies.

jjmclell

Technical User
Aug 10, 2007
34
CA
Hi there,

I'm running into a problem with an 'OnCurrent' event I coded into my form. This is the code I'm trying to execute:

Forms!frmCSA!subfrm1CSA.Form!subfrm2CSA.Form!subfrm3CSA.Form!Description.Locked = True

I'm certain there's nothing wrong with the code itself...the only time I get the error is when I try to delete a record. The error tells me, "You entered an expression that has an invalid reference to the property form/report".

I think what is happening is that the record is being deleted, and then the OnCurrent event is trying to run on the record that is no longer there. Can anybody confirm this?...and if so can anybody suggest a solution?

Thanks,

jjmclell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top