Friday, March 30, 2012
reporting services table formatting
the table headers to show on the 2nd page? I just get a continuation of
the table with no headers on subsequent pages.
Anybody know how to do this?
*** Sent via Developersdex http://www.examnotes.net ***You can set the property RepeatOnNewPage property of the header to True in
order to get table headers on each page. It is False by default.
Hope this helps.
Dan Guzman
SQL Server MVP
"Mike P" <mike.parr@.gmail.com> wrote in message
news:uLW3bBMeGHA.3388@.TK2MSFTNGP05.phx.gbl...
> When you have a table that continues onto another page, how do you get
> the table headers to show on the 2nd page? I just get a continuation of
> the table with no headers on subsequent pages.
> Anybody know how to do this?
>
> *** Sent via Developersdex http://www.examnotes.net ***
reporting services table formatting
the table headers to show on the 2nd page? I just get a continuation of
the table with no headers on subsequent pages.
Anybody know how to do this?
Are you using Reporting Services 2005?
If so... Select the table and right click to get the pop-up menu. Select properties and on the first tab (General) there is a checkbox "Repeat header rows on each page"
mike72:
When you have a table that continues onto another page, how do you get
the table headers to show on the 2nd page? I just get a continuation of
the table with no headers on subsequent pages.Anybody know how to do this?
Reporting Services Subscription Table DataSettings field cut off at 256 characters!
Does anybody know why when i create a subscription using rs.CreateDataDrivenSubscription, the datasettings that is saved in the subscriptions table is cut off at 256 characters.
can anyone help?
Is the column defined as an ntext? If so then somehow your DB is corrupt. Otherwise, I have never seen this issue before.-Daniel
Reporting Services Stored Procedure Dataset
Thanks!does it return the correct result set when you run it from QA ?|||Yes, it does return the correct dataset. I am using sql 2005 and if I have the procedure like his:
DECLARE Mycusor CURSOR FOR SELECT Field1, Field2, ...
OPEN CURSOR ...
FETCH NEXT ...
WHILE @.@.FETCH_STATUS > 0 ...
INSERT INTO tmp ...
SELECT * FROM tmp
If the procedure is like this then in Sql 2005 when i run it i get the data from tmp and in Reporting Services i get a dataset containg Field1, Field2 with no rows in it.
Do you have any idea?|||dont you have a close/deallocate cursor ? heres a template for a cursor.
DECLARE rs CURSOR
LOCAL
FORWARD_ONLY
OPTIMISTIC
TYPE_WARNING
FOR SELECT
OPEN rs
fetch next from rs into
WHILE ( @.@.FETCH_STATUS = 0 )
begin
-- your DML stmts.FETCH NEXT FROM rs INTO
ENDclose rs
deallocate rs
and you would need to do a select after deallocating the cursor.
hth
Wednesday, March 21, 2012
Reporting Services Matrix
Can you add a grand total row to a matrix like a pivot table. Can you sum
up results from a column in a matrix? Maybe add a calculated field to a
matrix?Hi Randy,
Right click on the "Rows" cell of the matrix and select "Subtotal".
take care!
Michelle|||Thank you very much. This worked
"Michelle@.bwalk.com" wrote:
> Hi Randy,
> Right click on the "Rows" cell of the matrix and select "Subtotal".
> take care!
> Michelle
>|||Does anybody know how to create a calculated field in a Matrix using a
subtotal value from a matirx against another value? I have a subtotal that
is taking 2 results from a column on a matrix. I want to take the subtotal
and divide it by a value returned from the other two fileds resulted from the
column on the matrix. To get a percentage. For example:
Matrix
Held Calls Calls Total Calculated FieldIn Matrix
20 50 70 HeldCalls/Total "to get %
"Randy" wrote:
> Thank you very much. This worked
> "Michelle@.bwalk.com" wrote:
> > Hi Randy,
> >
> > Right click on the "Rows" cell of the matrix and select "Subtotal".
> >
> > take care!
> > Michelle
> >
> >|||I'm looking for a way to do this with RS as well. I haven't found a way.
I'm going to write a Stored Proc that produces these types of results and
I'll just presesnt them in a grid.
"Randy" wrote:
> Does anybody know how to create a calculated field in a Matrix using a
> subtotal value from a matirx against another value? I have a subtotal that
> is taking 2 results from a column on a matrix. I want to take the subtotal
> and divide it by a value returned from the other two fileds resulted from the
> column on the matrix. To get a percentage. For example:
> Matrix
> Held Calls Calls Total Calculated FieldIn Matrix
> 20 50 70 HeldCalls/Total "to get %
>
> "Randy" wrote:
> > Thank you very much. This worked
> >
> > "Michelle@.bwalk.com" wrote:
> >
> > > Hi Randy,
> > >
> > > Right click on the "Rows" cell of the matrix and select "Subtotal".
> > >
> > > take care!
> > > Michelle
> > >
> > >