J
John J.
I have an app that is being used by 8 people. Only one of the users
sometimes gets the following error message, which happens randomly and can
not be forced:
"Error 2455 The expression contains an invalid reference to the property
Form/Report"
The error occurs when the user pushes a button that triggers locating a
record on another open form. This is the code behind the button. The
btnQS_Click on frmA does the actual locating.
Forms![frmA].[fldQS] =
Forms![frmGlobSearch]![subfrmGlobSearch].Form![ID_source]
Call Forms.frmA.btnQS_Click
Forms![frmA].SetFocus
Since the error can not be forced it's hard to troubleshoot.
Looking at the code does someone perhaps have an idea what causes the error
to occur and how to solve the error? Should I reference differently to the
forms?
Thanks for any input.
John
sometimes gets the following error message, which happens randomly and can
not be forced:
"Error 2455 The expression contains an invalid reference to the property
Form/Report"
The error occurs when the user pushes a button that triggers locating a
record on another open form. This is the code behind the button. The
btnQS_Click on frmA does the actual locating.
Forms![frmA].[fldQS] =
Forms![frmGlobSearch]![subfrmGlobSearch].Form![ID_source]
Call Forms.frmA.btnQS_Click
Forms![frmA].SetFocus
Since the error can not be forced it's hard to troubleshoot.
Looking at the code does someone perhaps have an idea what causes the error
to occur and how to solve the error? Should I reference differently to the
forms?
Thanks for any input.
John