Results 1 to 5 of 5

Thread: concatenate and sort in crystal report

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    176

    concatenate and sort in crystal report

    Hi All.
    In my crystal report I would like to concatenate FirstName and LastName that on report it will look like:
    LastName, FirstName
    How to specified it in report?
    Thanks.
    Last edited by eugz; May 11th, 2007 at 03:40 PM.

  2. #2
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: trim in crystal report

    {Fixed.LastName}+','+{Fixed.LastName}

    Here Fixed would be either ur table name of proc name. Declare the formula and then define this in that formula. U can also triim it by using Trim command.
    Thanks and Regards,

    Muhammad Abbas

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    176

    Re: concatenate and sort in crystal report

    Thanks for replay.
    It works fine. Now would like to sort that unbound concotenatad field by LastName and FirstName. How way do I need change formula to get result?
    Thanks.
    Last edited by eugz; May 11th, 2007 at 03:39 PM.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    176

    Re: concatenate and sort in crystal report

    Thanks All.
    Problem solved.

  5. #5
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: concatenate and sort in crystal report

    If my post have helped you out then please rate it and marked this thread as resolved,
    Thanks and Regards,

    Muhammad Abbas

Posting Permissions

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



Click Here to Expand Forum to Full Width