Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null Date export to Excel - Progress Database

Status
Not open for further replies.

megbytes

MIS
Aug 5, 2010
8
US
in July 2009, Turkbear responded to a issue concerning null date export. I tried this solution on a Progress database to Crystal report and crystal returned
"12/31/-4714" as the date.

Mr. Turkbear, if you are listening, any suggestions for Progress Databases.

Thank you - your advice is always appreciated.


Turkbear (TechnicalUser) 29 Jul 09 15:14
In your report,create a formula to use in place of the actual date field:
@DateForm

CODE
If IsNull({DateField}) Then
""
Else
ToText({DateField},'MM/dd/yyyy') //Case sensitive
 
Hi,
Perhaps Progress stores NULL or unsupplied dates as that Date ( some databases do that, I am not familiar with Progress' default Date format) so try:

Code:
(
If IsNull({DateField}) OR ToText({DateField},'MM/dd/yyyy') = "12/31/-4714"
)
Then
""
Else
ToText({DateField},'MM/dd/yyyy')



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Hi,
Glad I could help..( I take every day off, its is the joy of retirement [wink])



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top