Get the third digit of a number (1 Viewer)

Dima

New member
Local time
Today, 04:12
Joined
May 13, 2002
Messages
9
In a query, I need to get the third digit of a student ID. Is there any way to do that?
 
T

tomv

Guest
But first make sure it's at least 3 digits long!

Better might be:

Iif(len(StudentID)<3," ",mid(StudentID,1,3))
 

Users who are viewing this thread

Top Bottom