[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

dbase for DOS fix

Posted on 1998-09-18
10
Medium Priority
?
1,257 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
[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
  • 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
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!

 

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 300 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

649 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