I have a need to create a VB front end process to allow users to launch crystal reports from command buttons. Unfortunately, I don't know what I'm doing. Does anyone have sample source code that they could share with me. In a nutshell, this is the code that I'm using ;
Private Sub CmdSQLFS_Click()
CrystalReport1.ReportFileName = "J:\cinfo\input\MICR\fsd_micr.rpt"
Result% = CrystalReport1.PrintReport
CrystalReport1.Action = 1
End Sub
I have also tried including CrystalReport1.connect and CrystalReport.LogOnServer ...with no success.
Private Sub CmdSQLFS_Click()
CrystalReport1.ReportFileName = "J:\cinfo\input\MICR\fsd_micr.rpt"
Result% = CrystalReport1.PrintReport
CrystalReport1.Action = 1
End Sub
I have also tried including CrystalReport1.connect and CrystalReport.LogOnServer ...with no success.