Author |
Topic |
Maxer
Yak Posting Veteran
51 Posts |
Posted - 2007-07-30 : 16:06:32
|
In old school COBOL Reports you'd often see a header row that would be something likeLine1: CustomerIDLine2: Customer NameDetail1: 0156784613Detail2: Jane, DoeCan that be done with reporting services?If I have a group in a table, can I make that group cover two rows? |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-30 : 16:07:56
|
Yes that can be done in the header.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
Maxer
Yak Posting Veteran
51 Posts |
Posted - 2007-07-30 : 16:50:56
|
I should have elaborated, can I do that with the detail line as well?I don't see how to actually do that in the reprot, so that my detail line is two rows "high" so I can have:Detail1(row1): Fields!CustomerIDDetail2(row2): Fields!CustomerName |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-30 : 17:06:20
|
Yes you can do that. But I think you would use the column from your data set and use that in the field. You can use the same column multiple times.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
Maxer
Yak Posting Veteran
51 Posts |
Posted - 2007-07-30 : 17:54:10
|
So then I can't do that with rows, just with repeating columns? |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-30 : 17:58:27
|
Yes you can do it with rows. Perhaps you need to show us exactly what you are doing. Just us a sample result set of the dataset, your header and your detailed section. Show what it should be doing too.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
Maxer
Yak Posting Veteran
51 Posts |
Posted - 2007-07-30 : 21:21:58
|
Ok so I have:CustomerID, CustomerName, CustomerAddress, CustomerCity, CustomerStateI want it to display:Row1 - CustomerID, CustomerNameRow2 - Customer AddressRow3 - Customer City, State, Zip |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-30 : 21:34:25
|
So just stagger your fields in the detail section of the report. There's nothing that says that they all have to be on the same line of the report.I've got one report that probably has 10 lines for each row.Are you getting an error when you put them on more than one line?Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
Maxer
Yak Posting Veteran
51 Posts |
Posted - 2007-07-31 : 08:29:47
|
Ok thanks, got it worked out.Some sort of odd user error on my part, I'm able to add rows just fine now. Not sure why I couldn't before.Thanks.-I don't suppose you know how to make multiple tabs/pages in a report?Basically so a report can have a "cover page" and then the actual report after that? |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-07-31 : 11:47:45
|
I believe you would just setup page breaks in the report.Tara Kizerhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|