I created a windows form to enter records in an MsAccess table. Data entry was successful but finding any single row from a search textbox doesn’t work.
This is the code am trying to use.
Dim staffrecord As DataRow
dt = DsStaffInfo.Tables(“StaffInfo”)
Dim theId As String
theId = txtFind.Text
staffrecord = dt.Rows.Find(theId)
What am I doing wrong, I need to impress my boss. Thanks in advance for assistance. Am online