Hi again,
I have a problem again with crystal reports.

I am using Microsoft Visual Studio 2008 and want to design my Dynamic crystal reports. In vb6 i normally did this via bounding each control of the section1 ,2 or 3 via run time code by giving the name of that control something like

.section3.controls("txtName").text=some value

can I did the same with crystal reports as well in VB.Net

if yes than how.?

Need Urgent Help plezzzzzzzzzzzzzz

Recommended Answers

Please click on this link i hope it would help this site would provide you step by step guaidline please mark thread solved if it helps

http://vb.net-informations.com/crystal-report/vb.net_crystal_reports_tutorials.htm

Jump to Post

All 3 Replies

OBJ is crystal report object
and
rec is my database object

Dim rptTxtGroup As CrystalDecisions.CrystalReports.Engine.TextObject

rptTxtGroup = obj.ReportDefinition.ReportObjects.Item("Text1")
rptTxtGroup.Text = "HaloooO"
obj.SetDataSource(rec)
CrystalReportViewer1.ReportSource = obj
CrystalReportViewer1.Refresh()

__________________________________________________________________

It is enough to change the text at run time
but in detail section I need to display multiple value in one text object.
It retain only the lastly given text.

how to do.?

Just tell me what do you want to do??????? What problem you are facing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.