Hi
I wonder if you could help me - I have a field in a database that is supposed to be a UK postcode. The problem I have is that some people have only supplied the first part i.e. say L1 or LE1 or NG20 and some have supplied the full post code. The data in this field can be from a length of 1 character to a length of 7 characters as i have stripped out the middle space as not all of the entries had this.
Is there a way of detecting whether there is just one letter or two at the front of the postcode and then just stripping the leading letters from the postcode.
Thanks
Rich
I wonder if you could help me - I have a field in a database that is supposed to be a UK postcode. The problem I have is that some people have only supplied the first part i.e. say L1 or LE1 or NG20 and some have supplied the full post code. The data in this field can be from a length of 1 character to a length of 7 characters as i have stripped out the middle space as not all of the entries had this.
Is there a way of detecting whether there is just one letter or two at the front of the postcode and then just stripping the leading letters from the postcode.
Thanks
Rich