<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.talis.com/tdn" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Talis Developer Network - Talis Decisions - Comments</title>
 <link>http://www.talis.com/tdn/node/1501</link>
 <description>Comments for &quot;Talis Decisions&quot;</description>
 <language>en</language>
<item>
 <title>negative ages</title>
 <link>http://www.talis.com/tdn/node/1501#comment-366</link>
 <description>&lt;p&gt;It is possible as Alto does not prevent dates in the future being entered in the Date of Birth field.  &lt;/p&gt;
&lt;p&gt;Hopefully not a common problem the extent of which can be checked using Talis Decisions&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Sep 2006 16:05:26 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 366 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Negative Ages</title>
 <link>http://www.talis.com/tdn/node/1501#comment-365</link>
 <description>&lt;p&gt;Probably not relevant, but Talis allows dates of up to 2038 in the dob field. So, could the result of the Age calculation be negative?&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Sep 2006 15:10:23 +0100</pubDate>
 <dc:creator>claurenti</dc:creator>
 <guid isPermaLink="false">comment 365 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Age in years</title>
 <link>http://www.talis.com/tdn/node/1501#comment-360</link>
 <description>&lt;p&gt;The actual SQL is that is generated by the Borrower age (in years) object&lt;/p&gt;
&lt;p&gt;&lt;code&gt;SELECT&lt;br /&gt;
  datediff(YY,dbo_BORR1.DATE_OF_BIRTH,getdate())&lt;br /&gt;
FROM&lt;br /&gt;
  dbo.BORROWER  dbo_BORR1&lt;br /&gt;
WHERE&lt;br /&gt;
( dbo_BORR1.DATE_OF_BIRTH  &lt;&gt; &#039;01 Jan 1970 12:00AM&#039;  ) &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;as you can see borrowers with a DATE_OF_BIRTH value of &#039;01 Jan 1970 12:00AM&#039; are not included. That datetime is a default value and means that nothing is displayed on-line.  If you do have someone who was born on Jan 1 1970 you actually have to set the time to something other than 12:00AM.  This has to be done via the database as Alto does not allow you to set a time for the date of birth.  &lt;/p&gt;
&lt;p&gt;This is a known issue with Text and Alto and I think there is an FAQ.  It is not an issue as such with Decisions but the data itself.&lt;/p&gt;
&lt;p&gt;I am guessing that the vast majority of people with the DATE_OF_BIRTH of &#039;01 Jan 1970 12:00AM&#039; have no date of birth set rather than being born on that day.&lt;/p&gt;
&lt;p&gt;I&#039;m not sure about those with the date of birth that is NULL.  I&#039;m not aware of why that could happen and that might need further investigation.  I would assume that if the borrower has a date of birth of NULL that the date of birth is unknown and that it should be &#039;01 Jan 1970 12:00AM&#039;.  It would be possible to change the NULL values to &#039;01 Jan 1970 12:00AM&#039;.&lt;/p&gt;
&lt;p&gt;A wider question is whether you would expect to see borrowers that don&#039;t have a date of birth at all and what you would expect to see for borrowers that don&#039;t have a data of birth. Given the nature of the data and the database shape to list all borrowers with a dob if present you would have to do two queries, all borrowers and borrowers with ages and then join them together on the borrower barcode.&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Tue, 19 Sep 2006 17:08:59 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 360 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Figure it!</title>
 <link>http://www.talis.com/tdn/node/1501#comment-359</link>
 <description>&lt;p&gt;What was confusing me was that some of the Date of Births where &#039;null&#039; and the missing 37493 ones were in as &#039;1970/01/01&#039; which I guess are some sort of default?   &lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Tue, 19 Sep 2006 15:37:29 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 359 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Age Profiles</title>
 <link>http://www.talis.com/tdn/node/1501#comment-358</link>
 <description>&lt;p&gt;I&#039;m a bit confused! (Which is quite normal)&lt;/p&gt;
&lt;p&gt;I am trying to do some age profiling for one of our managers, but I don&#039;t understand what&#039;s happening with the &#039;Borrowers Age (in years)&#039; field.&lt;/p&gt;
&lt;p&gt;If I do the following report:&lt;br /&gt;
Home Site, Borrower Type, Barcode, Borrower name, Date of Birth - with the condition being &#039;Active/Deleted = Active&#039;.  This results in 117019 rows being returned.&lt;/p&gt;
&lt;p&gt;However, If I do the same query, but include &#039;Borrowers Age (in years)&#039;, I get 78203 rows returned.&lt;/p&gt;
&lt;p&gt;I know &#039;Borrowers Age (in years)&#039; only includes those records where there is a DOB, so if I do another query showing the records with no DOB (i.e. DOB is null) then I get 1323 rows.&lt;/p&gt;
&lt;p&gt;So... What&#039;s puzzling is:  If I have 117019 records in total, 78203 with ages and 1323 with no dob, where are the missing 37493 records?&lt;/p&gt;
&lt;p&gt;Any ideas anyone?&lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Tue, 19 Sep 2006 15:19:18 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 358 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Talis Decisions</title>
 <link>http://www.talis.com/tdn/node/1501</link>
 <description>&lt;p&gt;Welcome to the Talis Decisions forum on the TDN.&lt;/p&gt;
&lt;p&gt;Have you got questions about the universes, suggestions for new universes or objects or useful tips on creating reports within Talis Decisions?&lt;/p&gt;
&lt;p&gt;With the refresh of the technology underpinning Talis Decisions the opportunities for discussing and sharing report templates is greatly increased as the possibilities of Talis Decisions have increased.&lt;/p&gt;
&lt;p&gt;The postings from the existing forum will be moved to this forum.&lt;/p&gt;
</description>
 <comments>http://www.talis.com/tdn/node/1501#comments</comments>
 <category domain="http://www.talis.com/tdn/taxonomy/term/86">Talis Decisions</category>
 <pubDate>Fri, 28 Jul 2006 10:30:38 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">1501 at http://www.talis.com/tdn</guid>
</item>
</channel>
</rss>
