Database header file 
Author Message
 Database header file
One of my database files cannot be recognized by Foxpro. I suspect
that the header file is damaged.
Is anyone out there know how to repair a damager database header file?
Or do anyone know how a header file can be damaged?

Thanks in advanced.

Carol



Fri, 11 Apr 1997 23:27:09 GMT
 Database header file

Quote:

>One of my database files cannot be recognized by Foxpro. I suspect
>that the header file is damaged.
>Is anyone out there know how to repair a damager database header file?
>Or do anyone know how a header file can be damaged?

The manuals I have (which are for Mac) have file structure info in the
Developers' Guide at the back. If you have that in hand and then go
into your file with a file viewer that will let you read it byte by
byte (really sector by sector) you can check the integrity of it by
hand. It's a pain, but it can be done.

In general Fox' lack of tools for checking the integrity of the
hundreds of files it creates, is starting to tick me off. This after
five days repairing the results of a corrupted memo file.

--
----
Steve Lane
University of Chicago, Department of History



Sat, 12 Apr 1997 22:01:09 GMT
 Database header file


Quote:
 (Carol Chen) writes:
>One of my database files cannot be recognized by Foxpro. I suspect
>that the header file is damaged.
>Is anyone out there know how to repair a damager database header file?
>Or do anyone know how a header file can be damaged?

I have had this problem in the past, using FP for DOS. Somebody had an
old version of Norton Utilities (version 5, I think) which had a program
called Filefix. One of the options is to fix dbase files and this works
with Foxpro files too. All it does is create a new header.

I don't know if the latest version of Norton has this feature (and I hate
to recommend it and add to Peter Nortons wealth) but it's worth a try.

If you have memo fields,though, you are probably in trouble.

--
Mike McCormick
St Albans, UK



Thu, 17 Apr 1997 02:50:46 GMT
 Database header file
: One of my database files cannot be recognized by Foxpro. I suspect
: that the header file is damaged.
: Is anyone out there know how to repair a damager database header file?
: Or do anyone know how a header file can be damaged?

There is a program written in FoxPro for fixing the header that
someone at Sprint wrote, I'll have to find it, and check with FoxTalk
and the author to see if it is o.k. to post it here. I've used it and
it works. Other solutions, Norton Utilities has a a fix for damaged
dbase files, and my all time favorite quick fix is if there happens
to be a copy of Excel on the same machine, open it with Excel, which
doesn't seem as particular about the header file, and then save it
under the same name but a different directory and Excel will write out
a nice new clean header. Headers are usually damaged by improper
file closure, i.e. someone turns the computer off with FoxPro still
running and the dbf file open. However, they sometimes seem to flake
for no apparent reason (cosmic rays perhaps). At the high end of
the fixes is dbSalvage, but if you work a lot with dBase files it
can be worth the $295.

Michael



Wed, 16 Apr 1997 17:12:08 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. invalid database file header

2. Question about VB calling API with header files(.H files)

3. Reading File Header Info (Binary Files)

4. Corrupt Paradox 5 header - anyone knows header structure?

5. Corrupt Paradox 5 header - anyone knows header structure?

6. Title Header vs. Header, somethings not copying right

7. C Header files for ODS apps

8. OLE DB Header File Hell

9. Flat File Import with Header Record Skips 2 rows not one

10. DTS to destination text file containing headers / footers

11. Problem when importing in Fixed length file with Header Record

12. Createing Header Records in File Output


 
Powered by phpBB® Forum Software