Solved

dbase for DOS fix

Posted on 1998-09-18
10
1,206 Views
Last Modified: 2010-05-18
I have an old dbase file witch is corrupt.

does anyone know a fixprogram to fix this.

I tried dbrx14.exe but this program is no good.
0
Comment
Question by:dto
  • 6
  • 3
10 Comments
 
LVL 5

Expert Comment

by:chewhoung
ID: 1025716
Try some file from this site:
http://www.iag.net/~philb/ftputils.htm

try dbfdat.zip or other utility.

Related sites:
http://dspace.dial.pipex.com/town/square/tac61/ecvolink.htm
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025717
I've such problems a lot of times, and solve it manually with any bynary editor (like Norton DiskEditor). DBF file have a very simple structure of header. If you want, I can scan it (I have only printed copy) and send you via e-mail, or you can send me your file and I fix it.
vboukhar@usa.net
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025718
I mean description of DBF file structure, of course
0
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.

 

Author Comment

by:dto
ID: 1025719
Please scan and email me a copy.

dto2@bigfoot.com
0
 

Author Comment

by:dto
ID: 1025720
No good,

I need a superB program for this file..

Very important !!!!!!!!!!!!!!!!!!!!!!

0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025721
Try compile such cod in any C compiler:
(structure of header is dbf_hd). Programm write on screen conents of dbf file)
#include "stdio.h"
#include "io.h"
#include "fcntl.h"
#include "conio.h"
main(int argc,char **argv)
   { int fptr,j;
     char *i;
     long int m;
     long gg;
     struct {
             char dbf_id;
             char last_up[3];
             long last_rec;
             unsigned data_off;
             unsigned rec_size;
             char filler[20];} dbf_hd;
     char stt[450],hist[450];
     if (argc==1) {printf("Wait for correct call\n");exit(0);}
     fptr=open(argv[1],O_RDWR|O_BINARY);
     if (fptr==-1) {printf("ERROR \n"); exit(1);}
     if (read(fptr,(char *)&dbf_hd,sizeof(dbf_hd))!=sizeof(dbf_hd))
         { printf("\n ERROR READING\n "); exit(2);}
     gg=lseek(fptr,(long)dbf_hd.data_off,SEEK_SET);
     m=0;
     while (m<dbf_hd.last_rec) {
      read(fptr,&stt,dbf_hd.rec_size);
      printf("%s\n",stt);
      gg=lseek(fptr,-(long)dbf_hd.rec_size,SEEK_CUR);
      m=m+1;
       }
    close(fptr);
    }

0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025722
it's part of programm was written some years ago on TurboC 2.0 :) Good luck!
0
 
LVL 5

Accepted Solution

by:
vboukhar earned 150 total points
ID: 1025723
In addition: there is program "FileFix.exe" from Norton Utilities for DOS, that could recover dBase files. I check it.

0
 

Author Comment

by:dto
ID: 1025724
I donnot have filefix.exe. where can i download it ?
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025725
I sent you .zip with FileFix by e-mail.
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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

810 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