Skip to navigation

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.

Real World Computing

Address formats

Posted on 18 Jun 2009 at 11:48

Simon Jones tackles the tricky subject of handling addresses in applications, both within the UK and far beyond.

17 Rue St Jermaine

75216 PARIS CEDEX 06

Mail sent to that same address but not through the CEDEX system, might be addressed:

17 Rue St Jermaine

75006 PARIS

Since the CEDEX designator doesn't work without the correct postal code, or vice-versa - and the city is encoded as the first digits of the postal code - I feel quite justified in saying that the word CEDEX and any following sector number should really be part of the ZIP or postcode field and not the city or post town, which stops the post town field being polluted with crap, and means you can do efficient searches for "PostTown = 'Paris'", rather than inefficient ones like "PostTown LIKE 'PARIS%'".

Better still, you can group your results by PostTown and see all the results for "Paris" in one group, rather than seeing separate groups for "Paris", "Paris CEDEX", "Paris CEDEX 01" and so on.

1 2 3 4
User comments

NZ postcodes

They don't require an island in a NZ address. Otherwise, an informative article.

By OwenWatson on 29 Aug 2009

Leave a comment

You need to Login or Register to comment.

(optional)

Simon Jones

Simon Jones

Simon is a contributing editor to PC Pro. He's an independent IT consultant specialising in Microsoft Office, Visual Basic and SQL Server.

Read more More by Simon Jones

advertisement

Latest Real World Computing
Latest Blog Posts Subscribe to our RSS Feeds
Latest News Stories Subscribe to our RSS Feeds
Latest Reviews Subscribe to our RSS Feeds

advertisement

Sponsored Links
 
SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2008