Assuming that the first numeric character is never followed by non-numeric
characters, the Val function will work.
On clng(ReferenceData) = Val(EquipmentID)
If the assumption is incorrect, then you can use 26 nested Replace
functions:
On Replace(Replace(Replace(EquipmentID,"A",""),"B",""),"C","") etc.
or write a function that loops through each character in the EquipmentID,
appending it to a variable if numeric.
SriramNA wrote:
> Um.. that'll catch most of them, but there are many exceptions...
>
> Isn't there a way of simply stripping non-numeric characters from
> EquipmentID value?
>
>