473,466 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

hOW TO PASS A TEXTBOX VALUE FROM A WINDOWS FORM TO A CRYSTAL REPORT SECTION

2 New Member
Hi All
Can anybody tell me the procedure to pass the text written in a textbox to a crystal report section. Please send me the complete code. I am new to crtstal report.
Thanks and Regards
Sagar
Sun-Dew Solutions Kolkata
Mar 7 '07 #1
3 2735
aspamit
38 New Member
Hi All
Can anybody tell me the procedure to pass the text written in a textbox to a crystal report section. Please send me the complete code. I am new to crtstal report.
Thanks and Regards
Sagar
Sun-Dew Solutions Kolkata

Can u tell me what u exactly mean.

Have u tried SetParameterValue?
Mar 8 '07 #2
sagarpattnayak
2 New Member
Can u tell me what u exactly mean.

Have u tried SetParameterValue?
Yah Some body suggest me that. But I cant do it. Can u help me.
Mar 8 '07 #3
aspamit
38 New Member
Yah Some body suggest me that. But I cant do it. Can u help me.

When U r passing a query to crystal report at that time only set


int masterId = Convert.ToInt32(Request.QueryString["id"]);
urReportName.SetParameterValue("masterId", masterId);

(in ur case get value from TextBox rather taking from querystring)

here u r finished with coding.

Now in the crystal report,add parameter value.
The parameter value name should b same as u specified in aspx.

That's it.
Let me know if u face any pro.
Cheers...
Mar 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Michael | last post by:
I followed the solution document at the http://support.businessobjects.com/library/kbase/articles/c2015079.asp?ref=devzone_netzone_howto .. However, the Crystal Report prompt is still showing. The...
3
by: jaYPee | last post by:
I have a form (dialog form to display report) that has an unbound textbox. I want to pass the value of this textbox to my report. But how can I pass this value if i'm accessing SQL Server 2000...
0
by: Brenny | last post by:
Hi I'm developing a project and in the project, I used crystal report. Firstly my database isn't protected with password. After finishing project I determined a password for my database. Firstly...
1
by: crjunk | last post by:
I've got an aspx page that allows the user to select different options whenever they want to run a report. On this page, I have added an additional text box for the user to enter in comments about...
10
by: Sylvain Audet | last post by:
Hello! We have a Windows application that is using Crystal Reports reports containing Barcode fonts. Those reports are called through reflection into a Crystal Report Viewer and we need to have...
0
by: Helen | last post by:
I have a simple oledb dataset on one windows form in vb .net 2002 calling one column from oracle 7, results appear in a text box But, only the first results appears. Goal is to show all results...
3
by: Lennart Nielsen | last post by:
How can I access a textbox place on a Local Report? As far as I can see the Report is not "visible" from the main windows form. Lennart
1
by: viral123 | last post by:
Hi all I am using Crystal report and I am running my report successfully for my query but I want to make my query for one specific date. I want to get the date value from the textbox value. ...
0
by: MarkusJ_NZ | last post by:
Hi, I have a Windows Form with a Report Viewer on it. At runtime I bind my crystal report to a Datatable and this works well. What I would like to be able to do is pass a value from the Windows...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.