index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Jun 22 2004, 5:53 AM |
| ||||||
ghost from: Washington, DC | We have just uploaded a newer version (build 2.0.185) which contains the bug fix and some other minor fixes. You can download it from here Note: Always set your reportsFile before initializing the connection string. Also, I made some changes to the code you sent, I set the database name in a session variable. I think that is why the reportsFile variable was disappearing as follows: <% 'Initialize variables and objects Set objwiz = Server .CreateObject("AspWebSolution.ReportWizard2" ) If Request ("database" ) <> "" Then Session( "database" ) = Request ("database" ) End If If Session("database" ) = "" Then 'Session("database") = DatabaseName Response .Redirect "default.asp" End If 'Set up the connection string strConnectionString = "Provider=SQLOLEDB; Data Source= " & SQLServer & "; User Id= " & DatabaseUser & "; Password= " & DatabasePassword & "; Initial Catalog= " strConnectionString = strConnectionString & Replace (Session("database" ),"'", "''" ) & ";" objwiz.ReportsFile = Session("database" ) & ".xml" objwiz.Init(strConnectionString) %> ------------------------- Ghost | ||||||
Pages: (1) [1] |