How do you code the cmdFind button to search for records in a database? Thanks for your help. Phil
Printable View
How do you code the cmdFind button to search for records in a database? Thanks for your help. Phil
Hi,
code
-----------------------------
rs.Filter = "Field1 = '" & txtFind.Text & "'"
If rs.BOF and rs.EOF then
'Nothing found
Else
' record(s) found
rs.Movefirst
end if
-------------------------------