shanef1981
MIS
Hey Folks
I'm trying to find a function or formula that will present me with only the numeric part of a field, say if a field has the value of 0475878X, i just want the number without the 'X' suffix.
Problem - The string isn't a fixed length
Problem - There may be more than one letter suffix
Problem - Any leading zero's that do exist must be preserved
Also, on some rare occasions, the value supplied has no numbers at all i.e "Not Applicable", "Not Entered" etc.
These do not need to be kept intact.
The only way I can think of dealing with this is to think of some code that will go through each value in this field and look at the last character, erasing it if it's non-numeric.
One key thing - the letters are always a suffix, so this should help...
Thanks
I'm trying to find a function or formula that will present me with only the numeric part of a field, say if a field has the value of 0475878X, i just want the number without the 'X' suffix.
Problem - The string isn't a fixed length
Problem - There may be more than one letter suffix
Problem - Any leading zero's that do exist must be preserved
Also, on some rare occasions, the value supplied has no numbers at all i.e "Not Applicable", "Not Entered" etc.
These do not need to be kept intact.
The only way I can think of dealing with this is to think of some code that will go through each value in this field and look at the last character, erasing it if it's non-numeric.
One key thing - the letters are always a suffix, so this should help...
Thanks