dBASE III indexes 
Author Message
 dBASE III indexes

I can open a dBASE III database .DBF, .DBT files in VB 4.0 but I can't open a
NDX index for these files.  Can anyone help?  If I create the .INF file like
it said you needed to in the help files, it gives me an error when I try to
open the database table ("Runtime error 3043:  Disk or network error").  

Sub Main()
Dim ds As Database
Dim rs As Recordset
Set ds = OpenDatabase("c:\cpfiles", False, False, "dBASE III;")
Set rs = ds.OpenRecordset("stud1")            ' ***error is on this line
rs.Index = "stud1i.ndx"
Seek "=", "456"
Debug.Print ds("name"), ds("id"), ds("casestodo")

Anyone know what I might be doing wrong?  (Please reply by e-mail).

Nick Callerame

Fri, 15 Jan 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Using DBase III index in VB5

2. VB4.0 16-bit using dBase III Indexes

3. dBASE III indexes

4. dBase III Index and VB4

5. Rebuild dBase III indexes from VB

6. Please Help!!!! Trouble creating/using dbase III indexes

7. Question on dBASE III and indexes

8. dBASE III/IV & FoxPro Index files

9. Indexing atached dBase III tables

10. Using indexes with dBase III

11. Problem writing to a Dbase III table and updating the indexes

12. Dbase III database with indexes


Powered by phpBB® Forum Software