Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to recover dbf ??

185 views
Skip to first unread message

Edward

unread,
Mar 28, 2003, 9:05:01 PM3/28/03
to
I'm using VFP7.0 ,my dbf header was corrupted. When I
use the dbf, it told me "Not a table". How can I recover
the dbf ?

Is there any limitation on the table size ?

Thanks,
Edward

Cindy Winegarden

unread,
Mar 28, 2003, 10:38:41 PM3/28/03
to
There are commercial tools, but most of the time you can fix it yourself
with the Hex Editor that comes with VFP. Have a look at
http://fox.wikis.com/wc.dll?Wiki~NotATable~VFP.

You can read about the table size limitation in the Help at "Visual FoxPro
System Capacities". Please note that the 2Gb limit is per file so you can
have 2Gb for the table, 2GB for the memo and 2Gb for the index.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org http://cindywinegarden.adsl.duke.edu
http://msdn.microsoft.com/vfoxpro http://foxcentral.net

"Edward" <edw...@edihk.com> wrote in message
news:062801c2f597$9b7a1010$3401...@phx.gbl...

Willianto

unread,
Mar 30, 2003, 1:31:52 PM3/30/03
to
Hi Cindy,

C> There are commercial tools, but most of the time you can fix it yourself
C> with the Hex Editor that comes with VFP.

Comes with VFP??? Which Hex Editor? What? Where?
Looking forward to hearing from you!

WBR,
Willianto


Cindy Winegarden

unread,
Mar 30, 2003, 11:04:24 PM3/30/03
to
Hi Willianto,

Try C:\Program Files\Microsoft Visual FoxPro 8\Tools\HexEdit\HexEdit.app or
a similar location for VFP6 and VFP7.

"Willianto" <will...@remove-me.telkom-and-me.net> wrote in message
news:uoYBR4y...@TK2MSFTNGP12.phx.gbl...

Willianto

unread,
Mar 31, 2003, 8:41:22 AM3/31/03
to
Got it Cindy. Thanks.
Really, I'm impressed to this app. I mean I thought we should leave all the
level stuff to the, um, low level stuff (Visual C++???)

Thanks anyway!
WBR,
Willianto


"Cindy Winegarden" <cindy.wi...@mvps.org> wrote in message
news:#pMwkqz9...@TK2MSFTNGP11.phx.gbl...

Lee Mitchell

unread,
Mar 31, 2003, 10:01:31 AM3/31/03
to
Hi Edward:

There is no command or utility that automatically fixes a damaged table
file. Your best option is to use a third-party tool. For third-party repair
utilities, take a look at this article:

87688 PRB: "Not a Database File" Error Using a Database File
http://support.microsoft.com/?id=87688

The file size limit for table is 2 GB. You can see all the VFP capacities
by search on System Capacities in the Help file.


I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

Willianto

unread,
Mar 31, 2003, 9:37:57 PM3/31/03
to
Hi Lee,

> There is no command or utility that automatically fixes a damaged table
> file. Your best option is to use a third-party tool.

Considering that you are one of Microsoft FoxPro Technical Support, can you
tell me why you guys have not create one? I mean, it's high time. The VFP is
on version 8.0 already. Version 9 is on the way.

WBR,
Willianto

"Lee Mitchell" <Le...@microsoft.com> wrote in message
news:9PjsxZ59...@cpmsftngxa08.phx.gbl...

Igor Korolyov

unread,
Apr 1, 2003, 7:08:17 AM4/1/03
to
Hi, Willianto!

You wrote on Tue, 1 Apr 2003 09:37:57 +0700:

>> There is no command or utility that automatically fixes a damaged table
>> file. Your best option is to use a third-party tool.

W> Considering that you are one of Microsoft FoxPro Technical Support, can
W> you tell me why you guys have not create one? I mean, it's high time.
W> The VFP is on version 8.0 already. Version 9 is on the way.

Because almost all corruption cases are not VFP guilt, but rather Hardware,
OS, Stupid Users problems. And there is absolutely no need in another one
DBF recovery utility, as there are a lot of them avaliable both as
commercial products and as freeware products. Moreover absolute majority of
them can repair only one rather simple problem - disparity in record counter
in DBF header and in data part of DBF file itself. And many other types of
corruption can't be eliminated automatically at all - they require very
competent specialist (familar with VFP, dbf file structure, and that is even
more important - with the program that use this tables). As for assisting
tools - HexEdit.app is pretty enough for any case.

Stop the war!

WBR, Igor


Willianto

unread,
Apr 1, 2003, 11:14:24 PM4/1/03
to
Hi Igor, nice to see you again :-)

