Reputation: 101
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?
Upvotes: 0
Views: 355
Reputation: 101
The syntax that Crystal Reports needed to work properly was:
IF ({rmadtl.ShortChar01}) = "" OR (ISNULL ({rmadtl.Shortchar01})) THEN TRUE
Upvotes: 1
Reputation: 9101
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.
Upvotes: 1