I'm trying to use 'MyRecordSource = MySQL & MyCriteria' to search for data in a set of linked tables based upon a name typed into a search box by the user.
I can do the SELECT statement bit, but don't know how to write the MyCriteria part for the WHERE clause. In effect, I want to find all clients where the client name matches the name typed into the search box by the user. e.g. WHERE Clients.ClientName = * <text entered in box> *
Can anyone help please?
I can do the SELECT statement bit, but don't know how to write the MyCriteria part for the WHERE clause. In effect, I want to find all clients where the client name matches the name typed into the search box by the user. e.g. WHERE Clients.ClientName = * <text entered in box> *
Can anyone help please?