?
Solved

Access 2003 can not decompile database

Posted on 2007-12-04
2
Medium Priority
?
1,203 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 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