Solved

Access 2003 can not decompile database

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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 Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

830 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