Using find to search last four characters of a social security num

G

Guest

I'm using Access 2003. Is there a way to search a SSN field for the last 4
characters of a social security number?

Thanks,
 
G

Guest

You can use the Right() function to return the specified number of characters
from the right of a string.

For your information, there is also a Left() function.

Steve
 
G

Guest

You can use the Right() function to return the specified number of characters
from the right of a string.

For your information, there is also a Left() function.

Steve
 
J

John W. Vinson

I'm using Access 2003. Is there a way to search a SSN field for the last 4
characters of a social security number?

Thanks,

Put a calculated field in a Query by typing

LastFour: Right([SSN], 4)

in a vacant Field cell, and put a criterion of

[Enter last four digits of SSN:]

on the criteria line under it.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top