Results 1 to 2 of 2

Thread: Crystal - Make a blank field zero rather than blank

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2001
    Posts
    1,384

    Crystal - Make a blank field zero rather than blank

    My crystal report is retrieving values from MS Access via ODBC. Occasionally these (numeric) values will be blank. How can I ensure that a zero is displayed in all such fields?

    I have tried:
    Code:
    If {Field} = "" then
    0.00
    But it keeps saying that it's expecting a numeric value here (at the "")
    Mel

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    If IsNull({Field}) Then 0 Else {Field}

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