Hi All,
I need to design a report that has me stumped. I'll try and provide the specs in full:
The End Result
A B C D E F G H I J K L M N O
Group Client Client ACC Premium Levy Comm
Code No Name Exec
Columns E,F & G based on Date Range 01 Sept 2001 to 31 Dec 2001
Columns H,I & J Same headers as E,F & G but Date Range 01 Jan 2002 to 30 Sept 2002
Columns K,L&M Same headers as E,F & G but different filters (invoices that have not been completed)but on Date Range 01 Sept 2002 to 31 Dec 2002
Column N = H + K (Total Premium 2002)
Column O = J + M (Total Comm 2002)
Furthermore, the date range selection needs to be parameter driven in order to select on one of 2 date fields (Invoice Date or Effective Date)
There are only 2 Tables required viz Client and Policy.
I started off by dismissing bringing in the same tables again as aliases as the date ranges would be generic to the report and then thought Sub reports is the way to go.
Hence I created the primary report with date ranges for columns for E, F& G.
This report is Grouped by Branch, Department,ClientNo and CoverNo.The latter field for drill down options and most probably will need InvoiceNo at a latter stage.
Subtotals on each Group.
I then copied the primary, selected date ranges for columns H,I & J, suppressed client information,hence Sub Report A. Copied the primary again, and filtered according to requirements and date ranges for columns K,L & M, hence Sub Report B.
At this stage I have not as yet placed parameters in the report for date range selections, or any other parameters.
However, my first challenge has been run into linking issues (Sub Report A linked via ClientNo) and after searching for clues in Tek-Tips and reading the manual on Sub reports again, have realised that Sub reports will not allow me to have different date ranges on one report, as such it's fruitless exercise to expend time to resolve my linking issues.
1.)The question is, is it possible to create the report in question? (If so based on what I have done to date, my question would be how to fix my linking issue which I'm still trying to get to work, more of that later if required)
2.)If so,but not on the way I have been trying to write the report,please could you provide pointers for the best way forward to design this report.
3.)If not possible, other experienced recommendations would be appreciated.
CR8
Oracle 8i
Thanks in advance and Regards
Warren I'd rather be stupid for 5 minutes than for the rest of my life.
I need to design a report that has me stumped. I'll try and provide the specs in full:
The End Result
A B C D E F G H I J K L M N O
Group Client Client ACC Premium Levy Comm
Code No Name Exec
Columns E,F & G based on Date Range 01 Sept 2001 to 31 Dec 2001
Columns H,I & J Same headers as E,F & G but Date Range 01 Jan 2002 to 30 Sept 2002
Columns K,L&M Same headers as E,F & G but different filters (invoices that have not been completed)but on Date Range 01 Sept 2002 to 31 Dec 2002
Column N = H + K (Total Premium 2002)
Column O = J + M (Total Comm 2002)
Furthermore, the date range selection needs to be parameter driven in order to select on one of 2 date fields (Invoice Date or Effective Date)
There are only 2 Tables required viz Client and Policy.
I started off by dismissing bringing in the same tables again as aliases as the date ranges would be generic to the report and then thought Sub reports is the way to go.
Hence I created the primary report with date ranges for columns for E, F& G.
This report is Grouped by Branch, Department,ClientNo and CoverNo.The latter field for drill down options and most probably will need InvoiceNo at a latter stage.
Subtotals on each Group.
I then copied the primary, selected date ranges for columns H,I & J, suppressed client information,hence Sub Report A. Copied the primary again, and filtered according to requirements and date ranges for columns K,L & M, hence Sub Report B.
At this stage I have not as yet placed parameters in the report for date range selections, or any other parameters.
However, my first challenge has been run into linking issues (Sub Report A linked via ClientNo) and after searching for clues in Tek-Tips and reading the manual on Sub reports again, have realised that Sub reports will not allow me to have different date ranges on one report, as such it's fruitless exercise to expend time to resolve my linking issues.
1.)The question is, is it possible to create the report in question? (If so based on what I have done to date, my question would be how to fix my linking issue which I'm still trying to get to work, more of that later if required)
2.)If so,but not on the way I have been trying to write the report,please could you provide pointers for the best way forward to design this report.
3.)If not possible, other experienced recommendations would be appreciated.
CR8
Oracle 8i
Thanks in advance and Regards
Warren I'd rather be stupid for 5 minutes than for the rest of my life.