Connecting Tech Pros Worldwide Help | Site Map

Change text in crystal report

Member
 
Join Date: Nov 2008
Posts: 39
#1: Apr 30 '09
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
Nitin646's Avatar
Member
 
Join Date: Oct 2007
Location: मुंबई, India
Posts: 109
#2: May 2 '09

re: Change text in crystal report


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
Newbie
 
Join Date: Nov 2009
Posts: 1
#3: 2 Weeks Ago

re: Change text in crystal report


Here is the C# version: -

http://prabhat.me/2009/11/06/change-...rt-at-runtime/
Reply