Method 'Item' of object 'Forms' failed : What does this mean!?!?!?!?

  • Thread starter Thread starter Mark Allen
  • Start date Start date
M

Mark Allen

I have a form which on the click of a button opens another form and
populates some of the fields with data from its own fields, the code is
below :

DoCmd.OpenForm "Add Fault Form", acNormal

Forms![Add Fault Form]!ID_NO = Me.ID_NO
Forms![Add Fault Form]!TXT_SERIAL_NO = Me.SERIAL_NO
Forms![Add Fault Form]!TXT_ASSET_NO = Me.ASSET_NO

This code was working fine previously but now it comes up with the following
error every time I try to execute it :

Method 'Item' of object 'Forms' failed

I've searched online but cannot find anything relating to this error. Can
anyone shed any light on this?

Thanks in advance.

Mark Allen.
 
Back
Top