Solved

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

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

Expert Comment

by:Rey Obrero
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 119

Accepted Solution

by:
Rey Obrero 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

746 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

12 Experts available now in Live!

Get 1:1 Help Now