expression to eliminate all but the first letter of last name

M

Mark

Hi,
I need to generate a report that has the customers first name but only the
last initial for confidentiality reasons. I thought about adding another
field to the customer table for just the initial, but I am sure their is a
better more efficient way using an expression in the report or the report
based on a query with some sort of expression as part of the criteria. Any
suggestions?
Thanks
 
F

fredg

Hi,
I need to generate a report that has the customers first name but only the
last initial for confidentiality reasons. I thought about adding another
field to the customer table for just the initial, but I am sure their is a
better more efficient way using an expression in the report or the report
based on a query with some sort of expression as part of the criteria. Any
suggestions?
Thanks

No need for an additional field. Just store the firstname and the
lastname in 2 separate fields in the table.

Use an Unbound text control to display the name combination in the
report.

=[FirstName] & " " & Left([LastName],1)
 

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