I am using CR9 with MS SQL Server 2000. I have 2 views that pull back the correct data. The first view pulls back the Number of pages and the spreads they belong to, and it is always the same result set.
v_view1 Result Set:
Page Spread
B01 F01_B01
B02 B02_B03
B03 B02_B03
B04 B04_B05
B05 B04_B05
B06 B06_B07
B07 B06_B07
F01 F01_B01
F02 F02_F03
F03 F02_F03
F04 F04_F05
F05 F04_F05
F06 F06_F07
F07 F06_F07
The second view, v_view2 pulls back more specific data including if any of the above listed pages have ads placed on them, what category the ads belong to, ad size, etc. v_view2 pulls back the pages used which will correspond to one of the pages from v_view1's result set. However, it will not pull back every page unless all the pages have been used, more likely it only pulls back a couple of the 14 pages listed above.
The report I want to create will list out the result set from v_view1 such as below
GH1 F01_B01
F01
B01
F02_F03
F02
F03
F04_F05
F04
F05
etc
etc
With the spread being the group and the two pages that belong to each spread listed. I want this data to show up no matter what, whether there is an ad for that page or not. Then I want v_view2 to populate the report with its data and fill in the pages where appropriate so it will look like this when finished:
Page Category FullPage 1/2 1/4
GH1 F01_B01
D F01 Construction 1
B01 Automotive 1
F02_F03
F02
F03 Lawyer, Pizza 2
F04_F05
F04
F05
F06_F07
F06
F07
B02_B03
B02
B03 Automotive 1
etc.
etc.
Basically the User will run the report in the morning, it will populate the pages that have ads while showing which pages are open so they can fill it in themselves as the day goes. I have tried creating this report but with unpredictable results - I would be getting hundreds of records when it should have been around 41. If anyone has any ideas on how to get this done I would appreciate it.
Thanks,
bryan
v_view1 Result Set:
Page Spread
B01 F01_B01
B02 B02_B03
B03 B02_B03
B04 B04_B05
B05 B04_B05
B06 B06_B07
B07 B06_B07
F01 F01_B01
F02 F02_F03
F03 F02_F03
F04 F04_F05
F05 F04_F05
F06 F06_F07
F07 F06_F07
The second view, v_view2 pulls back more specific data including if any of the above listed pages have ads placed on them, what category the ads belong to, ad size, etc. v_view2 pulls back the pages used which will correspond to one of the pages from v_view1's result set. However, it will not pull back every page unless all the pages have been used, more likely it only pulls back a couple of the 14 pages listed above.
The report I want to create will list out the result set from v_view1 such as below
GH1 F01_B01
F01
B01
F02_F03
F02
F03
F04_F05
F04
F05
etc
etc
With the spread being the group and the two pages that belong to each spread listed. I want this data to show up no matter what, whether there is an ad for that page or not. Then I want v_view2 to populate the report with its data and fill in the pages where appropriate so it will look like this when finished:
Page Category FullPage 1/2 1/4
GH1 F01_B01
D F01 Construction 1
B01 Automotive 1
F02_F03
F02
F03 Lawyer, Pizza 2
F04_F05
F04
F05
F06_F07
F06
F07
B02_B03
B02
B03 Automotive 1
etc.
etc.
Basically the User will run the report in the morning, it will populate the pages that have ads while showing which pages are open so they can fill it in themselves as the day goes. I have tried creating this report but with unpredictable results - I would be getting hundreds of records when it should have been around 41. If anyone has any ideas on how to get this done I would appreciate it.
Thanks,
bryan