Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Clipper / DBF error

foxpro

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 HugoEdKN7

HugoEdKN7

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 24 August 2015 - 03:43 AM

I'm not able to open Clipper application (app is 15 years old) because i'm getting :
 
error dbfntx/1012 corruption detected
 
Anyway to fix corrupted dbf besides restore from last backup?
 
Please advise.


#2 Rakso

Rakso

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 335 posts

Posted 24 August 2015 - 06:14 AM

I have never worked with clipper but i read a bit online about the error you were getting i found people recomending

 

First make sure that the file type is the right one for the operation.

For index files, make sure that the type of index matches the driver
being used (e.g., .ntx for DBFNTX). Try recreating the database file
and/or index files.

 

I also found theese links:

http://computer-prog...7b7b578a1ba.htm

http://www.ousob.com...ror/ng35950.php

http://www.dbforums....-detected-error

 

As i said i have never worked with clipper, this is just what i got from reading a bit. 


I am a freelance web developer & web designer. I loves to make websites and would be happy to work with you.

Check out my portfolio: http://oskarmendel.me/


#3 MarkGarstr1

MarkGarstr1

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 28 August 2015 - 03:50 AM

This depends on the corruption range. 
 
Sometimes this bug is reported when the physical number of records does not correspond to file size (it is good), sometimes it means ovewritten file heading which is not so good but you may replace this heading by one from the backup, sometimes the curruption affects even data the the restore older file is the best choice.
 
Backup the corrupted file and try some of many DBF repair or recovery utilities
DBF Repair Kit - http://www.dbf.repair/
 
You may ZIP the DBF (and possible memo) and post it here to allow some expert file overview. (EE does not allow DBF upload, you have to add .TXT extension to your files.)


#4 lespauled

lespauled

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1360 posts

Posted 31 August 2015 - 09:16 AM

Before jumping in and trying any fixes on that database, rebuild the index files.

.


My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth