473,788 Members | 3,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Conversion from Access 97 - 2000

Hi,

I have struck problems when trying to convert an Access97 database to
Access 2000.

I get a compile Error when I start the database in Access 2000.. The
message is Can't find project or library. In the procedures it
highlights the Error$ statement and in functions it highlights Left$ and
Mid$

Here is a sampel of the function code
If IsNull(frm.Open Args) Then
Exit Function
Else
intSemi = InStr(1, frm.OpenArgs, ";")
If intSemi = 0 Then
Exit Function
End If
strControlName = Left$(frm.OpenA rgs, intSemi - 1)
strControlValue = Mid$(frm.OpenAr gs, intSemi + 1)
' Possibly this OpenArgs belongs to someone else
' and just lookslike ours. Set the error handling
' to just ignore any errors on the next line
On Error Resume Next
frm.Form(strCon trolName) = strControlValue
End If

Here is the procedure

Sub Form_Current()
On Error GoTo Form_Current_Er r

If ChildFormIsOpen () Then FilterChildForm

Form_Current_Ex it:
Exit Sub

Form_Current_Er r:
MsgBox Error$
Resume Form_Current_Ex it

End Sub

I hope that somebody can give me some guidance towards a solution. I do
not have enough skills to troubleshoot this problem.

Thanks,

Peter Mather
Nov 12 '05 #1
2 2107
Your references are probably messed up.

This can be caused by differences in either the location or file version of
certain files between the machine where the application was developed, and
where it's being run (or the file missing completely from the target
machine). Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module (or open the
Debug Window, using Ctrl-G, provided you haven't selected the "keep debug
window on top" option). Select Tools | References from the menu bar. Examine
all of the selected references.

If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile All Modules), go back in
and reselect them.

If none have "MISSING:", select an additional reference at random, back out
of the dialog, then go back in and unselect the reference you just added. If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)

For far more than you could ever want to know about this problem, check out
http://members.rogers.com/douglas.j....nceErrors.html

As for the Error$ problem, even if fixing the references corrects it, you
should convert all of your Error$ to Err.Description : Error$ was replaced
quite some time ago, and I suspect that at some time the backwards
compatibility is going to disappear.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

"Peter Mather" <pm**@value.net .nz> wrote in message
news:61******** *************** *********@4ax.c om...
Hi,

I have struck problems when trying to convert an Access97 database to
Access 2000.

I get a compile Error when I start the database in Access 2000.. The
message is Can't find project or library. In the procedures it
highlights the Error$ statement and in functions it highlights Left$ and
Mid$

Here is a sampel of the function code
If IsNull(frm.Open Args) Then
Exit Function
Else
intSemi = InStr(1, frm.OpenArgs, ";")
If intSemi = 0 Then
Exit Function
End If
strControlName = Left$(frm.OpenA rgs, intSemi - 1)
strControlValue = Mid$(frm.OpenAr gs, intSemi + 1)
' Possibly this OpenArgs belongs to someone else
' and just lookslike ours. Set the error handling
' to just ignore any errors on the next line
On Error Resume Next
frm.Form(strCon trolName) = strControlValue
End If

Here is the procedure

Sub Form_Current()
On Error GoTo Form_Current_Er r

If ChildFormIsOpen () Then FilterChildForm

Form_Current_Ex it:
Exit Sub

Form_Current_Er r:
MsgBox Error$
Resume Form_Current_Ex it

End Sub

I hope that somebody can give me some guidance towards a solution. I do
not have enough skills to troubleshoot this problem.

Thanks,

Peter Mather

Nov 12 '05 #2
Douglas,

Thank you for the solution to my problem. It certainly was a missing
reference, and one not needed for my database, so deselection cured the
problem instantly.

Regards,

Peter Mather
"Douglas J. Steele" <NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Your references are probably messed up.

This can be caused by differences in either the location or file version of
certain files between the machine where the application was developed, and
where it's being run (or the file missing completely from the target
machine). Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module (or open the
Debug Window, using Ctrl-G, provided you haven't selected the "keep debug
window on top" option). Select Tools | References from the menu bar. Examine
all of the selected references.

If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile All Modules), go back in
and reselect them.

If none have "MISSING:", select an additional reference at random, back out
of the dialog, then go back in and unselect the reference you just added. If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)

For far more than you could ever want to know about this problem, check out
http://members.rogers.com/douglas.j....nceErrors.html

As for the Error$ problem, even if fixing the references corrects it, you
should convert all of your Error$ to Err.Description : Error$ was replaced
quite some time ago, and I suspect that at some time the backwards
compatibilit y is going to disappear.


Nov 12 '05 #3

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

Similar topics

3
1487
by: jason | last post by:
Could someone highlight any known problems in converting an access 2000 to access 2002 database....should I expect a painful transition or can I expect a quick turnaround time to get my existing 2000 apps into 2002 format? Many thanks Jason
4
2304
by: David | last post by:
Hi, I want to work with Access 2002. I will need to be able to distribute my application to users that may still have access 2000 on their computers. I know access 2002 has a function that enables you to convert a database to a format of an earlier version of Access. I wanted to check for any unforeseen problems so here is what I did: I used Access 2002 to convert my Access 2000 application to the 2002
3
2643
by: Michael Paul | last post by:
I have several Access 97' applications I would like to convert to Access 2000. I would also like to create run time versions of some applications with the Office 2000 Developer package (I have used the 97' Access Developer's Toolkit). I am running Windows 98 and would like to stay with that OS if possible (or recommended). I have the following questions: 1. Can Access 2000 be installed on a PC with Access 97 already installed and...
2
1661
by: bala | last post by:
hi access gurus would appreciate if u can give me pointers regarding conversion of ms access 97 application to ms access 2000, like what are the problems to be expected and how to handle it. also would appreciate if anyone can give pointers on using VSS with ms access 2000, how to handle multiuser issues when it comes to insert, update and delete.
1
1860
by: Oliver | last post by:
I have a database developed fully in Access 2000 which I make available to users of both Access 97 and Access 2000. I use a split front end/back end arrangement; with the BE in Access 97. When I have made developments I reissue the front end in both A97 and A2k formats. The latest version of the front end works fine in Access 2000, however when I convert it to A97, one object (a form), results in a Dr Watson Access violation error when...
13
4447
by: Greg Strong | last post by:
Hello All, Hello All, What are the ToDo's / Gotchas to convert an MDB Access 2K2 database to an Access Project (i.e. ADP) file for the front end using Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) for the back end? Now for the background. I have a prototype MDB file that was built in Access 2K2, and compiled in Access 2K to provide backward
2
1345
by: Deb | last post by:
All 12 of my department's machines are being converted next week from Windows 2000/Office 2000 to Windows XP/Office 2003. I have downloaded the Migration document from Microsoft for distribution but would like your input regarding Access as many of our group use it. I am concerned especially about linking to other Access databases. And about connecting to Dbo data. We also regularly connect to and from Excel files. All of our...
12
2264
by: Cy | last post by:
Hello Fellow New Group Folks, Here's today's problem. I was called in to help convert an Access 97 database to Access 2000. 99% of all my Access Dev. work has occurred in 2000, so I know very little about 97, however, from everything I read, it sounded like a conversion from 97 to 2000 should go smoothly. Boy was I wrong. Here's what we got. There is a form, that lists a group of employees. There is a command button, that when...
3
2742
by: NEWSGROUPS | last post by:
I am in the midst of trying to convert about 25 Access 2000 to Access 2003. The new environment consists of Office/Access 2003 and Outlook 2003. When converting the back ends I have no problems. When converting the front ends I get the following issues and error. If I try to import all the objects into a blank Access 2003 shell I get a missing reference error for Outlook 2000, Excel 2000, and Word 2000 or after importing all the objects...
1
1740
by: nmanolea | last post by:
Hi from Greece, I use access 97 in my daily work and I want to convert the databases I use from access 97 to access 2000. The conversion was OK unless a few conversion errors with minor significance. The main issue is that in my new access 2000 databases, the greek letters, words etc are not recognised and instead some strange symbols appear. So, I would like to ask what may be the problem and possible solutions to this. Thanks in...
0
9655
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
10172
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
10110
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
8993
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
7517
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
5398
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...
0
5535
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.