Solved

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

Posted on 2004-08-10
10
2,769 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 11763895
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
ID: 11763962
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 85
ID: 11764113
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:Djrobluv
ID: 11764376
Yes the Microsoft DAO Object is checked....
0
 

Author Comment

by:Djrobluv
ID: 11764415
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
 

Author Comment

by:Djrobluv
ID: 11764820
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
ID: 11766175
check you references ... actXTimePurge looks like it is an active X control that may not be registered on this machine.

Steve
0
 
LVL 85
ID: 11766355
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
ID: 12342246
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
ID: 12838125
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

636 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