Can anyone tell me what is wrong with this code it works for an access
database but not dbase III
Sub searchdir()
'QName = Chr$(34) & Form1!text1.Text & "*" & Chr$(34)
'Qcode = Chr$(34) & Form1!text2.Text & "*" & Chr$(34)
'Form1!DtaAddress.RecordSource = "Select * from [address] WHERE
forename LIKE " + QName + "and surname like " + Qcode
'Form1!DtaAddress.Refresh
End Sub