I have written a project in VB6 front end Ms-Access backend and Crystal report for reporting purpose. I add one report like below and compile, it not creating tmp file ( 2.tmp,3.tmp etc) in the root directory
If I create report externally ( .rpt) and use the crystl32.ocx
rptreport.ReportFileName = strPath & "rptAdmission.rpt"
rptreport.Action = 1
but if I use crystral viewer control and create the report like from VB6 Menu bar “Project” under option “Add Crystal Reports 8.5”. In the Designers ( rptAdmission.dsr) is added. After adding this if compile and execute the program it is creating tmp file in the root directory only one because I added one report.
If I add 5 report in the Designer ( .dsr) it creates 5 (tmp files)
Any one give me a solution
If I create report externally ( .rpt) and use the crystl32.ocx
rptreport.ReportFileName = strPath & "rptAdmission.rpt"
rptreport.Action = 1
but if I use crystral viewer control and create the report like from VB6 Menu bar “Project” under option “Add Crystal Reports 8.5”. In the Designers ( rptAdmission.dsr) is added. After adding this if compile and execute the program it is creating tmp file in the root directory only one because I added one report.
If I add 5 report in the Designer ( .dsr) it creates 5 (tmp files)
Any one give me a solution