July 5, 200421 yr Set your text field as validate by calculation= Substitute ( FieldA; " "; "") = GetAsNumber(Substitute ( FieldA; " "; "")) Use TextToNum for pre V7 in lieu of GetAsNumber
July 5, 200421 yr Author hmm seems to be a problem is the number in the cell begins with a 0 "012" is picked up as invalid
July 5, 200421 yr Author Have used: If(Left(FieldA, 1) <> 0, Substitute( FieldA, " ", "") = TextToNum(Substitute( FieldA, " ", "")), Substitute( Right(FieldA, Length(FieldA)-1), " ", "") = TextToNum(Substitute( Right(FieldA, Length(FieldA)-1), " ", ""))) ?
July 5, 200421 yr Or: Substitute(Substitute(test;0;"");" ";"") = GetAsNumber(Substitute(Substitute(test;0;"");" ";"") )
Create an account or sign in to comment