OK, I need to curb the tendency of an overenthusiastic and somewhat dense attorney to madly add new client identifiers to my
database. For example, although "Smith, John" had already been entered as a valid client name, and a client number assigned, this
attorney (working with a combo box not-in-list event) went ahead and made a new entry for "John Smith Esquire" as a client
name, with client numbers assigned. I need code to populate a message box that will list client names like the ones already entered
to slap this particular attorney upside the head and say "hey, dumbass, the client code has been assigned". How do I alter this code
to accomplish it?
strSQL = "SELECT strClientName FROM tblClients WHERE strClientName [here I need the wildcards encasing the contents of
txtClientName on the form]
database. For example, although "Smith, John" had already been entered as a valid client name, and a client number assigned, this
attorney (working with a combo box not-in-list event) went ahead and made a new entry for "John Smith Esquire" as a client
name, with client numbers assigned. I need code to populate a message box that will list client names like the ones already entered
to slap this particular attorney upside the head and say "hey, dumbass, the client code has been assigned". How do I alter this code
to accomplish it?
strSQL = "SELECT strClientName FROM tblClients WHERE strClientName [here I need the wildcards encasing the contents of
txtClientName on the form]