Invalid Date

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Invalid Date

Postby Red_Diamond » Thu Sep 03, 2009 5:03 am

I'm not sure if I"m doing something wrong, or ran into a little bug.

I decided to do a very simple report. I followed the FaQ on making a report to just show hands that hate notes attached to them. This works, but one of the stats I have in that report is the Date. But for some reason, despite everything lists and displays properly, at the bottom of my report list I always get in bold:

Invalid Date:

And then it lists the total number of hands that show up in that report. I'm not sure why this quirk happens, despite everything else SEEMS to be running ok.
Red_Diamond
 
Posts: 28
Joined: Tue May 13, 2008 3:36 am

Re: Invalid Date

Postby WhiteRider » Thu Sep 03, 2009 5:13 am

Is that in the summary line at the bottom of the report?
Adding up dates doesn't work, that's why it shows as invalid.
If this is a stat you built yourself you can set the summary expression on the Format tab to be '' (two single quotes, giving an empty string) then it won't try to display the total of the dates.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests