• Error copying reports (Access 2003)

    Author
    Topic
    #436673

    I’m getting a series of errors when trying to copy/paste reports. Here’s the background: The file was initially created in Access97, then converted to Access 2002 when a user unknowingly updated it. No big problems there. Now, I have just been issued Access 2003 (yet my users are still on 2002). Anyway, on this one report (I have successfully copied others), I get this series of errors
    Note: I don’t always get all of them, but I will get at least one of them….oh, that that name rpt_NAmers was just something I made up because I got tired of typing long report names only to recieve an error. there is no such existing object, module, procedure or whatever.

    Viewing 0 reply threads
    Author
    Replies
    • #1035927
      • #1035930

        Right after I posted this, I searched a little deeper and I found all the references to compact/Repair as well as the link to the JET repair tool.
        Unfortunately, when I try to implement the repair, I get the macro warning (which I can’t seem to turn off).
        I even tried importing the report into another existing database but got this error :
        However…when I try to import it into a new database, I get the ole ‘name conflicts with existing blah blah’ error.

        I can’t rename this or change it and ‘save as’…this object appears to be dead in the water.

        • #1035932

          Can you open the database?
          If so, activate the Visual Basic Editor (Alt+F11).
          Select Tools | References…
          Do you see any references starting with MISSING?

          • #1035934

            NOthing appears to be missing

            • #1035937

              Have you looked at the MSKB article I mentioned?

              Do the reports contain non-native controls (i.e. controls that are not listed in the default Control Toolbox)?

            • #1035954

              Yes, I checked it out…and I even downloaded the latest recommended Jet SP. When I tried to install, it claimed that my version was newer. That wasn’t too surprising. I have a feeling that this is due to the fact it was created in 97, updated by a user in 2002 and then finally altered by me in 2003, without resolving the initial errors. When my user opens it, she get’s a different error.. bottomline: All I want is the report, so I can save it as another report and move on. Oddly enough the report runs just fine.

            • #1035960

              If you wish, you can post a stripped down copy of your database. See post 401925 for instructions.

            • #1036302

              Attached is the stripped-down database per your instructions

              The report is based on a parameter query. Just feed it 9/1/06 and 10/30/06

              There are two things wrong with this database:
              1- I can’t copy this particular report or rename it
              2- It won’t compact and repair without raising the macro screen…but that could be a local config issue.

              Thanks for the help.

            • #1036304

              Does the report in the attached zipped database work better?

            • #1036306

              Yes, I can at least copy and paste another instance…so thats fixed.
              I still can not compact and repair. Does that work on your system?
              Also, it fails on importing objects from another database.
              If you can do both of those, I know that it’s a local config issue.

            • #1036308

              I removed the code module from the report (since there wasn’t any code anyway) and removed unused references in the Visual Basic Editor. I did this in Access 2002.
              I won’t be able to test in Access 2003 until Wednesday; perhaps someone else can test before that.

            • #1036470

              OK…I found out what you did and it worked for me as well. I’ve already repopulated the revised mdb file with the necessary elements, save one exception: The switchboard. Are there any ways to convert on import a previous version’s switchboard? I can always import the Switcboard Items table, (and even the form itself) but the switchboard fails on open. I have a feeling it is the Office 10 object library, which is nowhere to be found in the references. It’s really funny vbecause it stumbles on compile in the FillOptions() procedure with an “User-defined object not defined” error msgbox. The line that trips it up:
              Dim dbs as database brickwall

            • #1036475

              Try setting a reference (in Tools | References) to the Microsoft DAO 3.6 Object Library.

            • #1036478

              BINGO! Thanks a million for all your help. This was actually a blessing in disguise as I was trying to figure out a way to glean the useful elements from the flotsom (unused queries and tables) that had collected over time. The documenter was a decent place to start, but this little salvage operation was better than I’d hoped. You saved me hours of hairout.

    Viewing 0 reply threads
    Reply To: Error copying reports (Access 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: