Handling of Null value for integer/decimal fields

Stimulsoft Reports.NET discussion
Post Reply
raja
Posts: 12
Joined: Wed Aug 08, 2007 6:32 am

Handling of Null value for integer/decimal fields

Post by raja »

Hi,
If the value for any integer/decimal field is null in database, stimul report is returning as "0", instead of DBNull. Is it a bug?

I test this in the latest (Aug 23) build. Can someone confirm this?

Thanks!!!

Note: I tested this issue in both SQL Server and Access Db.
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

Handling of Null value for integer/decimal fields

Post by Brendan »

Set the property ConvertNulls to false for your report. This way nulls will not be converted automatically
raja
Posts: 12
Joined: Wed Aug 08, 2007 6:32 am

Handling of Null value for integer/decimal fields

Post by raja »

Brendan wrote:Set the property ConvertNulls to false for your report. This way nulls will not be converted automatically
That works...

Thank you!!!
Post Reply