> Because almost all corruption cases are not VFP guilt, but rather
Hardware,
> OS, Stupid Users problems. And there is absolutely no need in another one

> DBF recovery utility...

Well, ok, but wouldn't it be nice if vfp has an internal command to repair
the dbf? VFP provide internal command to repair the database containers
(i.e. actually the dbf table) with VALIDATE DATABASE RECOVER. What about
adding a command, say, VALIDATE TABLE RECOVER?

> , as there are a lot of them avaliable both as
> commercial products and as freeware products.

Yes. I'm aware of the commercial products. But I couldn't find any freeware
products for dbf recovery, there is one in the UT but that's only fix the
old foxpro 2.5 dbf files. Can you point me to some of them?

> Moreover absolute majority of
> them can repair only one rather simple problem - disparity in record
counter
> in DBF header and in data part of DBF file itself. And many other types of
> corruption can't be eliminated automatically at all - they require very
> competent specialist (familar with VFP, dbf file structure, and that is
even
> more important - with the program that use this tables). As for assisting
> tools - HexEdit.app is pretty enough for any case.

Yup! And from my point of view, that gives me another 'job oppurtunities'
<g>

>
> Stop the war!
Agree! Stop the war!

WBR,
Willianto


Anders Altberg

unread,
Apr 2, 2003, 7:06:40 AM4/2/03
to
In VFP8 a table validation is performe by defaultd when the table is opened.
It compares the record count in the header to the actual file size and warns
about a problem. It doesn't repair the table. SET TABLEVAIDATE TO 0|1|2|3
-Anders

"Willianto" <will...@remove-me.telkom-and-me.net> wrote in message

news:OTQWb5M#CHA...@TK2MSFTNGP11.phx.gbl...

Willianto

unread,
Apr 2, 2003, 6:52:17 PM4/2/03
to
Cool...
Thanks for pointing me to this command. Well, although it doesn't repair the
table, at least it gives a warning. Nice start VFP team!

Thanks Anders!
WBR,
Willianto

"Anders Altberg" <pra...@telia.com> wrote in message
news:uSJsbBR#CHA....@TK2MSFTNGP11.phx.gbl...

Igor Korolyov

unread,
Apr 2, 2003, 11:21:48 AM4/2/03
to
Hi, Anders!
You wrote on Wed, 2 Apr 2003 14:06:40 +0200:

AA> In VFP8 a table validation is performe by defaultd when the table is
AA> opened. It compares the record count in the header to the actual file
AA> size and warns about a problem. It doesn't repair the table. SET
AA> TABLEVAIDATE TO 0|1|2|3

Good point, I was unaware of this enhancement.
But as for RECOVER, even if it will be added, I'd better not use it. I know
what is VALIDATE DATABASE RECOVER, it is useful, but it really don't REPAIR
my database, it only remove some information from there, that will let me
open tables and start real repair process, I have to write much more code to
perform correct REPAIR procedure.

Weber Consulting

unread,
Apr 3, 2003, 5:39:09 PM4/3/03
to
Heheh - If I'm not mistaken, Visual FoxPro is written in C/C++
In fact, all of your forms, reports, and everything are pretty much
glorified tables.It helps to remember that sometimes when you're having
wierd problems. If you remember everything's connected together it sometimes
help sort out problems by tracing backwards.
I realize this is slightly off topic and it doesn't sound too awfully
helpful, but believe me it is ; )

Bobby

bobma...@gmail.com

unread,
Jul 11, 2012, 3:56:17 AM7/11/12
to
On Saturday, March 29, 2003 7:37:59 AM UTC+5:30, Edward wrote:
> I&#39;m using VFP7.0 ,my dbf header was corrupted. When I
> use the dbf, it told me &quot;Not a table&quot;. How can I recover
> the dbf ?
>
> Is there any limitation on the table size ?
>
> Thanks,
> Edward

Kernel recovery for DBF is very proficient tool that effectively repairs DBF files for both severe and minor corruption. The utility is provided with the advanced algorithms that ensures efficient data recovery from the corrupt database files. With this tool, the user shall be able to retrieve entire data such as tables, indexes, stored procedures, memo fields, foreign keys and primary keys from the corrupt DBF files. The utility works on database files created by Dbase, Fox pro and Visual Fox pro. One can download the free version of the software to analyze the various features of the tool. One can download the tool from http://www.repairdbf.net/

den.hut...@gmail.com

unread,
Jul 8, 2013, 8:49:53 AM7/8/13
to
Recover dbf files with the help of microsoft visual foxpro fix

http://www.microsoft.fixdbffile.com/
0 new messages