Solved

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

Posted on 2009-05-11
3
803 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

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

773 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