473,573 Members | 3,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing Paremeters from Form to Crystal Report

Hi all

I am new to ASP.Net and Crystal Reports. We have VS.Net 2003 and
Crystal 10 where I work. I have successfully been able to view
reports in a web page.

My problem now is that I have a report that takes two parameters. A
clientID parameter(numbe r) and a date parameter(Date type). I set a
form that gets the possible values from the DB and places them into
drop down lists. When I select the params and click the button, I
get a page that says "The report you requested requires further
information." Under this it has entry fields for the two parameters.
Even after I fill these in, I still get the same page.

Do I need to convert the request strings to the correct data type?
How do I convert a string to a date type?

Also, the report also has a subReport that contains four charts. The
subReport take the same parameters. Does this make a difference?
Should I add the params for the subReport to the ParameterFields
variable?

Thanks in advance for any help.

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 18 '05 #1
0 1518

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1770
by: kvrdev1 | last post by:
I have a simple Crystal Report developed within .NET. Currently, it displays all fields from a view. Could someone please tell me how I could pass a parameter to the report to only display the record(s) affected? i.e. only display information where the VisitID = 1 (for example). I can set it up to be hard-coded to be VisitID = 1, but need...
1
3618
by: Maria | last post by:
Hello! I am new to Crystal reports an I have problems passing parameters form outside to Crystal report an creating a report with data from more than one table This is the problem: I have to make a report( VS.NET, C#, Web Form) with 3 parts and with data from three tables: 1st part: all the field values form table1 coresponding to an...
0
8723
by: stephan | last post by:
I know that this has been beaten to death but I can't seem to resolve my issues (I have 2 of them). I have created a class that exposes a public method which returns a datatable as a datasource for a Crystal Report. The method has a single argument which represents a parameter required by the Stored Procedure. When I generate the report...
0
1088
by: Karel | last post by:
Hi, I'm having a problem with passing parameters to Crystal Report. I'm using the following cod (C#): ParameterFields paramFields = new ParameterFields (); ParameterField paramField = new ParameterField (); ParameterDiscreteValue discreteVal = new ParameterDiscreteValue ();
1
2518
by: raf_z | last post by:
Hi, I'm running a website with Asp.NET, and on one of the pages i have a crystal report with 3 user-populated parameters. However, not all params might be selected. Example: Parameters: 1. EmployeeID 2. First Name 3. Last Name
0
1336
by: neeraj | last post by:
Hi people's I developed One Windows application with some crystal Report I used my predefined crystal reports files for my application. I just take one crystal report viewer on form and set report source = location of my crystal report file. The version of crystal report software is 8.0 When I execute my application and open report from...
1
1212
by: dineshpdn | last post by:
I need to pass parameters to the crystal report in the VS2005.In my program I have window form which can be select date.When date is selected the data regarding that day should be dispaly in the same form in the crystal report. What is the easy way. Thank You
1
1199
by: mmy | last post by:
Hi, I have the following problem: I have a Crystal Report with subreport. In every detail line of the subreport (with a field "price") I have to calculate something ("X"), depending on the field "price" and on 2 variables the user enters on a windows form (date and period). These 2 variables are always different and are no part of the table....
0
938
by: umeshpotdar | last post by:
hi friends i m doing crystal reports. i want to pass parameters to crystal report i mean to say that i created one form in VB.Net 2008 on that i took two fields FromDate & ToDate & report will display when click on View Button so on report i want values of FromDate & ToDate
0
8029
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8204
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5600
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5293
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3734
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3735
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2222
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1307
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1044
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.