If you are in graphical design view, you bring the field Post Code in the
grid, if not already there, and, under it, in the criteria line, add
LIKE "EH8 *"
You may then look into SQL view, and you should see the WHERE clause
followed by something like
[Post Code] LIKE "EH8 *"
If you prefer, don't type the word WHERE in the GRAPHICAL view.
Vanderghast, Access MVP
Adam said:
Sorry, I'm struggling a bit. The field is called Post Code. So I assume I
enter the following:
WHERE [Post Code] LIKE "EH8*"
If the above is what I'm supposed to enter then something is wrong because
it doesn't work.
Regards,
Adam
Roger Carlson said:
Use the LIKE operator.
WHERE [field] LIKE "EH8*"
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
Adam said:
I'd like to run a query that only includes the first part of a postal
code.
There are post codes that run from "EH1 1AA" to "EH20 9ZZ" but I only
want
entries that have "EH8" in my query.
Thank you for your help.