Solved

Access 2003 can not decompile database

Posted on 2007-12-04
2
1,130 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
Comment Utility
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
Comment Utility
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

763 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

7 Experts available now in Live!

Get 1:1 Help Now