On Current Expression error

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

On one form (With tab control object and 5 subforms) I'm getting the
following error when I go to the next record.

***********************************************************
The expression On Current you enterd as the event property setting produced
the following error: The object you referenced in the Visual Basic procedure
as an OLE object isn't an OLE object.

This error occurs when an event has failed to run because Microsoft Office
Access cannot evaluate the location of the logic for the event. For example,
if the OnOpen property of a form is set to =[Field], this error occurs
because Access expects a macro or event name to run when the event is fired.
***********************************************************
 
Never mind. Found a misspelling in my code. I had changed the name of the
subform and didn't change all the references in the VB Code.
 
Back
Top