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")
rs.Close
ds.Close
Anyone know what I might be doing wrong? (Please reply by e-mail).
Nick Callerame