how to use Vb6.0 & crystal report 10
i have designed report using crystal report 10. i am using access as database.
i have selected crystal report & crystal activex reportviewer component . i ve placed both on form. i ve written following code
CR1 is Crystal report component object
Private Sub Command1_Click()
CR1.ReportFileName = App.path & "\db\Report1.rpt"
CR1.Connect = App.path & "\db\intercraft.mdb"
CR1.SQLQuery = "select * from product_tab"
CR1.Destination = crptToWindow
CR1.PrintFileType = crptCrystal
CR1.WindowShowPrintBtn = True
CR1.WindowState = crptMaximized
CR1.Action = 1
is this code is correct for viewing report using vb6.0. Above code is giving me error " unable to load report". is this crystal activex reportviewer component is needed.
please tell me how to do this
If you don't get an answer here, you might try Crystal's tech support site: http://support.businessobjects.com/
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
By Mike in forum VB Classic
Last Post: 01-27-2007, 07:28 AM
By AM003295 in forum VB Classic
Last Post: 08-12-2005, 10:13 PM
By susan in forum VB Classic
Last Post: 01-08-2003, 03:00 AM
Last Post: 06-14-2002, 04:49 PM
By Liz Romero in forum ASP.NET
Last Post: 06-08-2002, 12:30 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL