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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

isnull check stopped working

Status
Not open for further replies.

RPOC

IS-IT--Management
Jun 17, 2003
44
US
i am using crystal 11, The report I aam working with was written in crystal 9. and is being used by a client base and has not had any issues until now and only on 1 client location. This report runs via an odbc connection to an intersystems cache 2008 database.

I am using the below selection criteria.
IsNull({history_client_dispense.LINK_TO_SPILL_CLIENT})

If i use this no data appears when data that fits this criteria does exist. I did check the data set an the value is showing as a null value. I tested this by converting the field to a formula. The null test comes back as true. I also did a Len formula on this field and it did not return a value. If the field had values in it the tests showed it as false for teh boolean expression and the proper lenght.
I had the structure of the table reviewed and it is correct. Is something going on with cryestal reports or is it possible some default option was turned off?
 
Have the user check file->report options and make sure that "convert nulls to default values" is NOT checked.

-LB
 
that option is not checked. I as actually thinking of chekcing it and using a new formula that would check the size of the field.
 
Hi,
Try:
Code:
IsNull({history_client_dispense.LINK_TO_SPILL_CLIENT}) 
OR
Trim({history_client_dispense.LINK_TO_SPILL_CLIENT}) = ""

Not all blanks are NULLs








[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top