Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - CXTPReportRecordItemDateTime ASSERTs for "null"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPReportRecordItemDateTime ASSERTs for "null"

 Post Reply Post Reply
Author
Message
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportRecordItemDateTime ASSERTs for "null"
    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.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2007 at 2:44pm
Hi,

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

--
WBR,
Serge
Back to Top
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.