Hi All,
Upon just uprading to V10.5 (from V5), a user notes that several records are missing from a report. I thought at first that this was simply one of the many ways that stricter syntax was required for later versions. But upon investigating, I found something which I cannot explain. It seemingly has to do with the between() function and/or the involvement of a leap year.
There were four missing records for the report in question. From the code below, you will see that if I look for records with the Serv_start date between 1/1/2011 and 2/20/2013, I find four matching records. As shown, all four of these have Serv_start dates of 2/21/2012.
But if I look for records with Serv_start dates between 1/1/2012 and 2/20/2013, it finds no records!!!
I've heard of problems encountered on previous leap years but have found no conclusive postings thus far. Can any explain what I've encountered? Thanks.
Steve
Upon just uprading to V10.5 (from V5), a user notes that several records are missing from a report. I thought at first that this was simply one of the many ways that stricter syntax was required for later versions. But upon investigating, I found something which I cannot explain. It seemingly has to do with the between() function and/or the involvement of a leap year.
There were four missing records for the report in question. From the code below, you will see that if I look for records with the Serv_start date between 1/1/2011 and 2/20/2013, I find four matching records. As shown, all four of these have Serv_start dates of 2/21/2012.
But if I look for records with Serv_start dates between 1/1/2012 and 2/20/2013, it finds no records!!!
Code:
fltr = "medicaid='02 10 097352-01'.AND.between(serv_start,{01/01/2011},{02/20/2013})" ?fltr = "medicaid='02 10 097352-01'.AND.between(serv_start,{01/01/2011},{02/20/2013})" ?table.external_record_content_get("caregvn","dtoc(serv_start)","",fltr) = 02/21/2012 02/21/2012 02/21/2012 02/21/2012 ?a5_get_records_in_query("caregvn",fltr) = 4 fltr = "medicaid='02 10 097352-01'.AND.between(serv_start,{01/01/2012},{02/20/2013})" ?fltr = "medicaid='02 10 097352-01'.AND.between(serv_start,{01/01/2012},{02/20/2013})" ?table.external_record_content_get("caregvn","dtoc(serv_start)","",fltr) = "" ?a5_get_records_in_query("caregvn",fltr) = 0
Steve
Comment