Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display part of column data in Access

Status
Not open for further replies.

xchen88

Programmer
May 14, 2007
3
US
Is there any way to only display part of the data in a certain column, for example, SSN 123-23-4566, I would like to display 4566 only.

Thanks
 
You can set the control source for a textbox to:

[tt]=Right(SSN,4)[/tt]
 
Thanks for the reply. I should have made myselft more clear.
I mean the table, not query. When user opens the table, it only displays part of the data.

Thanks
 
Well you could do as Remou suggests on a form that is bound to the table.

 
As JoeAtWork implies, users should not have access to tables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top