Display Problem

F

Frank

Hi There,

I try to hide a part of text data in Access form when it display, I don't know how can do it. such as ******7687. Thank you.
 
P

Pat Hartman

Each control contains only a single set of properties so
you can't use the password format to hide part of a
field. What you can do is to add a second unbound field
with a ControlSource of
=Right(YourFieldName,4)
So in your bound field, the complete value is hidden but
in the unbound field, the last 4 characters are displayed.
-----Original Message-----
Hi There,

I try to hide a part of text data in Access form when it
display, I don't know how can do it. such as ******7687.
Thank you.
 
J

John Vinson

Hi There,

I try to hide a part of text data in Access form when it display, I don't know how can do it. such as ******7687. Thank you.

Set the Control Source of the textbox to

= "******" & Right([fieldname], 4)

The field will, of course, not be editable.
 

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