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
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