index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Feb 28 2005, 5:39 AM |
| ||||||
ghost from: Washington, DC | I am not sure what component you are using but if it is the ASP Report Wizard, you have to make sure you initialize your connection string before adding any HTML tags to your .asp page as shown below. <% 'decalre your object Dim objWiz 'create an instance Set objWiz = Server .CreateObject("AspWebSolution.ReportWizard2" ) 'set paramters (if required) objWiz.LocaleFolder = "C:\reports\locale" objWiz.ReportsFile = "C:\reports\inventory.xml" 'initialize your connection string objWiz.Init(strConn) %> <html> <head> <title>Inventory Reports</title> </head> <body> <% objWiz.DisplayReports Set objWiz = Nothing %> </body> </html> ------------------------- Ghost | ||||||
Pages: (1) [1] |