Hey, I tried looking for answers to this, but unfortunately the words I'm using in my search are too small or too common.
I've got this union query:
And I only want it to pull wholly-numeric values from the list.
For example, if I have these values in the [TRUCK] column:
1
2
3
AF070708
4
5
It would only pull the numbers to add to the union query results:
1
2
3
4
5
And not the AF070708 since this one contains letters.
I don't know how to do this though, or honestly if it's even possible--any ideas?
I've got this union query:
Code:
SELECT Max(tblAFIN.[TRUCK]) AS [NEXTTRUCK]
FROM tblAFIN;
UNION ALL SELECT Max(tblAFOUT.[TRUCK]) AS [NEXTTRUCK]
FROM tblAFOUT;
For example, if I have these values in the [TRUCK] column:
1
2
3
AF070708
4
5
It would only pull the numbers to add to the union query results:
1
2
3
4
5
And not the AF070708 since this one contains letters.
I don't know how to do this though, or honestly if it's even possible--any ideas?