Solved

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

Posted on 2013-01-27
7
426 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
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 500 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 57
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 57
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Familiarize people with the process of utilizing SQL Server functions 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 Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

910 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

25 Experts available now in Live!

Get 1:1 Help Now