What I would like it to do is search the table and if it finds a result, load the record into text boxes on the form for updating/exporting to another form/deleting.
After searching online I am using this search string:
Expand|Select|Wrap|Line Numbers
- dim strSEARCH as string
- dim SQL ass string
- SQL = "select * from tblcustdet where ((customername like ""*" & strSEARCH & "*"") or (Street like ""*" & strSEARCH & "*"") or (Suburb like ""*" & strSEARCH & "*"") or (PostCode like ""*" & strSEARCH & "*"") or (LandlineNumber like ""*" & strSEARCH & "*"") or (MobileNumber like ""*" & strSEARCH & "*"") or (EmailAddress like ""*" & strSEARCH & "*""))"
Id love it to display a message box saying there are X results then load the first results into this table (http://imgur.com/rfehRRJ)
Maybe I over complicating things I honestly have no idea.
Edit: Does an SQL search look for the whole record or part? Like if you have first and last name as 1 field and you only enter the persons first name, will it still return a result?
Thanks