How To Pass Multiple Parameter In Crystal Report To Draw Bar Chart In Asp.net

May 28, 2007

i want to create bar chart dynamically. how to pass the x axis values and y axis values in crystal report in runtime.

View 1 Replies


ADVERTISEMENT

How To Pass Multiple Value From A Single Parameter In Sql Report

Jan 25, 2008



In my form i have a list box and i need to display paticular records of all employees I selected.So please tell me how to pass multiple values from a single parameter.

currently i am able to pass single value through a parameter using following code




osqlreport.reportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost/reportserver");

osqlreport.reportViewer1.ServerReport.ReportPath = "/employee/5_0emplyeedata";



List<Microsoft.Reporting.WinForms.ReportParameter> paramList = new List<Microsoft.Reporting.WinForms.ReportParameter>();



string stritem;





stritem = Convert.ToString(this.lstSelectedData.Items[0]);

paramList.Add(new Microsoft.Reporting.WinForms.ReportParameter("paraempno", stritem, false));



osqlreport.reportViewer1.ServerReport.SetParameters(paramList);

osqlreport.reportViewer1.RefreshReport();

osqlreport.Show();


what changes do i need to do to make it work.(lstSelectedData is my list box)

View 3 Replies View Related

Reporting Services :: Multiple Chart On A Report Page And Parameter Filter

Jun 1, 2015

Is it possible to have different chart (having their dataset from same shared datasets) like six on one report, then secondly can they all respond to same parameter filter.

View 3 Replies View Related

Crystal Report Parameter Issue

Jun 14, 2007

Hello,



There is probably a really simple solution to this problem... but, here it is..



I am working on CR Designer v11 and have a report that uses a stored procedure. Originally, when the report was created, this stored procedure had one parameter. Since then, however, I have added an additional parameter to the SP in SQL. After doing so, I opened the report, in report designer, and manually added the new parameter to the parameter list. I then realized that I did not need to do this. The Verify Database function should auto populate the parameter list for me. So, I then deleted the parameter(that I had created manually) and performed the Verify Database. But now the parameter does not auto populate in the parameter list.



By deleting the parameter (that I had created manually), did I cause the designer to ignore this second parameter in the actual SP? How can I get the designer to auto populate the parameter list with this new parameter?

View 1 Replies View Related

Pass A Non-sql Parameter To Report

Jul 2, 2007

I have a value I need to show on every report so I want to create a report parameter. It appears the only way for a report to have a parameter is for it to be a variable in the SQL WHERE clause. This value is not in the database so can't be retrieved from SQL.

How can I pass this value to the report and display it in a textbox in the footer?

Thanks.

View 1 Replies View Related

Pass Value Of Report Parameter From URL

Feb 23, 2007

Hello
I have an ASP.NET application where I can filter data from an SQL DB by certain criterias. Users are now also able to click on a link which redirects them directly to the SQL Server Reporting Services application.
What I'd like to have is a possibility to pass an object (as string) from my ASP.NET app to the textbox of the search criteria from the Reporting Services app.

Example:
- ASP.NET appl.: The user selected a FileId=84 -> then he clicks on the hyperlink to the SQL RS
- The SQL RS appl. opens and the textbox FileId is filled with "84"

it of course isn't a problem to pass the FileId to the hyperlink the user clicks on, but is it possible that the SQL RS appl. can somehow read it from the URL and pass it to the textbox?
Or does someone have another solution?

Thanks for your help!

View 4 Replies View Related

How To Pass Parameter Value To Report From Url

Jul 17, 2007

I have a report in SSRS 2005. I wish to pass a parameter called nIndex from the calling WinApp.



http://localhost/Reports/Pages/Report.aspx?ItemPath=%2fMy-Reports%2fPrimarySuppliers&rs:Command=Render&rc: parameters=false&nIndex=82896



even tried the following url:

http://localhost/Reports/Pages/Report.aspx?ItemPath=%2fMy-Reports%2fPrimarySuppliers&nIndex=82896



I tried to use the above url. The report doesn't pick the correct value of nIndex that I am passing as query string.



In Report Parameters page: nIndex is defined as a string parameter, marked as hidden, that allows nulls, and the default value is null.



I catch the command execution from SQL Profiler, and I always see the original value of 1, even though I am now passing 82896. I had initially given 1 as default value, when testing, now I need to pass this new value to get the latest data. I have built and deployed the report several times since then.

Any help is highly appreciated. Thanks.

View 3 Replies View Related

How To Pass Multiple Values To A Parameter While Cascading

Oct 9, 2006

Hi,

I am using RS2005. i have a requirement in which i need to pass more than 1 value to a parameter. this parameter is used in a dataset for filtering.

Eg: if i have a parameter as @years, i want to assign values 2005, 2006 to it and use it in the dataset to filter like select.... where year in (@years).

How can i achieve this?

Thanks

Vivek S

View 13 Replies View Related

Reporting Services :: Draw Trend Line For SSRS Line Chart 2005

May 4, 2012

I need the Trend line for the following data in Line chart they are the following data. The following are the graph are my output and i need the trend line for these Key_gap value.

This is the link [URL] ....

I need the same trend line for the Bar-Chart in SSRS 2005.

View 5 Replies View Related

Cannot Pass 'All' As A Parameter To A Drill-through Report

Jun 7, 2007

Hello,



I have a main report that drills-through to a secondary report. The main report has parameters which can be selected (Dairy, Frozen, Fruits, etc.). If I make a selection (let's say Fruits) the second report displays just Fruits information (as would be expected).



However, when I select 'All' from the parameter, on the Main report, and then click to drill-through, the passed parameter is the first selection below 'All.' I cannot seem to pass 'All' to the second report.



What am I doing wrong?



Thank you for the help.



-Gumbatman



p.s. The datasets are based on an Analysis Services cube.

View 1 Replies View Related

How Can I Have Multiple Chart Options For A Report?

Apr 13, 2007

Hi, all experts here,

Thank you very much for your kind attention.

I have a question about how to have multiple chart options for a report? Like when I view a report, I want to see the report in different charts formats. It is possible in SQL Server 2005 Reporting Services (designer) to change from different chart options? Hope my question is clear for your advices.

Thank you very much in advance for your help and advices. And I am looking forward to hearing from you.

With best regards,

Yours sincerely,

View 7 Replies View Related

Transact SQL :: How To Pass Multiple Values Into A Single Parameter

Jun 1, 2015

Below is the query for my procedure 

ALTER PROC [dbo].[sp_GetInvitationStatusTest]
(
@invited_by NVARCHAR (50)
)
AS
BEGIN
-- SELECT * FROM dbo.Merck_Acronym_Invitations WHERE invited_by=@invited_by
select distinct t1.invited_isid as 'ISID', t1.invited_name as 'NAME',t1.invitation_status as 'STATUS',

[Code] ....

If you look at the where clause i have invited by , i get the desired output if i just provide 1 name in the execution such as exec [dbo].[sp_GetInvitationStatusTest] 'marfilj' But my requirement is to make the procedure work with more than one input variable such as exec [dbo].[sp_GetInvitationStatusTest] 'marfilj','sujith' now i should get the output for 2 people but if i run this i receive the following error Procedure or function sp_GetInvitationStatusTest has too many arguments specified.

how to make my procedure work with more than 1 input variable?

View 4 Replies View Related

Can I Pass SQL Userid Password As Parameter To Report

Apr 2, 2008

Hi,

I have started using SQL Server 2005 Reporting Services. I am using SQl Server authentication where user has to supply username and password .I want to know can I Pass the SQL authentication username and password in the URL as a parameter to report.

Nikhil Jahagirdar

View 1 Replies View Related

How Do I Pass A Parameter From A SSRS Report To The Sql Stmt In A SSIS Package

Aug 24, 2007

How do I pass a parameter from a SSRS report to the sql stmt in a SSIS package?
Mainly need to know the correct syntax of the connection string to use for the datasource in the SSRS report. Every time I add the /SET part of the string the connection breaks.
The connection string i've been using is:
/file "C:\PackageName.dtsx /Set Package.Variables[StartDate];"&Parameters!StartDate.Value

View 26 Replies View Related

Pass A Parameter From A SSRS Report To The Sql Stmt In A SSIS Package

Aug 24, 2007

How do I pass a parameter from a SSRS report to the sql stmt in a SSIS package?
Mainly need to know the correct syntax of the connection string to use for the datasource in the SSRS report. Every time I add the /SET part of the string the connection breaks.
The connection string i've been using is:
/file "C:\PackageName.dtsx /Set Package.Variables[StartDate];"&Parameters!StartDate.Value

View 3 Replies View Related

Integration Services :: Pass Multiple Parameter Values To SSIS Package In 2012 Through Stored Procedure?

Jul 9, 2015

we can  assign one parameter value for each excecution of  [SSISDB].[catalog].[set_object_parameter_value] by calling this catalog procedure..

Example: If I have 5 parameters in SSIS package ,to assign a value to those 5 parameters at run time should I call this [SSISDB].[catalog].[set_object_parameter_value] procedure 5 times ? or is there a way we can pass all the 5 parameters at 1 time .

1. Wondering if there is a way to pass multiple parameters in a single execution (for instance to pass XML string values ??)
2.What are the options to pass multiple parameter values to ssis package through stored procedure.?

View 4 Replies View Related

Reporting Services :: Pass Multiple Values From Field To Sub Report

Dec 3, 2015

I would like to know how does subreport accept multi value, and how should i modify my expression so that the sub report will display correctly.

My main report will pass dynamic number of account number to sub report, it depends on how many account number a person has. I have my sub report parameter Data Type set as "Allow multiple values" and the visibility is "Visible".

Currently, I am using the following expression to try to pass multi value from main report to sub report. I had tested the result of that expression. It is showing the following result when there are 3 account numbers to pass to sub report.

1534896
1563498
1593548

With that expression, when only one account no is pass from main report to sub report, the sub report will display the result. But when more than one account numbers are passing over, the sub report display nothing, it is blank.

--expression
=Join(LookupSet(Fields!PersonNo.Value,Fields!PersonNo.Value,Fields!AccountNo.Value,
"accounts"),""
+ VBCRLF)

*Note: I cannot put the account number into a multivalue parameter in the main report and pass from that parameter to sub report. I know this will workd BUT I had tried that by setting the default value in the multivalue parameter to the dataset that consists of the account number. That involves 100 thousand plus plus account numbers and it will for sure over the limit of 8000 characters.

View 2 Replies View Related

Crystal Reports And ODBC Getting Access Denied On Pass Thru

Jul 27, 2006

Hello,



Environment - Windows 2003 standard server SP1, SQL 2000 SP4 (installed mixed mode)

Goal: To have Crystal reports run via odbc dsn using windows authentication.

Big Honkin' Problem: I should say that if the users are local admins on this server then the windows authentication works just great, if not a local admin then it doesn't work. SQL gives an error access denied. (this shows in the logs btw.. to the end user crystal displays a generic database error) Since windows authentication failed, I then decided to use the dbo and switch to SQL auth. This dbo did not have a password and everything ran great. Then the IT dept. asked me to give the user a password, so I did. Then everytime Crystal opened, a window would appear asking the user to type the database , user and password. In Windows everytime this was done the crystal control files would change ownership to whomever entered the information making the report useless to any other user until I manually went into the file properties and changed it back. I develop these reports thru an VPN connection and on my desktop I said phooey on re-entering the password 50 zillion times while developing so I opened the dsn and put the PWD line in and it ran great. So we figured why not put this on the server - the password does not pass thru to SQL, even as admin user. The final problem that came up in relation to this is that I then created another user in SQL with no password so the reports would run. I developed a report that takes the current user credentials and passes it to the report via dde link. On my machine running over the VPN and launching the database program (GoldMine) over the WAN the report did everything it was suppose to. I high-fived myself and installed it on the server where the users would launch it and the dang thing wont pass the credentials over to the report.

I know there is not much to SQL security - it's either SQL or mixed mode. I have it on mixed mode and I know for fact it runs because Goldmine runs. I have to have some sort of security 'thang' in Windows 2003 somewhere that doesn't allow the passord to move and SQL only sees a blank password.



If any body can give me any help - I would so greatly appreciate it.



thanks

View 1 Replies View Related

Reporting Services Report / Chart / Dynamically Hide-Unhide DataFields In A Chart

Mar 26, 2007



Hello All,

I have a reporting services report in the form of a chart. I have two datafields on the chart.

I need to be able to dynamically hide one datafield and view the chart for the other one and vice versa.

How do I do this ?

Any help would be appreciated..

Thanks!



View 4 Replies View Related

Reporting Services :: Export Server Report Chart To Excel As Editable Chart

Jul 17, 2014

When I export the report in excel format the chart is displayed as picture. I want it to be displayed as editable chart.Does Office Writer work in this situation and did anyone use Office Writer to accomplish same type of problem.Is there any other method or product we can use instead of the office writer.

View 2 Replies View Related

How To Pass Pass The Parameter In SQL Command In SSIS Package

Jul 31, 2006

Hi

   We already used Oracle Datasatage Server the following Query statement for Source and Lookup.here there is parameter maping in the SQl Statement . How can achive in SSIS the Folowing Querystatment?

 

Query 1: (source View Query)
SELECT
V_RDP_GOLD_PRICE.GDR_PRODUCT_ID, V_RDP_GOLD_PRICE.ASSET_TYPE, V_RDP_GOLD_PRICE.PREFERENCE_SEQ, V_RDP_GOLD_PRICE.RDP_PRICE_SOURCE, TO_CHAR(V_RDP_GOLD_PRICE.PRICE_DATE_TIME,'YYYY-MM-DD HH24:MI:SS'), TO_CHAR(V_RDP_GOLD_PRICE.REPORT_DATE,'YYYY-MM-DD HH24:MI:SS'), V_RDP_GOLD_PRICE.SOURCE_SYSTEM_ID
FROM
V_RDP_GOLD_PRICE V_RDP_GOLD_PRICE
WHERE
REPORT_DATE = (select max(report_date) from V_RDP_GOLD_PRICE where source_system_id = 'RM' )



 

Query 2: (look up )

 


SELECT
GDR_PRODUCT_ID,
TO_CHAR(MAX(PRICE_DATE_TIME),'YYYY-MM-DD HH24:MI:SS') ,
TO_CHAR(REPORT_DATE,'YYYY-MM-DD HH24:MI:SS')
FROM
V_RDP_GOLD_PRICE
where
GDR_PRODUCT_ID = :1 and
report_date = TO_DATE(:2,'YYYY-MM-DD HH24:MI:SS')  AND
PRICE_DATE_TIME BETWEEN TO_DATE(:2,'YYYY-MM-DD HH24:MI:SS') - 7) AND TO_DATE(:2,'YYYY-MM-DD HH24:MI:SS')
GROUP BY GDR_PRODUCT_ID, TO_CHAR(REPORT_DATE,'YYYY-MM-DD HH24:MI:SS')



 

please anyone give the sample control flow  and how to pass the parameter?

 

Thanks & regards

Jeyakumar.M

 

View 1 Replies View Related

SQL Report With Parameter For Multiple Values

Apr 20, 2007

I need to somehow set up a third parameter which allows me to control the tag quantity type either by ALL - % , IS NULL, or IS NOT NULL.



I tried TAG_QUANTITY LIKE :Tags but this would only work if I had the % option select and not the IS NULL or IS NOT NULL



Any thoughts on how to format the select statement?





SELECT ORGANIZATION_ID, TAG_ID, PHYSICAL_INVENTORY_ID, TAG_NUMBER, CREATION_DATE, VOID_FLAG, TAG_QUANTITY, TAG_UOM, SUBINVENTORY,
LOCATOR_ID, COUNTED_BY_EMPLOYEE_ID
FROM INV.MTL_PHYSICAL_INVENTORY_TAGS
WHERE (ORGANIZATION_ID = ite) AND (PHYSICAL_INVENTORY_ID = :InventoryID) AND (VOID_FLAG = 2) AND TAG_QUANTITY IS NULL
ORDER BY TAG_NUMBER

View 1 Replies View Related

How To Have A Multiple Parameter On The Report And One Of Which Should Be Date Field

Apr 3, 2007

I want multiple parameter on report.

One of which is a mCategoryname field which is appearing in the combo.[and working fine ]

Now there should be another parameter whichwould take date parameter [yyyy-mm-dd]

User should not able to enter invalid date.

Both parameter should be necessary.

How can i do that ?

View 1 Replies View Related

Multiple Checkbox Field Width In A Report Parameter.

Oct 30, 2007

Hello,

I have a report where I'm showing a list of users to select.
When previewing the report, the width of the field is automatically set to the largest label in the dropdown list.
But when I change the parameter to have "Multi-Values", then the width is set to a fixed value and a horizontal scrollbar appears.
Does anyone know how to have a "Multi-Values" parameter, but keeping the lasgest width of the labels in the dropdown list ?

Thanks in advance

View 3 Replies View Related

Reporting Services :: Select Between From And To Dates In Multiple Parameter Report

Oct 26, 2015

I have a report that uses several filters including a from and to date filter, I have  a field named TimeLastMod which is a Timestamp. I am extracting the From and To dates from this field using Select format(TimeLastMod,'MMM') as FromMonth,format(TimeLastMod,'MMM') as ToMonth From Eventlogs syntax.

These I pass on to a parameter and eventually to a tablix filter in an between opeartion. When I run the report, the records returned by the report is not what is expected as it sometimes returns an extra months data e.g., using between Aug and Sept will return october data as well.

View 5 Replies View Related

SQL 2012 :: Data Driven Report Looping Through Parameter For Multiple Reports

Sep 15, 2015

I'm trying to create a report that will be data-driven and produce multiple reports based on a parameter. For example, 5 reports go out today based on invoice numbers from yesterday. Each invoice can have multiple trasnsaction lines and each line contains the invoice number. What I have so far is only taking the first invoice number (let's say it has 10 transactions) and sending me the same report 10 times and stopping.

I get nothing for the remaining 4 invoices/reports. Here is what I have. To me this should enter the distinct invoice no's from yesterday into #temp, while a invoice no exiists begin query with one invoice selected from #temp then delete that invoice no and select another one and repeat till no more invoice no's. But it's only going through the one invoice no.

select distinct InvoiceNo
into #temp
from table
where Invoicedate between getdate()-1 and getdate()
declare @InvoiceNo VARCHAR(25)

[Code] ....

View 0 Replies View Related

Reporting Services :: Report Builder - How To Use Multiple-value Parameter In Dataset Control

Oct 25, 2015

I have used my parameter value in where clause of my dataset control SQL query. When I choose a single value in my multiple-value parameter then I get output as expected. Hovewer when I choose multuple values I get an arror:

Only one expression can be specified in the select list when the subquery is not introduced with EXISTS.
----------------------------
Query execution failed for dataset 'DATABASE'. (rsErrorExecutingCommand)
----------------------------
An error has occurred during report processing. (rsProcessingAborted)

I am convinced that it's a syntax problem. Is there a way I can change syntax of data output from query:

select @parameter

I need output to be like: value, value, value ... etc.

The dataset control query looks something like the following:

select
ID,
a,
b,
c,
d
from DATASET.dbo.Table
where ID in (select @parameter)

I have been searching through google for weeks to solve this and got this far and got stuck. Is it possible at all to achieve what I am looking for?

View 4 Replies View Related

Unique Identifier Crystal Reports Parameter

Jul 20, 2005

I would like to pass an unique identifier (UserID) to a Crystal Reportfrom a SQL stored procedure. I found an article from Business Objectsabout this issue, but I couldn't get my head around it's hard codedexample.Does anyone have an example of this? Would I need to also create aparameter in my Crystal Report?Help appreciated.Steve*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!

View 1 Replies View Related

Reporting Services :: How To Filter MDX Query Using SSRS Report Parameter With Multiple Values

Oct 14, 2009

I am creating a SSRS report using a SSAS cube as it data source.  The user would like to select multiple values from a reporting parameter that is then used as a filter on the MDX statement.  I am bale to have the report work successfully when only one value is selected but not when multiple values are selected; the report uses only the first value from the reporting parameter when it contains multiple values.  How do I filter an MDX query using a SSRS report parameter with multiple values?

View 3 Replies View Related

Crystal Report Using SQL CE

Aug 10, 2007

I've created an app that connects to a SQLCE database. I need to create Crystal Reports that connect to the database. There is no ODBC driver for SQLCE. How can I do this?

Thanks,
Kathy

View 9 Replies View Related

How Can I Modify A Report In Crystal Report 7

Jan 12, 2007

I am a Web developer. I am new to VB 6.0 and Crystal Report. I havejoined an organisation where there is an application running(developedin VB6 and crystal report 7). I have to modify one report. In twocolumns I have to make minor changes i.e put and = operator. I amencountering following problem:1. When I open the report using Seagate crystal report for rational /32 bit crystal Report Designer there are three columns which are goingout side the visible area and I am not able to scroll up to them. Iincreased the page margin (left / right) and made it to zero and zerobut still I am not able to see those columns. Please guide.2. Please suggest any good web site for learning Crystal Report 7Thanks n RegardsDeepak Sinha

View 2 Replies View Related

CRYSTAL REPORT 8.0 PROBLEM

Apr 26, 2002

Hi,
I am trying to run the crystal report from asp.
its says SQL Server connection failed. But i could connect SQL server using the same DSN. Any idea???


Set crp = Server.CreateObject("Crystal.CRPE.Application")
iReturn = crp.LogOnServer("p2sodbc.dll", "DSNNAME","USERID","PASSWORD")
Set oRep = crp.OpenReport("C:inetpubwwwrootpdftestest.rpt")
oRep.Preview

Set crp = nothing

Thanks
Ilango

View 1 Replies View Related

Crystal Report 8.5 Vs SQL Server 2K

Jan 12, 2004

Does Crystal Report 8.5 work OK with SQL Server 2K ?

Anyone encoutered problems for with this couple of programs ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved