the Inspector field in the work order table is populated..
The root of the problem is the root of all database evil - lookup fields in a table, not to mention using tables as data entry points. While the value displayed in the table field shows Joe Smith, it is bound internally to a number you can't see, so I'm not sure what effect the suggestions will have (I will be honest - I glossed over them because of what I see as the real problem). The best course is to have a properly designed, normalized data set so you can avoid future problems like this with this and any other lookup fields you might have.
You might be able to get around this by using the .value property of the lookup field in your query. At the moment, that trick is a bit fuzzy for me. In the query design grid, try LName.Value as the field, or in the criteria row, [Lname].Value = "Smith" - I can't remember for sure which it is at the moment. If that doesn't work, or the other posted suggestions don't work but is your preferred solution over proper design, let me know and I will look it up again.
Last edited by Micron; 12-19-2016 at 05:37 PM.
Reason: grammar
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.