Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CCVT converting DAT file to DBF

Status
Not open for further replies.

lmlpkc

Programmer
Jul 20, 2003
1
HK
Hi Clarion experts,

When I convert DAT file to DBF using CCVT.exe, I always find that the group fields missing in the output files. Can any body help so that I get all the data?

Here are the details for your reference:

THE FILE (Just an example)
--------
PRFILE file,pre(IP),name(FI_PRFILE), reclaim
B_KEY key(IP:A,IP:B,IP:C,IP:E,IP:D),nocase
RECORD record
A string(10)
B string(10)
C string(5)
D string(3)
E string(3)
F string(1)
G string(1)
H group
group, dim(5)
I long
J real
.
group,dim(8)
K string(1)
L real

CCVT.EXE
--------
version 2.1 release 2110

MYSELF
------
I have no Clarion except CCVT.exe
I cannot do programming in Clarion.


Many Thanks!!
 
There are a lot of things incompatible between the Clarion DAT file and the dBase DBF file i.e. like GROUPs, ARRAYs, etc.

There is a freeware utility written in Clarion called XSCAN written by Vadim Berman which allows you to copy between files. You could check that out. The website is and the contact e-mails are info@ and support@
To use this program the file structure should be available in an ASCII file. Also the file structure is expected in the Windows version format i.e. the DRIVER attribute should be there on the file header

FILE,.. --> FILE,DRIVER('Clarion'),.. for Clarion DAT files
FILE,.. --> FILE,DRIVER('dBase3'),.. for dBase3 DBF files
FILE,.. --> FILE,DRIVER('dBase4'),.. for dBase4 DBF files
FILE,.. --> FILE,DRIVER('Clipper'),.. for Clipper DBF files

It will be better to remove the GROUP fields in the DBF structures.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top