Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create .tmp while using .dsr

Status
Not open for further replies.

143Aroul

Programmer
Jul 17, 2003
16
FJ
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top