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

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.dteDateOfBirthMin, Date)
.AgeMin = DateDiff("yyyy", Me.dteDateOfBirthMax, 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.mda" 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 10526
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*****************@newssvr28.news.prodigy.co m...
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.dteDateOfBirthMin, Date)
.AgeMin = DateDiff("yyyy", Me.dteDateOfBirthMax, 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.mda" 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*********@mps.co.uk> wrote in message
news:wf********************@karoo.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
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...
2
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
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...
2
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...
6
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...
3
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...
9
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???...
6
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...
3
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.