Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Posts
    20

    Unanswered: Conditions in formula

    Hi

    I am trying to write a formula to select a specific product and its value for
    the current year.
    Example: I would call my formula Apples_CurrentYear
    Then I want to specify:
    if the product = "Apples" it should take the value field where the year field =
    2010.

    Not 100% sure how to code it in Crystal

    Thanks.

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Perhaps move this logic to your database query. Consider a parametrized query
    George
    Home | Blog

Posting Permissions

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