Calling crystal subreport in Visual Basic 6
Hi. I have post this question for a lot of newsgroups out there but i did not receive any response. Anyway here it is:
I have a crystal report which has on demand subreport attached to it which can be called thru a hyperlink, when i am running it in Crystal Report environment, i can click on the hyperlink in the main report to view the subeport.
However when i am calling this main report in visual basic, the hyperlink for subreport is not working.
How can i enable it.
Pls i need it asap.
Here is my code by the way:
CrystalReport1.Connect = "DSQ=ODBCName"
CrystalReport1.ReportFileName = "c:\rptreprt.rpt"
what will i add in order for the main report to call sub report.
Thanks in advance,