Domanda

Hello StackOverflow community and experts.

I am new with Crystal Reports and I am trying to figure out how to ONLY print date code and serial numbers IF NOT blank. I have searched online for code examples and see what others have asked and what answers were returned.

Although, I have not found what I am looking for, I have found many suggestions for using the surpress in the solution.

Also, I have noticed a lot of online code examples that begin with a question mark. What does the question mark indicate?

È stato utile?

Soluzione

As per my understanding below is the code:

Serial Number:

if(ISNULL(rmadtl.ShortChar01))
then 
//your code
else 
rmadtl.ShortChar01

Date:

if(ISNULL(rmadtl.ShortChar03))
then 
//your code
else 
rmadtl.ShortChar03

In both the cases checking the null condition and if it is write required code you need else pring the serial number and date

Let me know if this not your requirement.

Altri suggerimenti

The syntax that Crystal Reports needed to work properly was:

IF ({rmadtl.ShortChar01}) = "" OR (ISNULL ({rmadtl.Shortchar01})) THEN TRUE

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top