The more time you spend there, the more fluent you'll become...
If you create a query and use as the Where condition...
...where [Surname] = [Enter Customer Surname];
Because Access won't recognize "[Enter Customer Surname]" as a vaild field name, it should bring up a MsgBox automatically...