Afternoon All,
I have got 4 fields that I wish to show in a report
reportdate.Date
list.Referral_Date
op.Op_Date
cancel.Cancel_Date
Each of the fields are in a different table and each of them are datetime fields.
The reportdate table is a constant - period table with an entry for every date since 1963 upto 2063 e.g. 01/01/2004 00.00.00
I have linked each of the other tables to the reportdate table using a left outer join.
What I would like to get is:
Date Referral Date Op Date Cancel Date
01/01 01/01
02/01 02/01 02/01
03/01 03/01
04/01 04/01 04/01
05/01 05/01
05/01 05/01
06/01 06/01 06/01
06/01 06/01
07/01 07/01
08/01 08/01
Etc. I am using CR9 and SQL2000
I am now noticing that as some of the data that was inputted has got the time portion it is not being called up when put into the report as it is not the same as the reportdate field.
I think that I need to convert each of the datetime fields to just date - but before it reaches the report.
Is this right..? And if so what is the best way of doing this..?
Thanks for your help.
Vis.
I have got 4 fields that I wish to show in a report
reportdate.Date
list.Referral_Date
op.Op_Date
cancel.Cancel_Date
Each of the fields are in a different table and each of them are datetime fields.
The reportdate table is a constant - period table with an entry for every date since 1963 upto 2063 e.g. 01/01/2004 00.00.00
I have linked each of the other tables to the reportdate table using a left outer join.
What I would like to get is:
Date Referral Date Op Date Cancel Date
01/01 01/01
02/01 02/01 02/01
03/01 03/01
04/01 04/01 04/01
05/01 05/01
05/01 05/01
06/01 06/01 06/01
06/01 06/01
07/01 07/01
08/01 08/01
Etc. I am using CR9 and SQL2000
I am now noticing that as some of the data that was inputted has got the time portion it is not being called up when put into the report as it is not the same as the reportdate field.
I think that I need to convert each of the datetime fields to just date - but before it reaches the report.
Is this right..? And if so what is the best way of doing this..?
Thanks for your help.
Vis.