Showing posts with label control. Show all posts
Showing posts with label control. Show all posts

Thursday, March 29, 2012

Formula for Graph Size

I have a report control in my report. But I want to expand graph depending on the selected number of months (Parameter) by users.

But there is no formula option for graph control. Is there any workaround?

You might be able to do something with padding. But that would not change the space your graph takes up in the page, you would just have more (or less) white space, depending on your current data.

>L<

sql

Monday, March 26, 2012

Forms Authentication

I have installed and implemented the Security Extension for forms
authentication. I am trying to get the reportviewer control to show me the
requested report and with the toolbar. When I make a call to my server's
reporting server, I get resource not found. The request looks like this -
http://servername/reportserver?/AdHoc/Test/Testing
This is where the proplem resides. Can anyone help me. I am under a tight
deadline for a project and have spen over 50 hours trying to get this stuff
to work.
Thanks,
bspannStrange behavior , but just try to see if the Item is
actually available on the Report Server.
Just go to the link http://servername/reportserver and
follow the folder path you have specified and see if the
item is present!
>--Original Message--
>I have installed and implemented the Security Extension
for forms
>authentication. I am trying to get the reportviewer
control to show me the
>requested report and with the toolbar. When I make a
call to my server's
>reporting server, I get resource not found. The request
looks like this -
>http://servername/reportserver?/AdHoc/Test/Testing
>This is where the proplem resides. Can anyone help me.
I am under a tight
>deadline for a project and have spen over 50 hours trying
to get this stuff
>to work.
>Thanks,
>bspann
>.
>|||I solved my problem. Here are the details. Hopefully this will help other
people as well. The application that I am working on at the moment has it's
own form authentication. We wanted to integrate RS with our app. So we
followed the instructions from microsoft. We left out things in regards to
salting passwords since we do that in our framework. I could get reports
rendered from the soap API but we really wanted the toolbar. After reading
the discussion group, I found that the toolbar is not supported in the Soap
API (GRRRRRRRRRR). After I calmed down from cursing RS development team's
name, I proceded to use the reportviewer control. That is when I was getting
the weird behavior. So I placed a simple aspx form in the ReportServer
directory called logon.aspx that just redirected to our applicaitons logon
page. That was not working. Then, an ephifany occured. I went back to the
Logon.aspx page and change the following code.
<% Page.Response.Redirect("http://servername/appname/logon.aspx") %>
to
<%
System.Web.Security.FormsAuthentication.RedirectFromLoginPage(System.Web.HttpContext.Current.User.Identity.Name, false); %>
That took care of all my issues. Now everything is working just fine.
Thanks,
bspann
"Ravi" wrote:
> Strange behavior , but just try to see if the Item is
> actually available on the Report Server.
> Just go to the link http://servername/reportserver and
> follow the folder path you have specified and see if the
> item is present!
> >--Original Message--
> >I have installed and implemented the Security Extension
> for forms
> >authentication. I am trying to get the reportviewer
> control to show me the
> >requested report and with the toolbar. When I make a
> call to my server's
> >reporting server, I get resource not found. The request
> looks like this -
> >http://servername/reportserver?/AdHoc/Test/Testing
> >This is where the proplem resides. Can anyone help me.
> I am under a tight
> >deadline for a project and have spen over 50 hours trying
> to get this stuff
> >to work.
> >
> >Thanks,
> >
> >bspann
> >.
> >
>

Formatting the numerical output

Hi All,

I need to control the output format of a request on "int" columns. For instance, if the "select" returns me a "0" (zero), I would like it to be return with 4 digit = "0000" because this results is then append to some other to built a phone-like number : +33 2121-0000-1544.
In that case, "0" is not equal to "0000"

My ASP request is in attach.

THX.

Fabrice.I found a solution ... Thank's anyway ;)

Friday, March 23, 2012

Formatting Sub Totals in a Matrix

Would some one know how to control the formatting of Matrix Sub totals, such as Border around it, background color and font etc...I can't select the grey textbox that is rendered if sub totals are chosen from the context menu for a group.

Any help will be appreciated.

If you right-click on the green triangle in the corner of the subtotal label and click properties you should be able to access the properties of the subtotal text box (I believe it is actual labeled Subtotal by default).

Hope this helps,

Simone

|||I love this forum....Thanks!!!!!!

Formatting Problem

Hi,

I'm trying to format the output of a report and can't seem to figure out how use the Matrix control to get what I want. Currently, I have it formatted as:

General Information <-- Head
Tag Number Line Size Line Schedule <-- Information

Service P&ID No. Tightness Requirements

Line No. Area Classification Location


Process Data
Fluid Specific Gravity


Transmitter Spec.
Mounting Type


NEMA Rating Power Supplied Analog Outputs

Ideally I'd like to have it formatted as:

General Information <-- Header centered
Tag Number Line Size Line Schedule

Service P&ID No. Tightness Requirements

Line No. Area Classification Location
__ <-- Divider Line between sections

Process Data
Fluid Specific Gravity
__

Transmitter Spec.
Mounting Type


NEMA Rating Power Supplied Analog Outputs

Any ideas or suggestions would be greatly appreciated. This shouldn't be THIS hard to do.

Thanks,

John.

It'll be a lot clearer to understand if you make up your examples in Excel and then just copy paste that into your post.|||

Adam,

Thanks for taking an interest. Ok, here's what's going on: I'm trying to render information where I have multiple (unknown at design time) Catagories which have multiple Attributes (also unknown at design time). The relationship is One Catagory, Many Attributes.

I'm using a Matrix control because it seems to be the Control to use? If it's not, let me know. What I'd like ideally is to: Add a Line to separate the different Catagories (i.e. General Information, Process Data, etc.), and center the Catagory title. Currently I'm forcing the Matrix to wrap at 3 by setting a property in the List Control's "Edit Details Group..." property to: =Ceiling(RowNumber(Nothing)/3). If you have any ideas on how to solve this through the designer, please let me know.

Here's an example of the data as it's currently being rendered:

General Information

Service

P&ID No.

Tightness Requirements

Tag Number

Line Size

Line Schedule

Line No.

Area Classification

Location

Process Data

Fluid

Specific Gravity

Transmitter Spec.

Mounting Type

Model No.

Support Materials

Accuracy

NEMA Rating

Power Supplied

Analog Outputs

Local Display

Operating Range

Dead Weight

Output Signal

Conduit Connection

Live Weight

Gross Weight

Manufacturer

Weigh Cell Data

Mounting

Temperature Compensation

Power Supplied

|||

On a side note, I've tried adding a Line control to the List, but it renders on every line. I also have no way to detect when the last line of a Catagory is being rendered. I've tried every way I can think of using the tool, but it's just not working for me.

TIA,

John.

|||I would suggest placing the matrix inside a list control. Group the list control by category which will result in a separate matrix being rendered per category. You can then place the category in a textbox above the matrix and also inside the list and center it.|||

Adam,

Mad thanks, that did the trick!!

John.

Monday, March 19, 2012

Formatting Dates

I have a Text box containing the following info:
="Effective: " & Parameters!PMStartDate.Value & " to "
& Parameters!PMEndDate.Value
How do I control the format of the date? I want the Format to be dd/MMM/yyyy.You will need to use Format(). See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctFormat.asp
for more information.
Below is a sample expression based on your parameter names:
="Effective: " & Format(Parameters!PMStartDate.Value, "Long Date") & "
to " & Format(Parameters!PMEndDate.Value, "Short Date")
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"SAcanuck" <SAcanuck@.discussions.microsoft.com> wrote in message
news:9A6A54AE-1EE6-4A94-9A5C-244E77DD42A8@.microsoft.com...
> I have a Text box containing the following info:
> ="Effective: " & Parameters!PMStartDate.Value & " to "
> & Parameters!PMEndDate.Value
> How do I control the format of the date? I want the Format to be
dd/MMM/yyyy.|||Try this:
1. Pull up the report properties dialog, go to the code tab, and paste the
following into the code textbox:
public shared Function Convert(dt As datetime) As String
return dt.ToString("dd/MM/yyyy")
End Function
2. Paste the following into the textbox in question: ="Effective: " &
Code.Convert(Parameters!PMStartDate.Value) & " to " &
Code.Convert(Parameters!PMEndDate.Value)
The .NET datetime format strings are explained in detail in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomdatetimeformatstrings.asp?frame=true.
--
Ravi Mumulla (Microsoft)
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"SAcanuck" <SAcanuck@.discussions.microsoft.com> wrote in message
news:9A6A54AE-1EE6-4A94-9A5C-244E77DD42A8@.microsoft.com...
> I have a Text box containing the following info:
> ="Effective: " & Parameters!PMStartDate.Value & " to "
> & Parameters!PMEndDate.Value
> How do I control the format of the date? I want the Format to be
dd/MMM/yyyy.|||My favorite way of formatting strings is
=String.Format("From {0:d} to {1:d}", Parameters!
From.Value, Parameters!To.Value)
>--Original Message--
>I have a Text box containing the following info:
>="Effective: " & Parameters!PMStartDate.Value & " to "
>& Parameters!PMEndDate.Value
>How do I control the format of the date? I want the
Format to be dd/MMM/yyyy.
>.
>

Formatting columns for a flat file destination control

So i've created a flat file destination control and have mapped the columns. At what point can you control which column shows up first?

cheston wrote:

So i've created a flat file destination control and have mapped the columns. At what point can you control which column shows up first?

In the advanced section of the Flat File Connection Manager screen.|||I do not see an option to move the columns and dragging them does not work either.
|||

cheston wrote:

I do not see an option to move the columns and dragging them does not work either.

Nope. You have to define them in the desired order first.|||If that's too painful, it might worth a try to edit the .dtsx file itself and reorder the DTS:FlatFileColumn elements.

Wednesday, March 7, 2012

Format String

Hi all
I am using a control that i hand a record set to.
One of the columns in the record set displays totals.
I need to format these totals into currency.
What is the best way of doing this?
I would like it to look like this £2,324.40
If possible.
Thanks Heaps
IanWhy not format it in the control? That way the control can apply the
user's preferred currency format settings, which might be harder to do
in the database. In general presentational stuff is best kept separate
from data retrieval. Otherwise, you'll want to take a look at the
various style options of the CONVERT function.
David Portas
SQL Server MVP
--|||Thanks David
I don't have control over the Grid control. Some one else developed it.
Ian
"David Portas" wrote:

> Why not format it in the control? That way the control can apply the
> user's preferred currency format settings, which might be harder to do
> in the database. In general presentational stuff is best kept separate
> from data retrieval. Otherwise, you'll want to take a look at the
> various style options of the CONVERT function.
> --
> David Portas
> SQL Server MVP
> --
>

Format parameter comboboxes shown before report execution

Dear all
is there a way to control the parameter comboboxes shown before report
execution? I do not like that the comboboxes show different length and I want
to change it.
I know that I can add and drop parameters in the report --> report
parameters menu, but I did not find a way how to control the format.
Regards,
MarcHi Marc,
Thank you for using MSDN Managed Newsgroup Support.
From your description, my understanding of this issue is: You want to
change the length of the parameter textbox of the Report Layout. If I
misunderstood your concern, please feel free to let me know.
Based on my scope, you could not change the length of the textbox. Thank
you for taking the time to provide feedback on this product. We are very
interested in your thoughts and opinions for improvements that we can make
to provide the features and functionality you and your customers would like
to see.
To provide your feedback directly to the product groups:
http://lab.msdn.microsoft.com/productfeedback/default.aspx
Thanks a lot!
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Wei Lu wrote:
> Hi Marc,
> Thank you for using MSDN Managed Newsgroup Support.
> From your description, my understanding of this issue is: You want to
> change the length of the parameter textbox of the Report Layout. If I
> misunderstood your concern, please feel free to let me know.
> Based on my scope, you could not change the length of the textbox. Thank
> you for taking the time to provide feedback on this product. We are very
> interested in your thoughts and opinions for improvements that we can make
> to provide the features and functionality you and your customers would like
> to see.
>
> To provide your feedback directly to the product groups:
> http://lab.msdn.microsoft.com/productfeedback/default.aspx
> Thanks a lot!
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
Hi,
we did a big effort to get additional buttons into the parameter frame
that links to our own parameter windows as calendar in RS2000 as well
as a complete portfolio tree. The result will be written back into the
standard parameter combox.
It would be very helpful, if the WEBReportViewerControl of SSRS2005
would offer an .net programmable interface the add other parameter,
buttons, styles etc. - especially for the PARAMETER Frame (that in
RS2005 seems to be integrated in the WebReportViewControl).
That would make RS2005 more or less perfect. :-)
regards
BB|||Hi Bruce,
Thank you for your great suggestion.
You could provide your feedback to our product team directly.
http://lab.msdn.microsoft.com/productfeedback/default.aspx
Thank you for taking the time to provide feedback on this product.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hello Wei, Hello Bruce
Thanks for your feedback - I placed this issue in Microsoft Connect -
Microsoft consider this feature to implement in a future release.
Best Regards
Marc|||Hi Marc,
Thank you for your feedback. If you have any questions or concerns, please
feel free to let me know!
Have a nice day!
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.