How can people reliably trust M$ when you upgrade and have to re-write your apps? I just finished a project for a university in Access 97 and they wanted to see what would happen when its converted to Access 2000. Guess what? It bombed on the first form. Field name errors and message boxes that need to be corrected. And this was in the first 60 seconds? What else will need to be fixed heaven only knows. Sorry for the rant but how do I justify this to the customer?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Mickey$oft – Access97 –> Access 2k conversion err
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Mickey$oft – Access97 –> Access 2k conversion err
- This topic has 12 replies, 3 voices, and was last updated 24 years, 1 month ago.
Viewing 2 reply threadsAuthorReplies-
WScharlotte
AskWoody LoungerMarch 2, 2001 at 3:43 am #517025Did you use the built-in wizard to convert the database or did you just import everything into a new Access 2000 database? Or did you try to turn it into an ADP?
I’ve converted a lot of Access 97 applications to Access 2000 with nary a problem, and I haven’t had to rewrite any of them unless I decided to use ADO instead.
However, if you just import everything, you’re going to start off with difficulties because the default object model changed between versions. To make your 97 code work, you shouldn’t have to do anything but turn off the ADO reference and turn on the DAO 3.6 reference. If you tried to switch to an ADP, I would not surprised by the problems, since ADPs are largely based in SQL Server and rely on that version of SQL and T-SQL.
Oh … you weren’t using a compatibility library, I hope. Those things have caused more problems than nails on the freeway, and I wish they would evaporate. They allow and even encourage you to write code that is several versions out of date and will NOT run in the current version of the application. They aren’t a problem that’s new to Access 2000, either …. There, that’s the end of MY rant!
-
WSDouglas Martin
AskWoody LoungerMarch 2, 2001 at 2:52 pm #517087I’ve been testing the conversion of quite a few of our databases to Access 2000 (we’re planning on converting “for real” in the fall and we don’t want surprises). When the automatic conversion completes without errors I haven’t had to do anything about ADO; the conversion process does the appropriate things with the references.
If the automatic conversion fails (and I’ve had that happen several times) and you convert by importing everything, that’s when you need to watch your references or you’ll get lots of compile errors. Make sure (unless you want to make changes to your code) that the DAO stuff comes before (i.e. closer to the start of the list of references) than the ADO stuff. I haven’t tried turning off the ADO since it didn’t appear necessary once the order is right; I’ll have to look at that sometime.
-
-
WSjp2558
AskWoody LoungerMarch 2, 2001 at 1:08 pm #517075I just copied my 97 database to a separate folder and then opened Access 2K and pointed it to my copy of my 97 db. I let the wizard to the conversion and that is what generated the errors. How do I then turn off the ADO ref and turn on the DAO 3.6 ref? I’m not sure what an ADP is so I don’t think I did that. Also I’m not sure what the compatability libraries are so I don’t know if that is a factor here either.
Thanks for responding to my rant Charlotte. As I mentioned before, I’m a 15 year veteran RPG programmer, but was laid off at the beginning of the year. Since then I’ve been trying my hand at Access and doing some sideline work between jobs. If I thought I could make a living doing stricly Access coding I might consider it, but little trivial things like these errors keep me from abandoning my AS/400 platform and skill set. But I will hang in there and continue obsessing about Access, and will hopefully learn enough to be dangerous.
-
WScharlotte
AskWoody LoungerMarch 2, 2001 at 3:02 pm #517089What you did is the usual way to convert, and if it didn’t work it has to be because of the code itself. In a conversion, the DAO reference is set automatically and ADO left off, so that shouldn’t be the problem. Don’t worry about the ADP because they aren’t created by direct conversion.
It’s hard to guess at what might have caused the problem because I have no clue as to what your VBA coding level might be. If you built your Access app using macros and wizard-generated code, then it isn’t completely surprising if it failed. The wizard-generated code in 97 was actually 95 code (don’t ask me why, I’ve often wondered myself), so there may very well have been stuff that bollixed up the conversion. If you go to the VB editor in Access 2000 and select Tools–>References, you’ll see a list of references set for the project. If the Microsoft DAO 2.5/3.5 compatibility library isn’t checked, try turning it on and then compiling the code after you close the references dialog. That allows obsolete code to run under the current engine, although it’s a poor substitute for keeping your VBA skills up to date. You said the code threw errors, so I assume the conversion completed, right? If the wizard couldn’t complete the conversion, that’s a different problem and dealt with differently. In that case, post the details and we’ll walk you through the alternate route.
I do make my living building Access applications, so don’t give up on it yet. Access is a slightly schizo program because it is marketed as an end-user database and so has a lot of stuff that serious developers should never use (like the compatibility libraries!) and few tools for professional developers. It’s getting better as it goes, but building high quality in Access is just as hard or easy as building them in any other development environment. It’s primarily a question of knowing your tools extremely well and using them appropriately.
-
-
WSjp2558
AskWoody LoungerMarch 2, 2001 at 3:27 pm #517101This is the error. I copied it from another posted thread. I have the following statement in an Access 97 database, that refers to a field on a different form. Problem is when the statement executes I get an error saying Access can’t reference the field ‘forms’. How do I correct this in Access 2K?
If Forms![Events Select]![event id] “” Then….
-
WSDouglas Martin
AskWoody LoungerMarch 2, 2001 at 6:02 pm #517128Actually, Charlotte, I’ve got databases that do not convert using the automated method, but when manually converted (by importing and then moving the DAO reference up near the top of the reference list) compile and run fine. So, you may be right that there is some code that the automated method hiccups on, but that does not mean that the code won’t compile in A2000.
-
WScharlotte
AskWoody Lounger
-
-
WScharlotte
AskWoody Lounger -
WSjp2558
AskWoody Lounger -
WScharlotte
AskWoody LoungerMarch 3, 2001 at 5:48 am #517218If the form exists and is not misspelled AND is loaded when the code executes, then the only thing I can suggest is that the form is corrupted. Sometimes that will show up in a conversion, and the simplest way to test it would be to create a new Access 2K database and try importing all the objects from your Access 97 app. If it is corrupted, Access should fuss about it. Even if it isn’t corrupted, it still has to be loaded for your code to work, so make sure that’s happening as well.
Did you check to see if you had any missing references? That can cause normal code to break down, so it’s always the first place to look when the unexpected happens.
-
WSjp2558
AskWoody LoungerMarch 3, 2001 at 2:50 pm #517250Ok – the form exists and it is loaded when the code executes, however it is not the form with the current focus. The form with the error is not a subform. I created a new 2K db and imported all of the objects. Nothing appeared to be corrupted but upon trying to display the switchboard, I received an error on the following statement:
“Dim dbs as Database”
And all I’m trying to do is replace the A97 statement ‘If Forms![Events Select]![eventID] “” Then’ with the 2K equivalent. How hard can this be?
-
WScharlotte
AskWoody LoungerMarch 3, 2001 at 6:06 pm #517262Back up to earlier in the thread. When you create a new Access 2000 database, the default object model is ADO. You have to set the reference to DAO and uncheck the ADO reference so your code will compile.
As for the other, if you still have a problem, look at the form you’re referencing. Is the control’s visible property set to True? If not, you won’t be able to reference it from another form, because its scope is private to that form.
-
-
-
-
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
A Funny Thing Happened on the Way to the Forum
by
bbearren
10 hours, 33 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
5 hours, 17 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
1 hour, 31 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
39 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
14 hours, 22 minutes ago -
The time has come for AI-generated art
by
Catherine Barrett
23 hours, 4 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
4 hours, 6 minutes ago -
23 and you
by
Max Stul Oppenheimer
11 hours, 21 minutes ago -
April’s deluge of patches
by
Susan Bradley
15 hours, 32 minutes ago -
Windows 11 Windows Updater question
by
Tex265
21 hours, 18 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
1 day, 20 hours ago -
Registry Patches for Windows 10
by
Drcard:))
2 days ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 day, 7 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
16 hours, 35 minutes ago -
Align objects on a OneNote page
by
CWBillow
2 days, 6 hours ago -
OneNote Send To button?
by
CWBillow
2 days, 6 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
2 days, 15 hours ago -
No Newsletters since 27 January
by
rog7
20 hours, 2 minutes ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
1 day, 16 hours ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
1 day, 14 hours ago -
Google One Storage Questions
by
LHiggins
22 hours, 38 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
1 day, 5 hours ago -
Ancient SSD thinks it’s new
by
WSila
1 day, 20 hours ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
3 days, 6 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
16 hours, 52 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
2 days, 14 hours ago -
Firefox 137
by
Charlie
5 hours, 55 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
3 days, 18 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
3 days, 18 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
3 days, 18 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.