PC Review


Reply
Thread Tools Rate Thread

expression to eliminate all but the first letter of last name

 
 
=?Utf-8?B?TWFyaw==?=
Guest
Posts: n/a
 
      2nd May 2007
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
--
Mark N
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      2nd May 2007
On Wed, 2 May 2007 08:34:00 -0700, Mark wrote:

> 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)
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: creating last name first, first name last from a column of first name last name data Patrick Molloy Microsoft Excel Programming 0 27th Jul 2009 08:17 AM
Re: creating last name first, first name last from a column of first name last name data Lars-Åke Aspelin Microsoft Excel Programming 0 27th Jul 2009 07:32 AM
Re: creating last name first, first name last from a column of first name last name data Rick Rothstein Microsoft Excel Programming 0 27th Jul 2009 07:25 AM
Re: last name first, first name last -- is there a code to combine 2 cells with last and first names? Patrick Molloy Microsoft Excel Programming 1 17th Jul 2009 12:40 PM
how do I reveerse name order last name, first name to first name, last name Don Smith Microsoft Excel Discussion 9 29th Nov 2006 10:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:08 AM.