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.
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.
advertisement
- Delving into the Norton 2010 line-up
- Banish your Wi-Fi woes
- How to commit Facebook suicide
- Which smartphone keyboard is the best?
- We can beat the botnets
- Paying for code doesn’t mean owning it
- Cracking the iSCSI conundrum
- The perfect open-source task scheduler
- Exploring Microsoft Office 2010 beta
- How to stop tech ruining your home life
- How to change the default template in Word 2007
- Book review: Rework by Jason Fried and David Heinemeier Hansson
- Panorama parents deserve their file-sharing fine
- Google and BT offer free website service to British businesses
- Lords' last chance to protect broadband customers
- Extreme handwriting recognition on the Dell Latitude XT2
- 12 surprising things that Wolfram Alpha knows
- Nokia N900: phone or pocket computer?
- The sinister side of Spotify
- My brain can type!
- Windows 7 XP Mode now runs on all processors
- Intel claims new processors boost security
- Tiny domain names to be released in UK
- Google launches bolt-ons for web apps
- Microsoft warns users off 64-bit Office 2010
- Google to steal Office Web Apps' thunder?
- Network provider admits customers still don't trust the cloud
- Twitter earned Dell $9 million
- Amazon cloud "doesn't come down at Christmas"
- Microsoft: Oracle's fighting the "evolution of the industry"
advertisement



Printed from www.pcpro.co.uk