Here are an ex. how to pass a text to a Textfield in CR ( no parameterfield)
Public Function add2textfield()
Dim CR As New ReportDocument
Dim temp As String
'The loaction of the report
temp = "C:\\WindowsApplication1\C
CR.Load(temp)
Try
Dim myReportTextObject As CrystalDecisions.CrystalRe
Dim myTestObject As CrystalDecisions.CrystalRe
'The name of the textfield in CR: DescriptionText
If TypeOf CR.ReportDefinition.Report
'The text that you want to show in your textfield
CType(CR.ReportDefinition.
CrystalDecisions.CrystalRe
"TEST"
End If
Catch err As Exception
'the description text in the document won't be written
End Try
CrystalReportViewer1.Repor
End Function
Main Topics
Browse All Topics





by: mlmccPosted on 2004-08-09 at 20:31:56ID: 11759318
Take a look at these samples
ects.com/c ommunityCS / FilesAndU pdates/vbn et_web_sam ples.exe.a sp
http://support.businessobj
mlmcc