Hi Friends,
I've used Access, VB6 and Crystal Report8.5. Now My reports are working fine. But Now I want to add one more facility. I want to export my report in the DOC format. I've used crystal report control (ocx) file and following code to display reports which are stored in "reports" folder of my software.
VB Code:
With crRegistration .Connect = strConn .ReportFileName = App.Path & "\reports\RegistrationLetter.rpt" .WindowTitle = "Registration Conmfirmation Letter" .SelectionFormula = "{tblStudent.studentid}='" & sStudentId & "'" .WindowState = crptMaximized .Destination = crptToPrinter .printReport .Action = 1 End With
Plz help me to write a code which saves this report in the folder (folder name has to be entered by user.) . I am not using crystal report viewer control just crystal report activex control. plz help me.




Reply With Quote