Thursday, March 29, 2012
Data Space Problem
I have several SQL 2000 databases that displays 0 space
available when I view the properties of the database.
However when I change to the taskpad view, the view
indicates that there is space available.
Is this some kind of bug in SQL Server? Is there any fix
for it?
Any help would be appreciated?
Brennanrun DBCC UPDATEUSAGE and see if that helps.
Andrew J. Kelly SQL MVP
"Brennan" <anonymous@.discussions.microsoft.com> wrote in message
news:59ea01c40090$b4eedc60$a401280a@.phx.gbl...
> Hello:
> I have several SQL 2000 databases that displays 0 space
> available when I view the properties of the database.
> However when I change to the taskpad view, the view
> indicates that there is space available.
> Is this some kind of bug in SQL Server? Is there any fix
> for it?
> Any help would be appreciated?
> Brennan|||Thanks
That worked
Brennan
>--Original Message--
>run DBCC UPDATEUSAGE and see if that helps.
>--
>Andrew J. Kelly SQL MVP
>
>"Brennan" <anonymous@.discussions.microsoft.com> wrote in
message
>news:59ea01c40090$b4eedc60$a401280a@.phx.gbl...
fix
>
>.
>
Data Space Problem
I have several SQL 2000 databases that displays 0 space
available when I view the properties of the database.
However when I change to the taskpad view, the view
indicates that there is space available.
Is this some kind of bug in SQL Server? Is there any fix
for it?
Any help would be appreciated?
Brennanrun DBCC UPDATEUSAGE and see if that helps.
--
Andrew J. Kelly SQL MVP
"Brennan" <anonymous@.discussions.microsoft.com> wrote in message
news:59ea01c40090$b4eedc60$a401280a@.phx.gbl...
> Hello:
> I have several SQL 2000 databases that displays 0 space
> available when I view the properties of the database.
> However when I change to the taskpad view, the view
> indicates that there is space available.
> Is this some kind of bug in SQL Server? Is there any fix
> for it?
> Any help would be appreciated?
> Brennan|||Thanks
That worked
Brennan
>--Original Message--
>run DBCC UPDATEUSAGE and see if that helps.
>--
>Andrew J. Kelly SQL MVP
>
>"Brennan" <anonymous@.discussions.microsoft.com> wrote in
message
>news:59ea01c40090$b4eedc60$a401280a@.phx.gbl...
>> Hello:
>> I have several SQL 2000 databases that displays 0 space
>> available when I view the properties of the database.
>> However when I change to the taskpad view, the view
>> indicates that there is space available.
>> Is this some kind of bug in SQL Server? Is there any
fix
>> for it?
>> Any help would be appreciated?
>> Brennan
>
>.
>
Thursday, March 22, 2012
Data Retrieval Question
Thanks...
Spyork
> Can I do this from a custom code assembly?
Yes. Here's how. ( http://msdn.microsoft.com/sql/sqlwarehouse/reportingservices/default.aspx?pull=/library/en-us/dnsql2k/html/erscstcode.asp )
> Should I do this from a custom code assembly?
Yes. Unless you want to rewrite your code in the funny little Reporting Services text editor dialog that accepts VB code.
- Ian
Tuesday, March 20, 2012
Data regions are not allowed inside a table detail ..
I have a simple table on my report showing data from a dataset. Works
fine. Displays a bunch of records.
One of the values from my dataset is a percentage value (integer from 0
to 100). I'm attempting to illustrate this using a chart. So I'm
attempting to put a chart in the table detail row. It doesn't like me
doing this, though. I get a build error:
"The chart 'chartx' is contained inside a table detail row. Data
regions are not allowed inside a table detail...".
Is there a way to do what I'm attempting with Visual Studio .Net (i.e.
SQL Server 2000 Reporting Services)? I know it can be done with Visual
Studio 2005, as that just makes you define a group expression when
attempting to "use a data region in a list".
Any help/info would be great.
Thanks.Have you tried putting it inside a matrix?
I tried putting a chart inside a table detail row, but vs didn't let me
do it "Cannot place a chart at this location in a table"
However, putting it inside a matrix works just fine.
eamon wrote:
> Developing using Visual Studio .Net (2003).
> I have a simple table on my report showing data from a dataset. Works
> fine. Displays a bunch of records.
> One of the values from my dataset is a percentage value (integer from 0
> to 100). I'm attempting to illustrate this using a chart. So I'm
> attempting to put a chart in the table detail row. It doesn't like me
> doing this, though. I get a build error:
> "The chart 'chartx' is contained inside a table detail row. Data
> regions are not allowed inside a table detail...".
> Is there a way to do what I'm attempting with Visual Studio .Net (i.e.
> SQL Server 2000 Reporting Services)? I know it can be done with Visual
> Studio 2005, as that just makes you define a group expression when
> attempting to "use a data region in a list".
> Any help/info would be great.
> Thanks.sql
Data Region/Matrix Control Wrapping Around
Hello All,
In my report, I have a Matrix control placed next to a table. It renders properly and displays data aligned in two controls in Visual Studio Preview. However, when I deploy to production, it wraps the matrix control below the table, in fact puts the entire matrix control underneath the table. Why such strange behavior and not in the Preview of the report but only in Production? Any ideas how to fix this?
In VS Env. Preview --> [Table][Matrix]
In Report Svr Prod --> [Table]
[Matrix]
Thanks,
Try making a 2 column, 1 row table with the table and matrix in the left and right cells, respectively.Set the datasource of the table to be one of your already used datasets.|||
Do you mean in the Details or Header/Footer of the table? If I put in the details it returns with following errors dialog
Microsoft Report Designer
Cannot place a Table/Matrix at this location in the table
|||I didn't specify. I know I've received that error and have tried to place the piece in the header instead. I believe that works fine - but there's one way to find out.|||Well, I tried that but it din't work. The thing is that the table and matrix have different data sets. And the containing table can only have one data set name, that is why the report designer is complaining... May be I am missing something but it really sucks that the control renders one way in development and differently in production.|||In my experience, Matrix reports almost always do not render properly on deployment. I do not know of any one method to fix such alignment issues, but in general try making sure that the components do not overlap even slightly with each other.
Also, try putting both inside a single rectangle, if they are not already in one.
Hope this helps,
-Aayush
|||Yes, that worked. I use three rectangles though. One for table. Second for Matrix. The third one is the container. So, its sort of like the table header solution as suggested above by TU5 but without a table. The problem indeed was the overlapping report items --> "SSRS does not support overlapping report items in all rendering formats".
Thanks.
Data Region/Matrix Control Wrapping Around
Hello All,
In my report, I have a Matrix control placed next to a table. It renders properly and displays data aligned in two controls in Visual Studio Preview. However, when I deploy to production, it wraps the matrix control below the table, in fact puts the entire matrix control underneath the table. Why such strange behavior and not in the Preview of the report but only in Production? Any ideas how to fix this?
In VS Env. Preview --> [Table][Matrix]
In Report Svr Prod --> [Table]
[Matrix]
Thanks,
Try making a 2 column, 1 row table with the table and matrix in the left and right cells, respectively.Set the datasource of the table to be one of your already used datasets.|||
Do you mean in the Details or Header/Footer of the table? If I put in the details it returns with following errors dialog
Microsoft Report Designer
Cannot place a Table/Matrix at this location in the table
|||I didn't specify. I know I've received that error and have tried to place the piece in the header instead. I believe that works fine - but there's one way to find out.|||Well, I tried that but it din't work. The thing is that the table and matrix have different data sets. And the containing table can only have one data set name, that is why the report designer is complaining... May be I am missing something but it really sucks that the control renders one way in development and differently in production.|||In my experience, Matrix reports almost always do not render properly on deployment. I do not know of any one method to fix such alignment issues, but in general try making sure that the components do not overlap even slightly with each other.
Also, try putting both inside a single rectangle, if they are not already in one.
Hope this helps,
-Aayush
|||Yes, that worked. I use three rectangles though. One for table. Second for Matrix. The third one is the container. So, its sort of like the table header solution as suggested above by TU5 but without a table. The problem indeed was the overlapping report items --> "SSRS does not support overlapping report items in all rendering formats".
Thanks.
Sunday, February 19, 2012
Data in Report Headers
I have a report that displays a purchase order. ON all pages but the first I'm supposed to display a header like this:
From: OUR NAME To: Vendor Name
PO 123456 Page 2 of 4 Date: 01 January 2007
The three non-date fields in the header appear in the datasets used in the report. After much trial and error I ended up
creating three hidden textboxes in the report body that contain the data I want to use in the header. I then use separate
textboxes in the header which refer to those textboxes in the body.
Aside from the fact that this is a huge PITA, I find that this header only works properly on the first page of the report!
ON pages 2 and later the fields are empty!
Any suggestions? I'm pulling my hair out here on something that should be quite simple...
BarryMy favorite solution is to use internal parameters with query-based default
value.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Barry Seymour" <bseymour@.spamcop.net> wrote in message
news:Oa2GTf4LHHA.5016@.TK2MSFTNGP04.phx.gbl...
> I'm having the devil of a time working around RS limitations here.
> I have a report that displays a purchase order. ON all pages but the first
> I'm supposed to display a header like this:
> From: OUR NAME To: Vendor Name
> PO 123456 Page 2 of 4 Date: 01 January 2007
> The three non-date fields in the header appear in the datasets used in the
> report. After much trial and error I ended up
> creating three hidden textboxes in the report body that contain the data I
> want to use in the header. I then use separate
> textboxes in the header which refer to those textboxes in the body.
> Aside from the fact that this is a huge PITA, I find that this header only
> works properly on the first page of the report!
> ON pages 2 and later the fields are empty!
> Any suggestions? I'm pulling my hair out here on something that should be
> quite simple...
> Barry
>|||Otay... lemme research what the heck you mean and I'll come back if I don't get it. <g>
Barry
"Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message news:umi8F86LHHA.3588@.TK2MSFTNGP06.phx.gbl...
My favorite solution is to use internal parameters with query-based default
value.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Barry Seymour" <bseymour@.spamcop.net> wrote in message
news:Oa2GTf4LHHA.5016@.TK2MSFTNGP04.phx.gbl...
> I'm having the devil of a time working around RS limitations here.
> I have a report that displays a purchase order. ON all pages but the first
> I'm supposed to display a header like this:
> From: OUR NAME To: Vendor Name
> PO 123456 Page 2 of 4 Date: 01 January 2007
> The three non-date fields in the header appear in the datasets used in the
> report. After much trial and error I ended up
> creating three hidden textboxes in the report body that contain the data I
> want to use in the header. I then use separate
> textboxes in the header which refer to those textboxes in the body.
> Aside from the fact that this is a huge PITA, I find that this header only
> works properly on the first page of the report!
> ON pages 2 and later the fields are empty!
> Any suggestions? I'm pulling my hair out here on something that should be
> quite simple...
> Barry
>|||"Barry Seymour" wrote:
> Otay... lemme research what the heck you mean and I'll come back if I don't get it. <g>
> Barry
> "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message news:umi8F86LHHA.3588@.TK2MSFTNGP06.phx.gbl...
> My favorite solution is to use internal parameters with query-based default
> value.
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Barry Seymour" <bseymour@.spamcop.net> wrote in message
> news:Oa2GTf4LHHA.5016@.TK2MSFTNGP04.phx.gbl...
> > I'm having the devil of a time working around RS limitations here.
> >
> > I have a report that displays a purchase order. ON all pages but the first
> > I'm supposed to display a header like this:
> >
> > From: OUR NAME To: Vendor Name
> > PO 123456 Page 2 of 4 Date: 01 January 2007
> >
> > The three non-date fields in the header appear in the datasets used in the
> > report. After much trial and error I ended up
> > creating three hidden textboxes in the report body that contain the data I
> > want to use in the header. I then use separate
> > textboxes in the header which refer to those textboxes in the body.
> >
> > Aside from the fact that this is a huge PITA, I find that this header only
> > works properly on the first page of the report!
> > ON pages 2 and later the fields are empty!
> >
> > Any suggestions? I'm pulling my hair out here on something that should be
> > quite simple...
> >
> > Barry
> >
> >
>
>|||Did you find out how to fix this? I'm having the same problem.
Ken
"Barry Seymour" wrote:
> Otay... lemme research what the heck you mean and I'll come back if I don't get it. <g>
> Barry
> "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message news:umi8F86LHHA.3588@.TK2MSFTNGP06.phx.gbl...
> My favorite solution is to use internal parameters with query-based default
> value.
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Barry Seymour" <bseymour@.spamcop.net> wrote in message
> news:Oa2GTf4LHHA.5016@.TK2MSFTNGP04.phx.gbl...
> > I'm having the devil of a time working around RS limitations here.
> >
> > I have a report that displays a purchase order. ON all pages but the first
> > I'm supposed to display a header like this:
> >
> > From: OUR NAME To: Vendor Name
> > PO 123456 Page 2 of 4 Date: 01 January 2007
> >
> > The three non-date fields in the header appear in the datasets used in the
> > report. After much trial and error I ended up
> > creating three hidden textboxes in the report body that contain the data I
> > want to use in the header. I then use separate
> > textboxes in the header which refer to those textboxes in the body.
> >
> > Aside from the fact that this is a huge PITA, I find that this header only
> > works properly on the first page of the report!
> > ON pages 2 and later the fields are empty!
> >
> > Any suggestions? I'm pulling my hair out here on something that should be
> > quite simple...
> >
> > Barry
> >
> >
>
>|||We had a similar problem.
My workaround was to dump the Report Header and setup a 'dummy' group, it
must be the first group. 'Include Group Header' don't 'Repeat Group Header'
and don't 'Include Group Footer'.
Whatever you put it this group, it will accept parameters and dataset data
will only appear once at the beginning of the report.
Hope this helps