-
i have based a report on an SQL query
and i am trying to get it to print but
nothing happens,
Code:
'print report
crpt.ReportFileName = Use_ReportsPath & "MyReport.rpt"
crpt.PrintReport
the printing dialog box (crystal reports 8 version) appears
but shows that page 1 is printing, then disappears, having printed nothing.
is there something else that needs to be added because of the SQL source behind the report?
thankx in advance,
larry
-
Open the report file in Crystal and verify that you have a printer set up under Printer Setup in the File Menu. If you do not have a printer setup on the PC where the report was developed, it will not print. Strange but true...
-
i have a printer set up.
i have tried saving the data with the report
and it still doesn't print anything..
if i open straight to crystal reports and open my report
i can print it out, no problems..
however, i want my VB program to be able to
print this out since this is one of the purposes
of using crystal reports, isn't it?
i am suspecting it is something to do with SQL
my SQL statement just pulls data from a table and
groups it accordingly, no big deal there, just
confused why it won't print when called
need help, please