Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Empty Field

Status
Not open for further replies.

Steve95

MIS
Nov 3, 2004
265
US
Hi All

I have a report in CRXI Rel 1, from data source Stored Procedure. In one of fields which is data type 'String' their are blank values.

I need these blank values to return in my report, however I have tried every

where {field} = " "
isnull ({field}) etc etc

and I am running out of options.

Anyone any ideas how to return blanks from a SP?

Many Thanks
 
try

where isnull({field}) or
trim({field}) = "" or


-Steve


"if at first you don't succeed, sky diving is not for you"!!! :eek:)
 
To expand on TheBlondOne's answer:

When writing formulas, any test for null values must come first. Without isnull, Crystal will stop processing the formula when it hits a null value; the default assumption being that null means show nothing. I made this mistake several times while I was learning Crystal, because it's not obvious to someone who's used to other programming languages.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top