Solved

Converting Access 97 Database to Access XP Database.. Conversion Errors

Posted on 2004-08-10
10
2,761 Views
Last Modified: 2008-01-09
I just converted a couple Access 97 databases over to Access XP. I got a message saying there was some conversion errors and to check the conversion error table. I checked the table and the error description is "unable to refresh linked table XXX" I'm not to savvy with Access, but no how to use it. How do I fix this problem or is it a problem need help fast....
0
Comment
Question by:Djrobluv
10 Comments
 
LVL 65

Expert Comment

by:rockiroads
Comment Utility
is your access database using linked tables?
if so, has the location of the backend database changed?
just try recreating the linked tables

perhaps u also need to upgrade the backend database as well
0
 

Author Comment

by:Djrobluv
Comment Utility
Yes it is using linked tables, and the location has not changed...Can you refresh my mind on how to recreate the linked tables. I rarely use Access and it's been a while for me....
0
 
LVL 84
Comment Utility
I believe Access uses DAO to rebuild links internally ... did you make sure to add the Microsoft DAO reference? Open the VB Editor, click Tools - References, and see if you find a check next to Microsoft DAO Object Library xx where "xx" is the highest number you find (probably 3.6)
0
 

Author Comment

by:Djrobluv
Comment Utility
Yes the Microsoft DAO Object is checked....
0
 

Author Comment

by:Djrobluv
Comment Utility
The table that did not get refreshed is in a database that has not been upgraded to 2002. I tried upgrading the database and now I'm getting Object Type: Module Error Description: There was complilation error during the conversion or enabling this database..
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:Djrobluv
Comment Utility
I open VBE and did Debug Compile Common (Database Name). It found a variable not defined. I don't know anything about VB but do know some programming. here is the line of code that is the problem. Variable = actXTimePurge


Private Sub actXTimePurge_LostFocus()
    MsgBox actXTimePurge.Value
    txtDate.SetFocus
    txtDate.Text = actXTimePurge.Value
End Sub
0
 
LVL 39

Expert Comment

by:stevbe
Comment Utility
check you references ... actXTimePurge looks like it is an active X control that may not be registered on this machine.

Steve
0
 
LVL 84
Comment Utility
I'd agree with Steve ... additionally, I had a similar problem, although I went "the other way" ... I had a db that had been built in Access 2002 and "downgraded" to 2000 ... couldn't build an .mde from it, but it would run okay as an .mdb ... finally sat down and went through it and found a constant that was valid for 2002 that wasn't valid for 2000 (I found it immediately upon attempting a Compile in my vmWare instance of Access 2000 with NO Acess 2002 libraries installed ... on my dev machine, with A2K and A2000 both installed, I never could find the error
0
 

Accepted Solution

by:
feman earned 500 total points
Comment Utility
I just encountered a similar problem and found that the error occurred in old code that referenced DAO objects without explicitly identifying them as DAO objects. E.g.:

dim oTDF as TableDef

changed to
dim oTDF as DAO.TableDef

The reference listed in the Access reference list was to Dao2535.tlb. After explicitly dim-ming these as DAO objects, I could re-name dao2535.tlb and the application would compile and run properly.
0
 

Expert Comment

by:bharatpanthee
Comment Utility
first open this database in exclusive mode then go to in tool menu inside it there is database utility then convert it into latest format.then your problem will solve.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now