Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Repairing Tables, Query in an Application Program....

Posted on 2001-07-17
12
Medium Priority
?
188 Views
Last Modified: 2012-05-04
if example i have an application. and suddenly the power cuts off and it was not closed. then the tables or query or databases will be corrupted.. how do i repair this?
i want that when i click the button the tables or query or databases will be fixed..... with a message "tables are fixed.."
0
Comment
Question by:aerokevs
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6292458
? what database

(best way is to restore a savecopy)

if paradox then take a look to
http://www.borland.com/devsupport/bde/utilities.html
about tutility and its sample program

even you should raise the points,
because its not an very very very easy question

meikl ;-)
0
 
LVL 30

Expert Comment

by:third
ID: 6292598
this is not some kind of a program specific but your database instead. databases have their own recovery management. check your database software... :)
0
 
LVL 4

Expert Comment

by:jsweby
ID: 6293221
I can do it for MS Access but as Meikl says, 5 points isn't a lot...

J.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
HotRod40 earned 15 total points
ID: 6297729
Use the BDE table correction program. This allows you to repair and check your table for any corruption.The program name is: Tutil32.exe.
Check this URL for TUtility Dlls for a download:

http://www.borland.com/devsupport/bde/utilities.html

Hope this helps
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6297856
oh,

next one who is repeating comments from another experts as answer

hotrod40, see the first comment in this thread
0
 

Expert Comment

by:HotRod40
ID: 6298066
Sorry didnt read it correctly
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6311058
Meikl,

You proposed that as an answer for me ages ago, and it worked a treat.  I was using Paradox tables and had a programming running on a PC that was hanging all the time.  Each time my app was rerun, I just ran a check on the DBs and fixed them.

Since Interbase has become free, I dont use Paradox at all anymore - and so far I haven't had this problem at all.  My suggestion would be to move away from the archaic DOS tables and use Interbase :)

jsweby: I'd be interested in seeing how you can do it with MS Access.  Is it a COM thing, or is it a native call?


Stu.
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6311132
Oh dear :)
0
 
LVL 4

Expert Comment

by:jsweby
ID: 6311351
Stu,

Doing it with Access is a COM issue, talking directly to the DAO.

J.
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6312843
Cheers J.  I'll have to look into it sometime!

Stu.
0
 
LVL 4

Expert Comment

by:jsweby
ID: 6312994
If I can find a moment I'll put some code here on it.

J.
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6315332
Let me know if you find anything and I'll open a new question for you :)

Ta moochly.

Stu
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

971 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