0

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

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Naveed_786
0

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.?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.