473,783 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1650
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.microso ft.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.ne t> 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
2242
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 to the "look up by facility name" form, and opens it up. So far so good. She is able to click on and view every single thing on this pretty complicated form, including opening a variety of secondary forms. However, whenever she clicks on the...
1
1313
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). 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)...
1
1723
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, but now they cause this error in Access 2002 (Access 2000 is fine) Each of the sub forms use values from their parent forms to produce results.
2
19150
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. Interestingly, it doesn't crash if I run the app and open it in form view! Just if I attempt to design it. If I compact/repair, it allows me to design the form once. On any subsequent attempts to view in design mode, though, it crashes before...
6
2466
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) However.... If I programatically set the rowsource, and the query returns no records then access completely crashes and switches its self off,
47
4545
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 company and this is a big decision for us(!) It's not just the money it's committing to an new version of Access!
5
1576
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 experienced this, or does anyone have an idea what I shoudl be looking at?
5
4665
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 with XP & Office 2007 - this will be the setup on the client machines) and when I try to open the entire database is open despite using the following: Public Function SetStartupProperties()
1
1882
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 internal machines, and have been struggling to find a lead for several days now, to no avail. MSAccess.exe is consistently crashing with Vbe6.dll (DLL version
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10081
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.