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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clipper files with FP2.6

Status
Not open for further replies.

4notrump

Programmer
Mar 24, 2001
8
0
0
CA
Hi:
I'm using files created with Clipper 5.2 and the 'DBFCDX' RDD. When I attempt to open the file and an index in 2.6 I get an error message that the file is not indexed.

File=ORDDET.DBF
CDX FILE=ODTAGS (contains three TAGS ... one of which is ODORDIT)

I'm trying to open the file using:

USE ORDDET.DBF ORDER TAG ODORDIT of ODTAGS.cdx SHARED

Will this ever work?

Should I consider myself lucky that it will open the dbf and forget about trying to access the index too?

TQ
Wayne..... I'd rather be sailing


 
It sounds like the header is marked to use a structural .CDX file which would have the same filename as the DBF - i.e. ORDDET.CDX.

Note: If you've got a hex editor, check byte 29 (base 1) in the .DBF header:
Code:
** 29	Structural Index File
**		x00	None
**		x01	Has	( FP -> .CDX, dB -> .MNX )
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top