"Hidden module" when trying to create MDE file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattkorguk
    New Member
    • Mar 2007
    • 28

    "Hidden module" when trying to create MDE file

    Hi,
    I have been trying to create an MDE version of our Db but keep receiving the message "Complile Error in hidden module: Form_formname"

    I thought I'd see if it was just that one form causing issues, so I deleted it! But now it's just moved onto another form!!

    If anyone could shed some light on this I'd be most appreciated.

    Thanks.
    Matt
  • MikeTheBike
    Recognized Expert Contributor
    • Jun 2007
    • 640

    #2
    Originally posted by mattkorguk
    Hi,
    I have been trying to create an MDE version of our Db but keep receiving the message "Complile Error in hidden module: Form_formname"

    I thought I'd see if it was just that one form causing issues, so I deleted it! But now it's just moved onto another form!!

    If anyone could shed some light on this I'd be most appreciated.

    Thanks.
    Matt
    Hi

    I assume the code compiles runs OK in the MDB file?

    I have only come accross this error when making an MDE file using a PC running Access 2k using a file designed using a PC running A2k3.

    On compiling (on the A2k PC) there is a missing referance. This needed restablishing on the older PC to the older version of the Referance.

    Other that that I am fresh out of ideas.

    MTB

    Comment

    • missinglinq
      Recognized Expert Specialist
      • Nov 2006
      • 3533

      #3
      MikeTheBike
      I assume the code compiles runs OK in the MDB file?
      Have we , in fact, established that the code's been compiled before attempting to create the MDE file?

      Comment

      • mattkorguk
        New Member
        • Mar 2007
        • 28

        #4
        Apologies, yes the mdb has been compiled and is currently in Access 97.
        The compile went through ok, but on trying to create the MDE again, I got the same message. "Compile error in hidden module. Form_formname"

        There is a help file which provides this;
        "A protected module can't be displayed. This error has the following cause and solution:

        ยท There is a compilation error in the code of the specified module, but it can't be displayed because the project is protected.

        Unprotect the project, and then run the code again to view the error.

        For additional information, select the item in question and press F1. "

        It's not protected that I know of!?!
        Thanks

        Comment

        • mattkorguk
          New Member
          • Mar 2007
          • 28

          #5
          RESOLVED:

          This is to all access developers who "copy" forms when building a Db!

          If you've copied another form and then do not delete any code which refers to buttons etc not used on the new form, you shall be unable to create the MDE file!

          I hope this shall save other users some time in the future.

          Thanks
          Matt

          Comment

          Working...