Solved

Access 2003 can not decompile database

Posted on 2007-12-04
2
1,188 Views
Last Modified: 2013-11-28
When I go to open a form that is in my Access 2003 database i get this error
There is not enough memory to perform this operation

I did some searches and I found this but it does not work for me - states can not fiind program

C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE /decompile

That is where my Access is located so if I jsut run C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE without the decompile it opens Access - is there a way to run the decompile another way?

To decompile your database, follow these steps:
From the Windows, Start, Run command line, type (for example):
C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE /decompile
When Access opens, open the database you want to decompile. You may or may not see a message about VBA code. Just ignore it.
Open up any module. Compile it via Debug, Compile.., then File, Save.
Go back to the database and Compact it (Tools, Database Utilities, Compact and Repair Database)
0
Comment
Question by:Pdeters
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 20402751
Try exporting the form and re-importing it into the database as follows.  Make sure you have a backup first.

In the immediate window run:
Application.SaveAsText acform, "formnamehere", "c:\foldername\formname.txt"

Delete the form in the database.
Compact the database.
Use the next command to import the form.

Application.LoadFromText acform, "formnamehere", "c:\foldername\formname.txt"

0
 

Author Closing Comment

by:Pdeters
ID: 31412577
After doing this i was able to compile a (was not able to do that either) and found I had code that wrapped and was causing problem. Thank you!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question