Results 1 to 4 of 4

Thread: Replace column text?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Posts
    137

    Replace column text?

    I'm poplulating a crystal report from a sql stored procedure. One of the columns is displaying True or false. How would I format the column to dispay yes if true and no if false. Can I do IIF('column', true, 'yes') or something like that in crystal?

  2. #2
    New Member
    Join Date
    May 2007
    Location
    Columbus, Ohio
    Posts
    5

    Re: Replace column text?

    You can create a formula field in Crystal to this. Give it try.

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

    Re: Replace column text?

    Create a formula and place is it where u display. Write the code liek this if for example ur field is field1

    if {field1}='true' then 'yes' else 'no'
    Thanks and Regards,

    Muhammad Abbas

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

    Re: Replace column text?

    Please rate it if it had helped you out.
    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