Results 1 to 3 of 3
  1. #1
    techexpressinc's Avatar
    techexpressinc is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Dec 2008
    Location
    Indiana, USA
    Posts
    151

    need a formula function Name to Initials

    I have names in one field and I want it to be initials in a new field. Can someone gave me a push.



    Field Name = Tom Smith

    Field Initials = TS

    I have Name. So, I am thinking it would be:

    In the query it would be a new field

    Initials: ????

    Some Function or Iff statements...


    THX
    for the Help
    Russ

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    initial= left(fname,1) & mid(fname,instr(1,fname &" "," ")+1,1)

    this works only for one-word name ( like "smith") or 2-word-name (like "tom smith").
    need more to deal with names with more than 2 words.

  3. #3
    techexpressinc's Avatar
    techexpressinc is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Dec 2008
    Location
    Indiana, USA
    Posts
    151

    It Worked! - Short fast and GREAT Thx.

    I had other solutions submitted but this one gets the gold star.

    Russ

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Formula for form
    By chanoc24 in forum Forms
    Replies: 3
    Last Post: 08-18-2010, 10:40 PM
  2. Refine my formula, please
    By DianeG in forum Queries
    Replies: 4
    Last Post: 05-19-2010, 09:20 AM
  3. Formula
    By hschrunk in forum Access
    Replies: 3
    Last Post: 05-18-2010, 01:40 PM
  4. formula on report??
    By dike969 in forum Access
    Replies: 0
    Last Post: 03-05-2007, 01:58 AM
  5. Max formula in Access
    By mohsin74 in forum Programming
    Replies: 2
    Last Post: 12-26-2006, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums