G Guest Aug 10, 2006 #1 What's a simple way to test the left two chars of a field to see if they are numerals, or not?
J John Vinson Aug 10, 2006 #2 What's a simple way to test the left two chars of a field to see if they are numerals, or not? Click to expand... Iif(IsNumeric(Left([fieldname], 2)), <yes it's numeric>, <no it's not>) John W. Vinson[MVP]
What's a simple way to test the left two chars of a field to see if they are numerals, or not? Click to expand... Iif(IsNumeric(Left([fieldname], 2)), <yes it's numeric>, <no it's not>) John W. Vinson[MVP]
G Graham Mandeno Aug 10, 2006 #3 Hi Ricter If a leading space can be considered as a zero (e.g. " 4abc"), then use: IsNumeric( Left( [YourString], 2) ) If a leading space is not allowed, then use: Left( [YourString], 2) like "##"
Hi Ricter If a leading space can be considered as a zero (e.g. " 4abc"), then use: IsNumeric( Left( [YourString], 2) ) If a leading space is not allowed, then use: Left( [YourString], 2) like "##"