Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access 97 table/query repair, possible to add tables from another instance of mdb?

Posted on 2013-01-27
7
Medium Priority
?
490 Views
Last Modified: 2013-04-07
i have an application built around access 97, data was damaged. i ran a repair in odbc, and after the repair i can now open the database except that it finds/alerts me that there are several tables and or queries missing.

q. if i start another instance of the mdb by reinstalling the application and keeping the
mdb username and password the same- can i take some of  the tables albeit, they are empty, from the new database and add them to the repaired mdb so that the application will find the tables?
0
Comment
Question by:cfgtechs
[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
7 Comments
 
LVL 22

Expert Comment

by:Kelvin Sparks
ID: 38823697
Yes you can. Haven't the synatx at hand now. The basic rule is to declare a new database instance and point that to the database you5 want to create the tables in. The create using VBA. i.e. CREATE TABLE..... and create via VBA. You can't copy them over.


Kelvin
0
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 38823721
This sounds like very hard work.
Is that because you don't have a copy of Access 97 installed?
0
 
LVL 2

Author Comment

by:cfgtechs
ID: 38824054
kelvin-

opeing the two side by side
repaired.mdb
newempty.mdb

-would i just use the create command on the repaired.mdb, comparing what i have to create to what's missing in repaired against the newempty.mdb?

peter- i do have access, however the front end is actually mp2 datastream v5. using odbc i was able to repair and compress, database opens now just missing some tables/queries.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 58
ID: 38824361
I would create a brand new DB.  The reparied DB my not be sound.

 I have to ask; no backups?

Jim.
0
 
LVL 58
ID: 38824366
<<peter- i do have access, however the front end is actually mp2 datastream v5. using odbc i was able to repair and compress, database opens now just missing some tables/queries. >>

 As long as you have Access, you can open the db seperate from the application.  As I said, I would create a new DB, pull the missing tables in from a re-install of the app, and then pull the tables you do have from the repaired db.

  only problem you will have if the missing tables are related to the ones you do have.  If that's the case, then the missing data becomes a problem.

Jim.
0
 
LVL 8

Expert Comment

by:chcw
ID: 38827083
It's better to add the existing tables in the repaired database to the new one, since the new one is health.
0
 
LVL 2

Author Closing Comment

by:cfgtechs
ID: 39056988
once i found old copy of Access 97, i was able to repair entirely within ODBC. thank you!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
What we learned in Webroot's webinar on multi-vector protection.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

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