Results 1 to 2 of 2

Thread: Crystal Report Null values - Doubt

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Location
    India
    Posts
    13

    Crystal Report Null values - Doubt

    When there are some null values in the backend column,i should print 0(Zero) , in the lay out.So please suggest me a idea how this can be done using formula editor......

    Then i am calculating total for each row also,so this null field gives me a problem there also

    How to handle null field........

    Expecting reply ..............

    Regards,
    nithyaa1.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    In the formula editor I believe you can do this:
    Code:
    If IsNull({Field}) Then
      "0"
    Else
      {Field}
    (just replace the word Field with the appropriate field name)

    Then you place the formula onto the report (instead of the field).

    For your total just add the formula results together, I'm not sure how you add formulas, possibly: {@formula} + {@formula}

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