Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Cedar Falls, Iowa, USA
    Posts
    268
    Thanks
    0
    Thanked 0 Times in 0 Posts

    concatenating (a2000)

    Is there a way to revise the following to eliminate the initial if strTitle is null?

    [strTitle] & (", "+[strOrgName]) & (", "+[strOrgDept]) & (", "+[strOrgOffice])

    E

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: concatenating (a2000)

    How about

    [strTitle] & (IIf(IsNull([strTitle]),"",", ")+[strOrgName]) & (", "+[strOrgDept]) & (", "+[strOrgOffice])

  3. #3
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Cedar Falls, Iowa, USA
    Posts
    268
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: concatenating (a2000)

    that did it. sweet!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •