fishymetrics
Technical User
I have read many posts and faqs regarding the dilema of displaying continuous calendar dates even when there is no data returned. I'm trying to work it out in a test report.
Using Cr10
My excel table has dates from 1/1/1999 to 12/31/2025
I linked, using LO join, the date to a "close date" field in a call handling table in a Progress database thru ODBC
Selection was for year to date
CR created this sql
SELECT `DATES_`.`DateTime`
FROM `DATES$` `DATES_`
WHERE (`DATES_`.`DateTime`>=#2011-01-01 00:00:00# AND `DATES_`.`DateTime`<#2011-11-04 00:00:00#)
SELECT "xca_mstr"."xca_cls_date", "xca_mstr"."xca_nbr"
FROM "PUB"."xca_mstr" "xca_mstr"
This works fine.
However, I want to do a selection on the call table where "xca_mstr"."xca_nbr"startswith "CA"
so my Record selection formula is
{DATES_.DateTime} in YearToDate and
{xca_mstr.xca_nbr} startswith "ca"
CR creates the sql
SELECT `DATES_`.`DateTime`
FROM `DATES$` `DATES_`
WHERE (`DATES_`.`DateTime`>=#2011-01-01 00:00:00# AND `DATES_`.`DateTime`<#2011-11-04 00:00:00#)
SELECT "xca_mstr"."xca_cls_date", "xca_mstr"."xca_nbr"
FROM "PUB"."xca_mstr" "xca_mstr"
WHERE "xca_mstr"."xca_nbr" LIKE 'ca%'
And as you guessed it, now my "dates without call data" disappear.
maybe its just late in the day and brain not working but any suggections as to how to handle this?
Using Cr10
My excel table has dates from 1/1/1999 to 12/31/2025
I linked, using LO join, the date to a "close date" field in a call handling table in a Progress database thru ODBC
Selection was for year to date
CR created this sql
SELECT `DATES_`.`DateTime`
FROM `DATES$` `DATES_`
WHERE (`DATES_`.`DateTime`>=#2011-01-01 00:00:00# AND `DATES_`.`DateTime`<#2011-11-04 00:00:00#)
SELECT "xca_mstr"."xca_cls_date", "xca_mstr"."xca_nbr"
FROM "PUB"."xca_mstr" "xca_mstr"
This works fine.
However, I want to do a selection on the call table where "xca_mstr"."xca_nbr"startswith "CA"
so my Record selection formula is
{DATES_.DateTime} in YearToDate and
{xca_mstr.xca_nbr} startswith "ca"
CR creates the sql
SELECT `DATES_`.`DateTime`
FROM `DATES$` `DATES_`
WHERE (`DATES_`.`DateTime`>=#2011-01-01 00:00:00# AND `DATES_`.`DateTime`<#2011-11-04 00:00:00#)
SELECT "xca_mstr"."xca_cls_date", "xca_mstr"."xca_nbr"
FROM "PUB"."xca_mstr" "xca_mstr"
WHERE "xca_mstr"."xca_nbr" LIKE 'ca%'
And as you guessed it, now my "dates without call data" disappear.
maybe its just late in the day and brain not working but any suggections as to how to handle this?