DBFCDX/1056 Error (invalid memo file format)

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

DBFCDX/1056 Error (invalid memo file format)

Post 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
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
With best regards,
Sudip
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
Viva INTERNATIONAL HMG :D
CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

Re: DBFCDX/1056 Error (invalid memo file format)

Post by CCH4CLIPPER »

Hi Esgici

Tx for making me feel so welcomed :D

FYI, I have just emailed cch4esgc.zip to your gmail address.

Best Regards

CCH
http://cch4clipper.blogspot.com
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
With best regards,
Sudip
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
Viva INTERNATIONAL HMG :D
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
With best regards,
Sudip
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
Viva INTERNATIONAL HMG :D
CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: DBFCDX/1056 Error (invalid memo file format)

Post 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
With best regards,
Sudip
Post Reply