How to read/write dBase dbf/ndx files? 
Author Message
 How to read/write dBase dbf/ndx files?

Can anyone recommend a technique or component I can use to read/write dbase
dbf & ndx files?  The main problem is the ndx file.  DBF files are easy
enough, but I can't find anything that can handle the NDX (index) files from
dBase III.  I have Codebase, but they do not support NDX files in the 6.x
versions.

Thanks,
Bryan



Sun, 29 Aug 2004 23:02:26 GMT  
 How to read/write dBase dbf/ndx files?
http://www.datadirect-technologies.com/


Quote:
> Can anyone recommend a technique or component I can use to read/write
dbase
> dbf & ndx files?  The main problem is the ndx file.  DBF files are easy
> enough, but I can't find anything that can handle the NDX (index) files
from
> dBase III.  I have Codebase, but they do not support NDX files in the 6.x
> versions.

> Thanks,
> Bryan



Sun, 29 Aug 2004 23:14:18 GMT  
 How to read/write dBase dbf/ndx files?

Thanks for the suggestion, but their current version doesn't list support
for NDX files (which I think are dBase III indexes).  It only lists support
for Clipper NTX files and dBase IV MTX files.

Were NDX supported in a previous version?

Thanks,
Bryan


Quote:
> http://www.datadirect-technologies.com/



> > Can anyone recommend a technique or component I can use to read/write
> dbase
> > dbf & ndx files?  The main problem is the ndx file.  DBF files are easy
> > enough, but I can't find anything that can handle the NDX (index) files
> from
> > dBase III.  I have Codebase, but they do not support NDX files in the
6.x
> > versions.

> > Thanks,
> > Bryan



Mon, 30 Aug 2004 02:06:48 GMT  
 How to read/write dBase dbf/ndx files?
Hi,

DBaseIII is supported by VB 6 (the evidence is the data control).  The
problem is that with DBIII there was no link to the index (if I remember
correctly DBIV's MDX and Clipper's CDXs were reference in the DBFs header).
For each DBIII dbf there must be an INF file (e.g. DBASEIII.dbf must have a
DBASEIII.inf).  The inf file is a text file that lists the indexes for that
file, e.g.

[Dbase III]
NDX1=JobNo.NDX
NDX2=Desc.NDX

Can I assume that as you got to trying to using the indexes that you have
managed to open the "database", and your "table"?  The next step would be to
set the recordset's index

rst.index=cIndex
rst.index="Descr"

I hope this helps.

Regards
Andy U.


Quote:

> Thanks for the suggestion, but their current version doesn't list support
> for NDX files (which I think are dBase III indexes).  It only lists
support
> for Clipper NTX files and dBase IV MTX files.

> Were NDX supported in a previous version?

> Thanks,
> Bryan



> > http://www.datadirect-technologies.com/



> > > Can anyone recommend a technique or component I can use to read/write
> > dbase
> > > dbf & ndx files?  The main problem is the ndx file.  DBF files are
easy
> > > enough, but I can't find anything that can handle the NDX (index)
files
> > from
> > > dBase III.  I have Codebase, but they do not support NDX files in the
> 6.x
> > > versions.

> > > Thanks,
> > > Bryan



Sat, 04 Sep 2004 06:23:04 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Reading dBASE .NDX files in VB

2. dBase writing to dbf file

3. diverting dBase IV data writes to dbf files to SQL7 tables

4. dBASE NDX files ???

5. dBASE .NDX files

6. dBASE III .NDX files

7. Reading/Writing .DBF files without the JET Engine

8. Read/Write problems with DAO and DBase file

9. How can I read record from dBase IV (.DBF) with VB 6

10. DBASE III- having problems reading dBASE files to VB

11. Powerbasic 3.1 sourcecode - to view dbase(*.dbf) files

12. long name dbase files (*.dbf)

 

 
Powered by phpBB® Forum Software