Hi Vee
Dyou know why it has an error here?
When I connect to dbf it goes fine
Set db = OpenDatabase(App.Path & "\", False, False, "dBase IV;")
but when I make some query then it makes an error
Set Data1.Recordset = db.OpenRecordset("select * from [color] where clrcode='" & Text1.Text & "'")