I imagine this will be pretty easy but I can't get it to work.
I have fields with any possibility for data; numbers, alphas, characters, spaces, whatever.
I want to write a formula that will grab the first three characters of the string only if those three characters are numbers. If the first 3 characters are not numeric, I want to return a blank. My first attempt was:
Format(Left([Text],3),"#")
The format formula seemed to have no affect. It would return the first three characters if they were numbers or alpha characters. So then I tried:
IIf(Format(Left([Text],3),"#")<1,"",Format(Left([Text],3),"#"))
That was closer but gave me #Error for anything that wasn't numeric. Instead of #Error, I want blanks.