Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UK Postcode search on first 1 or 2 letters

Status
Not open for further replies.

geoff2404

Technical User
Nov 25, 2002
1
GB
I'm trying to set up a search facility on a site, where viewers enter the first part of their postcode. Most UK codes begin with 2 letters - no problem. But some have just the one - e.g. Sheffield codes are just S followed by one or two numbers. If the user enters "S#", then the search works fine, but "S" finds all the other codes e.g. Shrewsbury "SY". It's an Access database, searched from an ASP page created by FP2000. Any suggestions? (a quick trawl of the web suggests this is a common problem...)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top