Solved

Runtime error '2004' - there is no enough memory ( Access )

Posted on 2009-05-11
3
821 Views
Last Modified: 2012-05-06
Hi to Experts,
Suddenly, I have a strange bug in my access project.
I designed form in design mode, and after that I wanted to preview the form in runtime.
I double-clicked the form and get the following message:
" There isn't enough memory to perform this operation, Close unneeded programs and try the operation again "
But when I open another form, everything goes well.
I don't have problems with computer memory and did restarted the computer.
The problem appeared suddenly without any reason !!

Please Help me !!

I attached access file, the forms that make problems called "  frmAvodot, frmAvodotNew, frmAvodotSub "

Please help !!

Thank you



HacaatMehir.zip
0
Comment
Question by:OraDeveloper
  • 2
3 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 24359748
from Access menu
Tools >database utilities> compact and repair database

from VBA window
DEBUG > compile

correct any errors that maybe raised

if problem persists do a DECOMPILE

see this link
http://www.granite.ab.ca/access/decompile.htm

after decompiling
create a new blank db and import all objects

Tools >database utilities> compact and repair database


if still the problem persists
your form is corrupted,

create a new form

from the old form, select all controls and paste to the new Form


0
 

Author Comment

by:OraDeveloper
ID: 24359922
Hello, I did what you said - decompile, and then imported all objects to a new AccessFile.
There was the same error message when I tried to import the form called " frmAvodotSub ":

" There isn't enough memory to perform this operation, Close unneeded programs and try the operation again "

Now I know what form cause the problem.

I cant copy or export that form, I get the same err message.
I cant even open it in design mode to copy the controls !!

Please help me !!

If you can extract and revive that form I will appreciate !!

You can find it in the attached file in this solution.

Thanks


0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 24360044
ok., just look at your db.
sorry but it looks like you have to recreate your form from scratch
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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…
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.

685 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