Date Shows as 01/01/0001

Stimulsoft Reports.NET discussion
Post Reply
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Date Shows as 01/01/0001

Post by fkmfkm »

Hi,

My default vb date shows as 01/01/0001. Do I have an option to display nothing if this is the case ?

Thank you
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Date Shows as 01/01/0001

Post by Edward »

Please use the following checking in this case:

Code: Select all

{IIF((Me.Orders.ShippedDate = "01/01/0001 00:00:00"), "", Me.Orders.ShippedDate)}
Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Date Shows as 01/01/0001

Post by fkmfkm »

Where is the best place to put this code ?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Date Shows as 01/01/0001

Post by Vital »

For example you can place this expression in property Text of text component.

Thank you.
Post Reply