473,770 Members | 6,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access2000 can't find Utility.mda file

I've been running an Access2000 database for a couple years on a Win2k
machine fine. We tried to copy the database over to another machine that
already had Access2000 installed. When we tried to run it, we got an error
on the following piece of VBA code embedded in a form:
------------------------
With Me
.AgeMax = DateDiff("yyyy" , Me.dteDateOfBir thMin, Date)
.AgeMin = DateDiff("yyyy" , Me.dteDateOfBir thMax, Date)
End With
------------------------

Note AgeMax, AgeMin, dteDateOf BirthMin, dteDateOf BirthMax are controls on
the form.

The program chokes on the "Date" argument, claiming it is undefined.

Being the experienced Windows user I am, I immediately shut down and restart
the computer (this often solves such unusual problems). But it didn't solve
it this time.

So I click References in the "Tools" menu (design view for this module), and
it says the file "utility.md a" is missing. I assume this is where the Date
function is, or should be. So I click the Browse button and manually click
my way through the appropriate directories until I find the utility.mda
program. I double click it to tell Access where to find it. It tells me it
can't copy that file because a file with the same name already exists at
that location!!!!

Being the experienced Windows user I am, I shut down and restart Access.
Still doesn't work. So I restart the computer again. Still doesn't work. The
clock is running and my client is wondering why I'm having so much trouble
with a program they've been using on another machine for two years with no
trouble.

HELP!!!

Mike Metzger
Nov 12 '05 #1
2 10549
If it is referencing utility.mda, it's almost certainly been converted from
an earlier version of Access and it probably doesn't need the reference.

Try removing the reference to utility.mda and see if the db works.

Terry
"Mike Metzger" <me************ ***@hotmail.com > wrote in message
news:Y4******** *********@newss vr28.news.prodi gy.com...
I've been running an Access2000 database for a couple years on a Win2k
machine fine. We tried to copy the database over to another machine that
already had Access2000 installed. When we tried to run it, we got an error
on the following piece of VBA code embedded in a form:
------------------------
With Me
.AgeMax = DateDiff("yyyy" , Me.dteDateOfBir thMin, Date)
.AgeMin = DateDiff("yyyy" , Me.dteDateOfBir thMax, Date)
End With
------------------------

Note AgeMax, AgeMin, dteDateOf BirthMin, dteDateOf BirthMax are controls on the form.

The program chokes on the "Date" argument, claiming it is undefined.

Being the experienced Windows user I am, I immediately shut down and restart the computer (this often solves such unusual problems). But it didn't solve it this time.

So I click References in the "Tools" menu (design view for this module), and it says the file "utility.md a" is missing. I assume this is where the Date
function is, or should be. So I click the Browse button and manually click
my way through the appropriate directories until I find the utility.mda
program. I double click it to tell Access where to find it. It tells me it
can't copy that file because a file with the same name already exists at
that location!!!!

Being the experienced Windows user I am, I shut down and restart Access.
Still doesn't work. So I restart the computer again. Still doesn't work. The clock is running and my client is wondering why I'm having so much trouble
with a program they've been using on another machine for two years with no
trouble.

HELP!!!

Mike Metzger

Nov 12 '05 #2
Terry-

Thanks for the advice. I'm not at the client right now, but my working copy
at home seems quite happy after I remove the utility.mda reference.

I'll see what happens with the "problem database".

Mike

"Terry Kreft" <te*********@mp s.co.uk> wrote in message
news:wf******** ************@ka roo.co.uk...
If it is referencing utility.mda, it's almost certainly been converted from an earlier version of Access and it probably doesn't need the reference.

Try removing the reference to utility.mda and see if the db works.

Terry

Nov 12 '05 #3

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

Similar topics

2
1630
by: jason | last post by:
Is there a specific path I can follow to upsize my access 2000 database which has: 20 tables - mixture of primary and foreign tables 20 queries (action, select etc) Built on top of this access database is a set of front-end ASP pages and backend administration pages using a combination of stored queries etc. I am very hesitant about the whole process as I have just my application
2
1508
by: B Mahoney | last post by:
Is there a Python 'find' -like utility that will continue the file search through any zippped directory structure on the find path?
1
2651
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to automatically find and convert their Access97 databases on a specific drive. I want to convert the databases through VBA : 1. create an empty Access2000 2. set the right properties and references 3. import the objects (tables, queries,...
2
1675
by: Roger | last post by:
I've got an access97 app that is being converted to access2000 a dao recordset is different than an ado recordset, and whether or not the app works is determined by the priority of the libraries in the reference list is there some vba code that can a) tell me which of the 2 (dao or ado) is first in the list b) switch the order to put dao first if required
6
1445
by: MAT | last post by:
Hi. I developed a software that uses a Access 2000 database communication (with odbcConnection), because I have Office 2000 in my PC. The Software does not run in a PC that has Access 2003 (because of an error by database communication). What should I do in order to make the SW run in all PCs (with office 2000 or offive 2003). Thanks..
3
3801
by: rrs.matrix | last post by:
hi is there any system call in unix that will search for a file in the filesystem. someting like the find utility. if not then how should i search for a file in the file system. heard of system call by name opendir and readdir - is the how it should be done. tx.
9
1416
by: leen | last post by:
helo...i want to know about something...i think u all know about this...how much the maximum size for Microsoft Access2000 database??can i load bitmap files about 38000..which are about 5gig??? plz... i need an answer...plz... thanks for any help..
6
1819
by: alanpike | last post by:
Using SendObject in an Access2000 macro, I can send a report as an email attachment to MS Outlook. I would like the capability to have the person reading the attached email report to somehow communicate (from the open outlook message...a button or something) their approval or rejection of the email which initiates another macro in Access2000. Is this possible and if so, where can I find some info concerning this type of automation?
3
1790
by: olle | last post by:
How to deal with a VBA-project that is damaged? Hi everyone. I am BigOlle from sweden and I have been working with Accees for ten years I am now working on a project that started in Access97 and since a few months it continues in Access2000. My plan is to use Access2000 as it is supposed that mdb-files in Access 2000-format can be opened from all Access versions after that
0
9592
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
10231
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...
1
10005
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
9871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7416
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
5452
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
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
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
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.