I am Using Crystal report XI to print a letter. I am calling it Through VB6 using Crystal Report XI runtime.
I have two radio button on my form stating two director name . The letter will contain either of two Directors as an authorized signatory.
The problem how can i insert this text into the report.( If i use a blank Text it say cannot modify readonly property. And if i use Unbounded Field it say object not found.)
Please Suggest Its urgent.
Dim crxApp As CRAXDDRT.Application
Dim crxRpt As CRAXDDRT.Report
Set crxApp = New CRAXDDRT.Application
If optIncrLetter = True Then
Set crxRpt = crxApp.OpenReport(App.Path & "\Incerment_Letter.rpt")
ElseIf OptMidterm = True Then
Set crxRpt = crxApp.OpenReport(App.Path & "\Mid_Term_Letters.rpt")
crxRpt.Database.Tables(1).Location = txtMainFile
To View the report
Form3.CRViewer1.ReportSource = crxRpt
Form3.CRViewer1.EnableExportButton = True
Form3.CRViewer1.EnableGroupTree = False
Form3.CRViewer1.EnableZoomControl = True
Form3.CRViewer1.EnableCloseButton = False
Form3.CRViewer1.EnableSearchControl = True
Form3.CRViewer1.EnableSelectExpertButton = True
Form3.CRViewer1.Width = Form3.Width
Form3.CRViewer1.Height = Form3.Height