Here is source code. I am not saving data with the
report. Everything runs fine but sometimes, I don't
get records with the report while showing with visual
basic and I can't refresh the report from visual basic
frmReport.cryrpt.ReportFileName = App.Path &
"\reports\Report2.rpt"
frmReport.cryrpt.SQLQuery = "SELECT * From
`tblReport21` Order By tblReport21.`InvoiceCode` ASC"
frmReport.cryrpt.Destination = crptToWindow
frmReport.cryrpt.WindowShowRefreshBtn = True
frmReport.cryrpt.Action = 1
-Harshang
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com