Page 1 of 2
DBFCDX/1056 Error (invalid memo file format)
Posted: Sun Apr 19, 2009 12:12 pm
by CCH4CLIPPER
Hi All
I got the DBFCDX/1056 Error (invalid memo file format) when I tried to open a DBF file which also have a corresponding FPT File.
I am already adding RDDSYS.PRG in my project which contains :-
ANNOUNCE RDDSYS
REQUEST _DBF
REQUEST DBFCDX
REQUEST DBFFPT
Where have I gone wrong ?
CCH
http://cch4clipper.blogspot.com
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Sun Apr 19, 2009 3:26 pm
by sudip
Hi CCH,
CCH4CLIPPER wrote:Hi All
I got the DBFCDX/1056 Error (invalid memo file format) when I tried to open a DBF file which also have a corresponding FPT File.
I am already adding RDDSYS.PRG in my project which contains :-
ANNOUNCE RDDSYS
REQUEST _DBF
REQUEST DBFCDX
REQUEST DBFFPT
Where have I gone wrong ?
I used
REQUEST DBFCDX , DBFFPT
and it opened.
BTW, my file was created with VFP.
With regards.
Sudip
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Sun Apr 19, 2009 3:35 pm
by esgici
CCH4CLIPPER wrote:Hi All
I got the DBFCDX/1056 Error (invalid memo file format) when I tried to open a DBF file which also have a corresponding FPT File.
Hi CCH, welcome back
Could you send me your DBF and FPT files ? ( if they aren't too big )
My e-mail address is esgici @ gmail.com
Regards
--
Esgici
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 8:39 am
by CCH4CLIPPER
Hi Esgici
Tx for making me feel so welcomed
FYI, I have just emailed cch4esgc.zip to your gmail address.
Best Regards
CCH
http://cch4clipper.blogspot.com
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 11:47 am
by sudip
Hi CCH,
There is a solution for this. Please download CDBF for Windows, from
http://www.whitetown.com. It's a shareware (most probably developed with Delphi!!!)
Now try to open Employee.dbf (most probably it will open)
Then save it in another name.
Now try to open it with HMG.
Regards.
Sudip
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 12:34 pm
by esgici
sudip wrote:
...download CDBF for Windows, ...
Wow !
Tried, open CCH's files with no problem
It's a serious rival to DBA
This site have many utilities including various converter.
Thanks Sudip
Regards
--
Esgici
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 1:38 pm
by sudip
Hi Esgici,
esgici wrote:sudip wrote:
...download CDBF for Windows, ...
Wow !
Tried, open CCH's files with no problem
It's a serious rival to DBA
Moreover, CDBF is extremely helpful to open corrupted VFP files (VFP tables are got damaged frequently!!!).
BTW, downloaded your MultiMsg program. It's excellent. It's idea will be very helpful in real life development
Regards.
Sudip
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 2:00 pm
by esgici
Hi Sudip
sudip wrote:
... It's excellent. It's idea will be very helpful in real life development
Thanks to your nice words
You are right, it's primarily for developers.
But, the
excellent is HMG
Regards
--
Esgici
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 2:06 pm
by CCH4CLIPPER
Hi Esgici/Sudip
The fact that employee.chc/fpt could easily be opened by
a) Dos-based CDXDBU.exe
b) Delphi +Apollo VCL
c) Whitetown DBF utility
and yet unable to be opened by DBFCDX,DBFFPT makes one wonder whether Harbour support for DBFCDX/DBFFPT is complete ?
What do you think of this issue ?
CCH
http://cch4clipper.blogspot.com
Re: DBFCDX/1056 Error (invalid memo file format)
Posted: Mon Apr 20, 2009 3:42 pm
by sudip
CCH4CLIPPER wrote:
The fact that employee.chc/fpt could easily be opened by
a) Dos-based CDXDBU.exe
b) Delphi +Apollo VCL
c) Whitetown DBF utility
and yet unable to be opened by DBFCDX,DBFFPT makes one wonder whether Harbour support for DBFCDX/DBFFPT is complete ?
What do you think of this issue ?
I am a learner of HMG.
IMHO, HMG (and VFP also) opens the table by looking table header. (There is a detailed discussion in Rick Spense's famous Clipper Programming Guede, 2nd edition, Page 535). So, if there is anything uncommon in header, there will be a problem.
I never used CDXDBU and Delphi+Apollo VCL. So I can't tell you exactly how they open/save tables. May be during save one byte value is changed!!!
I used CDBF. It is not fully compatible with DBF. For example I don't know how it handles indexes. IMHO, it uses Set based functions to work with dbf files.
Have you checked the hex values of header of FPT file with CDBF and compare it with the same table created with DBU/DBA?
BTW, have you saved your Employee.dbf file in another name then tried to open with HMG ?
My friend, can you send me one copy of your dbf, cdx and fpt files in my personal mail also. So that I can test
With best regards.
Sudip