satyarao
Feb 25th, 2004, 05:35 AM
Hai there !
I am working with Visual Basci 6, Crystal Report 8.5 and Ms-Access 2000.
I generated using the access query. and that report i am calling from vb screen.
Since i know the details and the format of the report (Invoice/Bill), when i click print command button in the entry (VB) screen, i dont want to see the report which will be opeing in the separate crystal report window. if atall it is opened, i dont want to click on 'print' icon of the report, it should directly open print dialoge box of that report, evenif it is in minimized state there will be no problem.
I am using crystal report .OCX tool in the screen(form) level. and my code is below.
Crystalreport1.SQLQuery = "Select * from MyQuery"
Crystalreport1.printReportfilename = "d:\Project\MyReport.Rpt"
Crystalreport1.PrintReport
I will be thankful to any suggestion. Please suggest me at earliest.
Waiting for response.
(sorry for using bad english...)
I am working with Visual Basci 6, Crystal Report 8.5 and Ms-Access 2000.
I generated using the access query. and that report i am calling from vb screen.
Since i know the details and the format of the report (Invoice/Bill), when i click print command button in the entry (VB) screen, i dont want to see the report which will be opeing in the separate crystal report window. if atall it is opened, i dont want to click on 'print' icon of the report, it should directly open print dialoge box of that report, evenif it is in minimized state there will be no problem.
I am using crystal report .OCX tool in the screen(form) level. and my code is below.
Crystalreport1.SQLQuery = "Select * from MyQuery"
Crystalreport1.printReportfilename = "d:\Project\MyReport.Rpt"
Crystalreport1.PrintReport
I will be thankful to any suggestion. Please suggest me at earliest.
Waiting for response.
(sorry for using bad english...)