473,513 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change text in crystal report

58 New Member
Hi,

I have an aspx form. In that i have a check box for Credit card payment. When i am submitting that form it need to open a crystal report. If the checkbox is checked
the textbox field in crystal report should update with 'Credit Card Payment'. If the checkbox is not checked the textbox field in crystal report should update with 'Cash
Payment'. How can i do this. I am filling other data in crystal report with dataset.


Pls help me....

Thanks in advance...

Deeps
Apr 30 '09 #1
2 4550
NitinSawant
270 Contributor
Expand|Select|Wrap|Line Numbers
  1. Dim myTextObjectOnReport As CrystalDecisions.CrystalReports.Engine.TextObject
  2. myTextObjectOnReport = CType(myreport.ReportDefinition.ReportObjects.Item("name of the checkbox in the report"), CrystalDecisions.CrystalReports.Engine.TextObject)
  3. myTextObjectOnReport.Text = cmbCustID.Text
hope this could help,


regards,
Nitin Sawant
May 2 '09 #2
shant1976
1 New Member
Here is the C# version: -

http://prabhat.me/2009/11/06/change-...rt-at-runtime/
Nov 6 '09 #3

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

Similar topics

1
19130
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
7
3972
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
2
4906
by: Mythran | last post by:
In .Net, how can I go about and set a Crystal Reports namespace? Right now they use the Root Namespace (VB) from the project. How can I extend the namespace for a single report (which will be set...
0
1781
by: Joseba Mirena | last post by:
Hello: I have built a crystal report and i have linked it to my application Asp.net. The problem is that the crystal report have got a vertical-text, 90º rotated, but when I open my web I see the...
3
5226
by: Diggler | last post by:
I was working on a report that is populated with three different tables in a strongly-typed dataset. The tables are populated from custom objects rather than directly from SQL Server. I loop...
12
10365
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission...
0
2249
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a...
0
1635
by: Big George | last post by:
Hello Gurus, I'm developing with VS2003, ASP.NET with Crystal Report for VS.NET, and I need to change the paper orientation of a Crystal Report to Horizontal... How to do that? I tried to...
5
3725
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a...
1
11003
by: Rodo | last post by:
Hi all, I'm trying to generate a simple crystal report without a database. Several people mention the use of a dataset. Someone mention in a msdn forum that I could use the SetParameterValue to...
0
7259
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
7158
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
7535
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...
0
7523
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4745
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
3232
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...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
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...

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.