A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can't edit Vb!



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 07:06 PM posted to microsoft.public.access
NAS
external usenet poster
 
Posts: 104
Default Can't edit Vb!

Whenever I try to edit the Visual Basic in my database, I get an error saying
"Unexpected error, quitting" followed by an alert saying "Out of memory".
What do I need to do to fix this issue? I am using Access 2003 on Windows XP.
--

  #2  
Old March 23rd, 2010, 07:28 PM posted to microsoft.public.access
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Can't edit Vb!

1. Make a complete backup of the database file and put it away for safe
keeping.

2. Run a Compact and Repair (but it probably won't help).

3. In the VBA window go up to Debug, Compile? What happens when you run it?

4. If 3 doesn't help or work right, create a new database and try to import
everything into it. If something won't import, it's probably corrupted beyond
help.

5. Do a google search of the "access decompile". This can often clear up
code problems.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"NAS" wrote:

Whenever I try to edit the Visual Basic in my database, I get an error saying
"Unexpected error, quitting" followed by an alert saying "Out of memory".
What do I need to do to fix this issue? I am using Access 2003 on Windows XP.
--

  #3  
Old March 23rd, 2010, 07:39 PM posted to microsoft.public.access
NAS
external usenet poster
 
Posts: 104
Default Can't edit Vb!

Luckily its a copy and the orignal database doesnt seem to have any issues.
I'm not sure if maybe this is the cause of the problem. I ran a compact and
repair but like you said, it didn't help. Unfortunetly I can'tget to the VBA
window to debug it. I click on Visual Basic Editor and nothing happens.
--
NO, I DO NOT WANT YOU TO BUILD A DATABASE FOR ME FOR A "REASONABLE FEE".


"Jerry Whittle" wrote:

1. Make a complete backup of the database file and put it away for safe
keeping.

2. Run a Compact and Repair (but it probably won't help).

3. In the VBA window go up to Debug, Compile? What happens when you run it?

4. If 3 doesn't help or work right, create a new database and try to import
everything into it. If something won't import, it's probably corrupted beyond
help.

5. Do a google search of the "access decompile". This can often clear up
code problems.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"NAS" wrote:

Whenever I try to edit the Visual Basic in my database, I get an error saying
"Unexpected error, quitting" followed by an alert saying "Out of memory".
What do I need to do to fix this issue? I am using Access 2003 on Windows XP.
--

  #4  
Old March 23rd, 2010, 08:01 PM posted to microsoft.public.access
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Can't edit Vb!

Since it can't hurt, try the decompile / re-compile trick.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"NAS" wrote:

Luckily its a copy and the orignal database doesnt seem to have any issues.
I'm not sure if maybe this is the cause of the problem. I ran a compact and
repair but like you said, it didn't help. Unfortunetly I can'tget to the VBA
window to debug it. I click on Visual Basic Editor and nothing happens.
--
NO, I DO NOT WANT YOU TO BUILD A DATABASE FOR ME FOR A "REASONABLE FEE".


"Jerry Whittle" wrote:

1. Make a complete backup of the database file and put it away for safe
keeping.

2. Run a Compact and Repair (but it probably won't help).

3. In the VBA window go up to Debug, Compile? What happens when you run it?

4. If 3 doesn't help or work right, create a new database and try to import
everything into it. If something won't import, it's probably corrupted beyond
help.

5. Do a google search of the "access decompile". This can often clear up
code problems.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"NAS" wrote:

Whenever I try to edit the Visual Basic in my database, I get an error saying
"Unexpected error, quitting" followed by an alert saying "Out of memory".
What do I need to do to fix this issue? I am using Access 2003 on Windows XP.
--

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.