ericfmyers
Technical User
I'm using Crystal Reports 2008 and I'm having a problem with Null values. I have two tables that are being compared in the report to return an account number. If there is no account number setup yet then I would like for it to return a message stating "Please add Account #".
The first table contains the records of the invoice and is called Books_billing. The second table is named Cust_DB. They are being linked like so:
{Books_billing.Company Name} = {Cust_DB.NAMECUST}
The formula I'm trying to put into the report is:
If IsNull({Cust_DB.AP-TOLAS-6-4}) then "Please add Account #" else {Cust_DB.AP-TOLAS-6-4}
This formula works most of the time but sometimes there is no row in the table that matches for {Cust_DB.NAMECUST}, so then the entire line is dropped.
And Yes, I do have the options checked for Convert Database Null Values to Default and Convert Other Null Values to Default.
Any help is appreciated. Thanks.
The first table contains the records of the invoice and is called Books_billing. The second table is named Cust_DB. They are being linked like so:
{Books_billing.Company Name} = {Cust_DB.NAMECUST}
The formula I'm trying to put into the report is:
If IsNull({Cust_DB.AP-TOLAS-6-4}) then "Please add Account #" else {Cust_DB.AP-TOLAS-6-4}
This formula works most of the time but sometimes there is no row in the table that matches for {Cust_DB.NAMECUST}, so then the entire line is dropped.
And Yes, I do have the options checked for Convert Database Null Values to Default and Convert Other Null Values to Default.
Any help is appreciated. Thanks.