473,396 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Form doesn't open

Hello everybody,

I have a little odd problem trying to open a form with MS Access 2002:
I use the DoCmd.OpenForm command like this: DoCmd.OpenForm
"frm_Salespersons".
and in return the error i got everytime is:

Run-time error '2004'
There isn't enough memory to perform this operation. Close unnedeed
programs and try the operation again.

Believe me. there is nothing else running in my PC.

Somebody has some idea of what to do????

Thanks.
Jun 27 '08 #1
5 2950
Well, i did it in fact.
But the error comes after the form loads.
I tried putting breaks in the code in the open and load events with no
success.

It happens when i add another control (a button in this case) to the
form.
Jun 27 '08 #2
"CenturionX" <da************@gmail.comwrote
Well, i did it in fact.
But the error comes after the form loads.
I tried putting breaks in the code in the open and load events with no
success.

It happens when i add another control (a button in
this case) to the form.
Because adding a control and opening the form are two separate actions "when
I add another control" does not make much sense to me. Could you clarify
with more details?

From what you did say, it does sound as if something is corrupted in your
database... is there any text associated with the error number? Is that a
system error message, or an application error message? It is certainly not
"normal operation" of a DoCmd.OpenForm "yourformname".

Larry Linson
Microsoft Office Access MVP
Jun 27 '08 #3
The only error i get is
Run-time error '2004'
There isn't enough memory to perform this operation. Close unnedeed
programs and try the operation again.

Nothing else.

It's something i can't understand.

Jun 27 '08 #4
On May 1, 2:11 pm, CenturionX <darwinbaldr...@gmail.comwrote:
The only error i get is
Run-time error '2004'
There isn't enough memory to perform this operation. Close unnedeed
programs and try the operation again.

Nothing else.

It's something i can't understand.
Just to be sure I've got this correct: You created a form which at
one time worked correctly. Then you added a new command button and
saved the form and now when you open it you get the error message
above.

If you now remove that command button and save the form, do you still
get the error when it is opened?

Have you tried creating a copy of this form with a different name and
opening the copy? If this works without error, delete the original
form and rename the copy to match the original.

Have you tried creating a new empty database, importing all of the
objects from your current database, and then opening the form from the
new database?

Bruce
Jun 27 '08 #5
Whenever you compact any database, just split database in front end and back
end. Front end includes application, queries, reports, macros and modules and
Back-end should contain table and relation. Backend must be on server. In
compact operation you should repair only back-end. To fix this error, you
import database table and forms in new blank database or you can use Stellar
Phoenix Access Repair Software. http://www-repair-access-file.com

CenturionX wrote:
>Hello everybody,

I have a little odd problem trying to open a form with MS Access 2002:
I use the DoCmd.OpenForm command like this: DoCmd.OpenForm
"frm_Salespersons".
and in return the error i got everytime is:

Run-time error '2004'
There isn't enough memory to perform this operation. Close unnedeed
programs and try the operation again.

Believe me. there is nothing else running in my PC.

Somebody has some idea of what to do????

Thanks.
Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: swathky | last post by:
I've tried mutiple things but no go -- (sorry this is so long) I'm collecting a 5 digit number in an input box function and all works fine until a number is passed that doesn't exist in the...
15
by: Steve | last post by:
I have a form with about 25 fields. In the BeforeUpdate event of the form, I have code that sets the default value of each field to its current value. For a new record, I can put the focus in any...
4
by: amywolfie | last post by:
I've been trying to do something for about 3 days – I get close, but not 100%. I am trying to: Open frmRevisionHistory from a button on frmFeeInput. If there is NO RELATED RECORD, then I...
5
by: AP | last post by:
IS there a way to run a procedure if the users close access directly rather than closing a menu screen that I have built? There is an event that works on close for this form, but it doesnt seem to...
2
by: Robert | last post by:
I am trying to give the user dynamic search capabilities to select almost any record in the database from criteria they select. Everything seems to work except when I open the display form to...
6
by: Arkadiusz Smolak | last post by:
Hi, I need a help. I have form inherited from other form. The base form implementation is placed in other assembly. I try to open my inherited form in designer but visual studio throws an...
11
by: Zytan | last post by:
I have created a new form from the main form. When I close the main form with the 'x' close button, its Form.FormClosed event is run, but not the dialog's. Is this normal? It is ok /...
19
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash...
5
by: Ian | last post by:
I am trying to: 1. Open a form on the external database 2. Enter a value in a text box on that form I have 1 above working OK using module form “The Access Web”, the module looks like this: ...
5
by: Neil | last post by:
"lyle" <lyle.fairfield@gmail.comwrote in message news:48c3dde7-07bd-48b8-91c3-e157b703f92b@f3g2000hsg.googlegroups.com... Question for you. I'm doing something similar, only, instead of opening...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.