Hi there,
Crystal XI or 8.5
I am looking to apply a similar principal to the edit masks available for parameter validation to check if a given field mataches that expected of a UK postcode.
Essentially, my selection criteria would select all postcodes which DO NOT match the given masks.
The following formats ARE considered to be genuine postcode formats:
A# #AA
A## #AA
A#A #AA
AA# #AA
AA## #AA
AA#A #AA
(Where A = alpha and # = numeric)
I'm aware that I can probably use isnumber() as well as mid() to preform checks but would be interested in a more elgant solution.
as you can see - the last four characters are the same format but the 1st 4 can vary.
Any ideas?
'J
Crystal XI or 8.5
I am looking to apply a similar principal to the edit masks available for parameter validation to check if a given field mataches that expected of a UK postcode.
Essentially, my selection criteria would select all postcodes which DO NOT match the given masks.
The following formats ARE considered to be genuine postcode formats:
A# #AA
A## #AA
A#A #AA
AA# #AA
AA## #AA
AA#A #AA
(Where A = alpha and # = numeric)
I'm aware that I can probably use isnumber() as well as mid() to preform checks but would be interested in a more elgant solution.
as you can see - the last four characters are the same format but the 1st 4 can vary.
Any ideas?
'J