> I'm needing to display the correct area code for the corresponding
> postcode, row two is the example i'm needing to display. The
[quoted text clipped - 14 lines]
>
> Thanks in advance
select case left(postcode,1)
case "1" , "2"
areacode = "02"
case "3" , "7" , "8"
areacode = "03"
case "4" , "9"
areacode = "07"
case "0" , "5" , "6"
areacode = "08"
case else
areaCode = "indeterminate"
end select

Signature
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com