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
-
Bornova hali yikamaci (Awaiting moderation)
by
myrnablewett375
10 minutes ago -
Synology limits hard drives
by
Susan Bradley
4 hours, 24 minutes ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
10 hours, 27 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
10 hours, 29 minutes ago -
Upgrade Sequence
by
doneager
3 hours, 55 minutes ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
4 hours, 3 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
3 hours, 48 minutes ago -
The incredible shrinking desktop icons
by
Thumper
1 day, 7 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
1 day, 9 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
4 hours, 30 minutes ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 9 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
1 day, 18 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
22 hours, 55 minutes ago -
Speeding up 11’s search
by
Susan Bradley
15 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
2 hours, 45 minutes ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
2 days, 8 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
2 days, 15 hours ago -
24H2 fixed??
by
CWBillow
1 day, 8 hours ago -
Uninstalr Updates
by
jv16
2 days, 21 hours ago -
Apple zero days for April
by
Susan Bradley
2 days, 1 hour ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
1 day, 18 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
3 days, 19 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
3 days, 2 hours ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
3 days, 10 hours ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
4 days, 4 hours ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
4 days, 7 hours ago -
0patch
by
WSjcgc50
9 hours, 1 minute ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
4 days ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
4 days, 10 hours ago -
Problem opening image attachments
by
RobertG
4 days, 11 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.