Empty Field DateTime value null

Stimulsoft Reports.PHP discussion
lfcapacio
Posts: 15
Joined: Fri Jun 29, 2012 4:43 pm
Location: Brazil

Empty Field DateTime value null

Post by lfcapacio »

Hello,

When I have a field of type DateTime and the field value is null when selected the Text Format field to Custom and select any option or even a new Format Mask for example dd/MM/yy HH:mm:ss is displayed content Format Mask and not white as it should be.

How do I get the value out blank when null?

Thank you.
Attachments
print1.png
print1.png (78.72 KiB) Viewed 8252 times
print2.png
print2.png (36.38 KiB) Viewed 8252 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Empty Field DateTime value null

Post by Edward »

Hi Ifcapacio,

Please change the text format to 'General' and use the following expression in the text component:

Code: Select all

{IIF(Orders.ShippedDate==null,"",Orders.ShippedDate.ToString("dd MMMM yyyy HH:mm:ss"))}
The Orders.ShippedDate is a nullable DateTime column.

We will inform you in this topic when this bug is fixed.

Thank you,
Edward
lfcapacio
Posts: 15
Joined: Fri Jun 29, 2012 4:43 pm
Location: Brazil

Re: Empty Field DateTime value null

Post by lfcapacio »

Thank you for your attention.

I'm waiting.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Empty Field DateTime value null

Post by Alex K. »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
lfcapacio
Posts: 15
Joined: Fri Jun 29, 2012 4:43 pm
Location: Brazil

Re: Empty Field DateTime value null

Post by lfcapacio »

Hello !

Any predictions for solving this issue?
I realize that the problem only occurs when the custom option is selected, the pre-determined works correctly.
Still awaiting.

Thank you
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Empty Field DateTime value null

Post by Vladimir »

Hello,

The error is fixed, it does not occur when testing version 2017.1.8. The Custom Date and Time format works correctly for data columns and variables.
The new release 2017.1.8 is now on internal testing and will soon be available.

Thank you.
lfcapacio
Posts: 15
Joined: Fri Jun 29, 2012 4:43 pm
Location: Brazil

Re: Empty Field DateTime value null

Post by lfcapacio »

Hello,

In version 2017.1.8 the problem continues.

I wait.

Thank you.
Attachments
screen1.png
screen1.png (106.08 KiB) Viewed 8163 times
screen2.png
screen2.png (26.64 KiB) Viewed 8163 times
screen3.png
screen3.png (13.24 KiB) Viewed 8163 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Empty Field DateTime value null

Post by Alex K. »

Hello,

We couldn't reproduce this issue on our samples with our test data.
Please send us a simple report with test data which reproduces the issue for analysis.

Thank you.
lfcapacio
Posts: 15
Joined: Fri Jun 29, 2012 4:43 pm
Location: Brazil

Re: Empty Field DateTime value null

Post by lfcapacio »

Hello,

Attached files example of the problem.

Thank you.
Attachments
Desktop.zip
(4.61 KiB) Downloaded 408 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Empty Field DateTime value null

Post by HighAley »

Hello, Luis.

We have reproduced the issue.
We are working on it and will let you know when we get any result.

Thank you.
Post Reply