Is it possible to write a query that looks at a field (this case Name) and ignores the first word. The data is in this format "John Doe". I just want to look at Doe for my query.
It is possible, but needs a bit of VBA code to extract the last section of the name (must do that rather than everything after the first space, in case they are Jim Fred Bloggs for example).
I should point out that running VBA code from a query slows it down quite significantly.
Wow guys thanks for the quick responses. You solution worked dodge thanks. I think there will be an occasional record like "Billy Bob Thorton" or something that it won't quite work for but that can be easily corrected as there wouldn't be many <20 out of about 2000.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.