Sep 9, 2008 #1 Luvsql Technical User Apr 3, 2003 1,179 CA In SQL Server, I would use isnull(field,0)<>0 to basically convert any values that are null to 0, so that I can then use it in a formula. What's the equivalent of this in crystal?
In SQL Server, I would use isnull(field,0)<>0 to basically convert any values that are null to 0, so that I can then use it in a formula. What's the equivalent of this in crystal?
Sep 9, 2008 #2 lbass Technical User Feb 9, 2002 32,816 US Create a formula: if isnull({table.field}) then 0 else {table.field} You could alternatively go to file->report options and check "convert nulls to default values". -LB Upvote 0 Downvote
Create a formula: if isnull({table.field}) then 0 else {table.field} You could alternatively go to file->report options and check "convert nulls to default values". -LB
Sep 9, 2008 Thread starter #3 Luvsql Technical User Apr 3, 2003 1,179 CA I had this marked to try but since this field is a boolean when I set the field to equal false, it wasn't working. Upvote 0 Downvote
I had this marked to try but since this field is a boolean when I set the field to equal false, it wasn't working.
Sep 10, 2008 #4 lbass Technical User Feb 9, 2002 32,816 US Please explain what you mean, showing samples of the field, and also show what formula you tried. -LB Upvote 0 Downvote
Please explain what you mean, showing samples of the field, and also show what formula you tried. -LB