Update Query

M

Monica

Hi,
I am downloading an excel sheet from an HRIS system,
which includes Social Security Numbers that start with a
0, but are not showing up. What is the formula that I
should use in an update query to ensure that even SS#
that start with a 0 will show up as having 9 digits
rather than 8?
Please help! I forgot the formula.
Monica
 
J

John Vinson

Hi,
I am downloading an excel sheet from an HRIS system,
which includes Social Security Numbers that start with a
0, but are not showing up. What is the formula that I
should use in an update query to ensure that even SS#
that start with a 0 will show up as having 9 digits
rather than 8?
Please help! I forgot the formula.
Monica

It's not so much a matter of the formula as the datatype of the field.
A SS# isn't really a "number" - you'll never do math with it! It
should be stored in a Text field.

If the import (as is likely!) assumes that 003221111 is a Number, you
can use the Format$() function to cast it as a Text:

Format$([SS#], "000000000")
 

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