Hello,
I wish to call a crystal report called MyReport from within a visual
basic.net form. The report contains a custom built active x control called
picture1. This has a property called filename that I wish to set to the
filename parameter in the stored procedure that the report is bound to. So
far I have the following code:
Select Case (ToolBar1.Buttons.IndexOf(e.Button))
case()
Dim form As Form2 = New Form2
Dim report As MyReport
report.SetDataSource(MYDataSet.tasks)
'This is where I'm stuck how do I set the filename property of the active x
object picture1 to the filename field in the datasource
End Select
I would be very gratefull for any help.
Regards
Geraldine
|