Print Page | Close Window

CXTPReportRecordItemDateTime ASSERTs for "null"

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=6195
Printed Date: 22 November 2024 at 8:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportRecordItemDateTime ASSERTs for "null"
Posted By: brianh
Subject: CXTPReportRecordItemDateTime ASSERTs for "null"
Date Posted: 23 January 2007 at 11:42am
I just upgraded to version 10.4.1 and have found that if I set a null date as the value for a CXTPReportRecordItemDateTime I get an ASSERT!  :(
 
In the previous version (10.3.1) this worked fine.  Can you please remove the ASSERT (it's in the CXTPReportControlLocale::_FormatDateTime() method)?
 
Thanks.



Replies:
Posted By: sserge
Date Posted: 23 January 2007 at 2:44pm
Hi,

Yes, thanks, we'll remove it for future...

--
WBR,
Serge


Posted By: brianh
Date Posted: 16 March 2007 at 10:58am
I now have version 10.4.2 and this ASSERT is still there!!
Can you please remove it as you promised.
Thanks.


Posted By: sserge
Date Posted: 24 March 2007 at 5:45pm
Updated to the following:

if (dt.GetStatus() != COleDateTime::valid)
{
ASSERT(dt.GetStatus() == COleDateTime::null);
return _T("");
}


--
WBR,
Serge




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net