473,387 Members | 1,721 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,387 software developers and data experts.

Access 2002 crashing

I have an Access database that I have been using for over a year. My
company just replaced my computer with a "New and Improved" computer,
and they also installed Access 2002 ( I was using 2000). The problem
that I am having is that the program crashes when it goes to run some of
the VBA code that hasn't been changed and was working for the past year.
Most of my VBA code has to do with DLookup. Is there some problem
(other than speed) with the DLookup function? The interesting part is
that it appears to crash at different places in the VBA code. In case I
haven't made myself clear, everything worked fine with old computer and
Access 2000, but I haven't gotten it to work at all with new computer
and Access 2002.

Does anyone have any ideas? Are there any preferences or options that
need to be set?

Thanks for your help

Nov 12 '05 #1
1 1299
Suggestions:

1. References.
Open a code window. Choose References from the Tools menu. Make sure none
are marked "MISSING". Deselect any references you do not need. More info on
references:
http://allenbrowne.com/ser-38.html

2. Compile
After setting your refs, make sure the database compiles: Compile from Debug
window (in a code window).

3. Service packs
In the main Access window, choose About from the Help menu. If you do not
see:
Access 2002 SP-3
then go to support.microsoft.com and download the latest service pack for
Office 2002. While you are there, get the JET4 SP8 from the Downloads
section as well.

If those 3 do not fix it, post back for more information.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Alan Brasel" <br****@snet.net> wrote in message
news:40**************@snet.net...
I have an Access database that I have been using for over a year. My
company just replaced my computer with a "New and Improved" computer,
and they also installed Access 2002 ( I was using 2000). The problem
that I am having is that the program crashes when it goes to run some of
the VBA code that hasn't been changed and was working for the past year.
Most of my VBA code has to do with DLookup. Is there some problem
(other than speed) with the DLookup function? The interesting part is
that it appears to crash at different places in the VBA code. In case I
haven't made myself clear, everything worked fine with old computer and
Access 2000, but I haven't gotten it to work at all with new computer
and Access 2002.

Does anyone have any ideas? Are there any preferences or options that
need to be set?

Thanks for your help

Nov 12 '05 #2

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

Similar topics

3
by: Siobhan Perricone | last post by:
I have a user who is having a problem with an access database that I didn't build and haven't had anything to do with in the past. The database opens up to the switchboard, and she clicks through...
1
by: Alan Brasel | last post by:
I have an Access database that I have been using for over a year. My company just replaced my computer with a "New and Improved" computer, and they also installed Access 2002 ( I was using 2000). ...
1
by: J | last post by:
Hi, Ive got 3 forms, (a subform within a subform within a form) and when I refresh the outermost form, Access closes and offers to send an error report. The forms worked fine a few weeks ago,...
2
by: Ray | last post by:
Stop me if you've heard this, but I am running Access 2002 and all of a sudden, if I design a particular form (it's been working fine for ages), Access crashes rather than open it in design view. ...
1
by: russ | last post by:
Hi I need some advice about ms-access limitations. i have some databases written by others i have been working with that keeps crashing. different on different computers, so it sounds like a...
6
by: AAJ | last post by:
Hi all I have a listbox on a form. If I set its rowsource directly, and the query in the rowsourse returns no data, then the displayed listbox is empty (exactly as you would expect) ...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
5
by: aabean | last post by:
I've upgraded to IE7, and using Access 2002 SP3. I can no longer view DAPs without IE crashing. A coworker had IE7 and the same issue. He reverted back to IE6 and no problems. Has anyone...
5
by: fly_mo | last post by:
Hello All, I have an app that has been rock solid (sofar) installed using Sagekey scripts etc and is currently a 2002/3 file. However client is upgrading to 2007 (so I have setup a test machine...
1
by: aaron | last post by:
Hello folks, Has anyone ever experienced the Access 2002 runtime crashing when the "Compact on Close" option is set for an MDE file? We are currently having this problem on a number of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.