Welcome to Forums Sign in | Join | Help | Forums
in Search





Make the world a better place.

FORMULAS IN CRYSTAL

Last post 07-07-2009 10:58 AM by Peter Doonican. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 06-25-2009 2:30 PM

    FORMULAS IN CRYSTAL

    Does anyone know how to complete the following statement in crystal formula editor if a is not equal to b then display a and b if a is equal to b do not display it?

  • 06-25-2009 3:11 PM In reply to

    Re: FORMULAS IN CRYSTAL

    wouldn't the supress duplicates function do the same thing?

    Laurel Quaintance
    Manager, Fund Development Services
    Friends of Bassett, Inc.
    607/547-3081

    Donate Now! https://www.friendsofbassett.org/fob.php

    Bassett Healthcare: Right Where You Need Us

    Bassett Healthcare, A network of 5 Hospitals and over 25 Health Centers, offers the finest medical care to residents of rural Central New York
  • 06-25-2009 3:17 PM In reply to

    • Yuriy Iordakiev
    • Top 100 Contributor
    • User Since: 2000
    • Posts 62
    • Organization: Trillium Health Centre Foundation
    • Products:  Blackbaud NetCommunity, The Raiser's Edge

    Re: FORMULAS IN CRYSTAL

    I'm not getting it. Do not display what?

  • 06-25-2009 3:23 PM In reply to

    Re: FORMULAS IN CRYSTAL

    I realize I wasn't specific. If you go to the details portion of your report, right click on the field you want click format field, go to the common tab and check supress if duplicated

    Laurel Quaintance
    Manager, Fund Development Services
    Friends of Bassett, Inc.
    607/547-3081

    Donate Now! https://www.friendsofbassett.org/fob.php

    Bassett Healthcare: Right Where You Need Us

    Bassett Healthcare, A network of 5 Hospitals and over 25 Health Centers, offers the finest medical care to residents of rural Central New York
  • 07-07-2009 10:37 AM In reply to

    • David Gillman
    • Not Ranked
    • Posts 1
    • Organization: University of Surrey
    • Products:  The Raiser's Edge

    Re: FORMULAS IN CRYSTAL

    I think your logic would need to be like this if A <>B then "A" else if A=B then null in cognos impromptu which is similar to crystal this will only return the value A if A and B are not equal otherwise it will return a null.

  • 07-07-2009 10:58 AM In reply to

    • Peter Doonican
    • Top 100 Contributor
    • User Since: 2003
    • Posts 66
    • Organization: University of the Arts London
    • Products:  The Raiser's Edge

    Re: FORMULAS IN CRYSTAL

    As long as you do not want to use the field you are trying to suppress in a summary or grand total another option would be to right click on the field in question and then on the Common Tab click x-2 and the pencil next to Suppress and in the forumla editor enter

    a=b

    Save and close, the x-2 should now be x-2

    Peter

    Peter Doonican
    Head of Information Systems
    University of the Arts London
    www.arts.ac.uk
Page 1 of 1 (6 items)