Results 1 to 2 of 2
  1. #1
    FadingAPE is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2010
    Posts
    18

    Help Please

    Hello,



    I've got a problem;

    I've created a form that has a txt box and a cmd button. This allowa a user to type in a patient ID and then the cmd button is set up to search the database for that patient ID. I've suddenly had an error pop up when clicking the search button that says 'Module Not Found' and then this message pops up. 'The form name 'Form1' is mispelled or refers to a form that doesnt exsist. If the invalid form name is in a macro, an action failed diaglog box will display the macro name and macros arguement after you click ok. Open the macro window and enter the correct form name.'

    When I click ok no macro names come up - I've check all my macros and they all contain working form names. I dont have a form called form1 so I cant delete anything. I went into the VB of this project and can see 'form1' and when I click on it the same error messages pop up. Does anyone know how I can get rid of this. I dont understand why its suddenly affecting my search form as it didn't do it before.

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    try renaming your form to something else and changing the reference to form1 to whatever you changed the name to.

Please reply to this thread with any new information or opinions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums