I am working on something similar at the moment, But do it slightly differently :
With cr212 'The vb crystal object
.ReportFileName = strRptFile
.SQLQuery= " Select * from Whatever"
.Destination = crptToWindow
.PrintReport
End With
Basically... What report
What query
Where to? (To file, to window, to printer)
And Do it now
PrintReport returns a value. If you put a break on this it will show an error number if it fails that you can look up in CR Help to find out why.
Good luck
David