I m using Crystal Reports in my VB6 project, but I m facing error while loading the report in crystalreport1.action=1
; Please give me some solution for this problem. It is showing the error as Error in 20728-F
cryStockReport.ReportTitle = "Total Stock Report"
cryStockReport.SQLQuery = "select * from Tr_stockcenter,ma_product where sc_productcode=pr_productcode and sc_yearcode=" & intyearcode & " order by sc_Productcode"
cryStockReport.ReportFileName = App.Path & "stock.rpt "
cryStockReport.WindowTitle = "STOCK REPORT"
cryStockReport.WindowState = crptMaximized
cryStockReport.DiscardSavedData = True
cryStockReport.Action = 1