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

All 3 Replies

OBJ is crystal report object
rec is my database object

Dim rptTxtGroup As CrystalDecisions.CrystalReports.Engine.TextObject

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


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 meeting, networking, learning, and sharing knowledge.