all groups > sql server reporting services > march 2006 >
You're in the

sql server reporting services

group:

One database item per page Reporting Services


One database item per page Reporting Services randy1200
3/13/2006 2:41:12 PM
sql server reporting services:
I'm creating Reporting Services reports in Visual Studio. I create a new
report, and see the Data, Layout, and Preview tabs.

In the data tab, I say: "select name from mytable". Four names are returned.
I'd like to display one name per page.

I posted this question a few days ago. The folks that responded (thanks)
suggested that in the Layout tab, I could place a table or list on the form,
then drag the "name" from DataSet1 onto the table or list. The problem with
this approach is that all 4 names are grouped on the first page. I'l like to
see one name per page.

In reality, mytable contains dozens of fields which will go on the report
form. I want Reporting Services to print out a one page report for Mr. Able,
Mr. Baker. Mr. Charles, and so on.

--
RE: One database item per page Reporting Services Limey
3/13/2006 6:23:27 PM
I think the best way to handle this is with the List control.

In the layout tab drag the list from the toolbox.

You can then drag the name (and any other field) into the list control.

You can then right click on the List control and select properties.

In the General tab, click "Edit details group..."

In the top line of the expression list, choose the name field from the drop
down.

Check the "Page break at end" checkbox.

Each instance of the list will now show up on it's own page. You can drag
whatever fields you want into the list box.

Hope this helps.


[quoted text, click to view]
RE: One database item per page Reporting Services Amarnath
3/13/2006 10:23:26 PM
Hi,

Hey Its simple. Suppose "select name from mytable" is your query.
After dragging table and placing fields as per your wish. Create a group
with "name" field, so whenever name changes it goes to the next page (dont
forget to click on "page break at end".

Amarnath

[quoted text, click to view]
RE: One database item per page Reporting Services randy1200
3/14/2006 7:51:29 AM
Got it! Many thanks...
--
Randy


[quoted text, click to view]
RE: One database item per page Reporting Services randy1200
3/14/2006 7:51:30 AM
That's exactly what I needed. Many thanks...
--
Randy


[quoted text, click to view]
AddThis Social Bookmark Button