【发布时间】:2009-11-13 10:35:59
【问题描述】:
我在我的 VB6 项目中使用 Crystal Reports,但在 crystalreport1.action=1 中加载报告时遇到错误;请给我一些解决这个问题的方法。它显示错误为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
【问题讨论】:
-
你得到什么确切的错误信息?您使用的是什么版本的 Crystal Reports(以及它的组件类型 - ActiveX viever、RDC 组件或其他)?
-
我使用的是cryst32.ocx dll,版本是Crystal Reports v10.0.0.533 Professional Edition,控件是crystalreport,我得到的错误是20728-f
标签: vb6 crystal-reports