CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Posts
    1

    Simple Crystal Formula

    Hello,

    I have a form which contains a field called Sequence, tha value of which is always either 1, 2 or 3. Depending on this value, I want a text box field to read either 1st, 2nd or Final.

    Is it possible to achieve this in Crystal Reports with a simple formula or is there a better way to do it? I'm hoping someone can help this CR rookie jump this hurdle.

    With thanks in advance

    Scott

  2. #2
    Join Date
    Sep 2004
    Posts
    65

    Re: Simple Crystal Formula

    You can create a formula in Crystal Reports using select...

    Code:
    select {Sequence} case 1 : "1st" case 2 : "2nd" case 3 : "Final" default: "bad value"
    -Ranthalion

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

Featured