S
stressed
I am trying to 'x' out the first 5 digits of a social security number on a
report and only show the last 4 digits. How do I do this?
report and only show the last 4 digits. How do I do this?
Duane Hookom said:Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
stressed said:I am trying to 'x' out the first 5 digits of a social security number on a
report and only show the last 4 digits. How do I do this?
stressed said:It displays the xxx-xx but not the last 4 digits.
Duane Hookom said:Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
stressed said:I am trying to 'x' out the first 5 digits of a social security number on a
report and only show the last 4 digits. How do I do this?
Duane Hookom said:What did you enter into the control source? What is your field name? If you
place a text box next to this with the SSN field, does it show? Did you make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
stressed said:It displays the xxx-xx but not the last 4 digits.
Duane Hookom said:Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security number on a
report and only show the last 4 digits. How do I do this?
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It is
asking me for a parameter value.
Duane Hookom said:What did you enter into the control source? What is your field name? If
you
place a text box next to this with the SSN field, does it show? Did you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
stressed said:It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?
Gina Whipp said:Since your field name is SocSec#, you have to replace SSN with your field
name ---> ="xxx-xx-" & Right ([SocSec#], 4)
Also, as Duane mentioned, make sure your field name is not the same as your
control source for said field.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It is
asking me for a parameter value.
Duane Hookom said:What did you enter into the control source? What is your field name? If
you
place a text box next to this with the SSN field, does it show? Did you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
:
It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?
stressed said:I don't think I understand: make sure your field name is not the same as your
control source for said field.
when you say field name are you talking about the table field name which is
SocSEC#? The report column name is social security #.
Thank you.
Gina Whipp said:Since your field name is SocSec#, you have to replace SSN with your field
name ---> ="xxx-xx-" & Right ([SocSec#], 4)
Also, as Duane mentioned, make sure your field name is not the same as your
control source for said field.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It is
asking me for a parameter value.
:
What did you enter into the control source? What is your field name? If
you
place a text box next to this with the SSN field, does it show? Did you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
:
It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?
Gina Whipp said:Since your field name is SocSec#, you have to replace SSN with your field
name ---> ="xxx-xx-" & Right ([SocSec#], 4)
Also, as Duane mentioned, make sure your field name is not the same as your
control source for said field.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It is
asking me for a parameter value.
Duane Hookom said:What did you enter into the control source? What is your field name? If
you
place a text box next to this with the SSN field, does it show? Did you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
:
It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?
stressed said:I don't think I understand: make sure your field name is not the same as
your
control source for said field.
when you say field name are you talking about the table field name which
is
SocSEC#? The report column name is social security #.
Thank you.
Gina Whipp said:Since your field name is SocSec#, you have to replace SSN with your field
name ---> ="xxx-xx-" & Right ([SocSec#], 4)
Also, as Duane mentioned, make sure your field name is not the same as
your
control source for said field.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" -
Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It
is
asking me for a parameter value.
:
What did you enter into the control source? What is your field name?
If
you
place a text box next to this with the SSN field, does it show? Did
you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
:
It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?
stressed said:when I enter what you have, I get ERROR# in the social security field of
the
report.
Gina Whipp said:Since your field name is SocSec#, you have to replace SSN with your field
name ---> ="xxx-xx-" & Right ([SocSec#], 4)
Also, as Duane mentioned, make sure your field name is not the same as
your
control source for said field.
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" -
Tremors
II
http://www.regina-whipp.com/index_files/TipList.htm
stressed said:My field name is SocSec#. I entered ="xxx-xx-" & Right ([SSN], 4). It
is
asking me for a parameter value.
:
What did you enter into the control source? What is your field name?
If
you
place a text box next to this with the SSN field, does it show? Did
you
make
the text box wide enough?
--
Duane Hookom
Microsoft Access MVP
:
It displays the xxx-xx but not the last 4 digits.
:
Use a control source of:
="xxx-xx-" & Right([SSN],4)
Make sure the name of the control is not the same as a field name.
--
Duane Hookom
Microsoft Access MVP
:
I am trying to 'x' out the first 5 digits of a social security
number on a
report and only show the last 4 digits. How do I do this?