Solved

Access 2003 can not decompile database

Posted on 2007-12-04
2
1,144 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now