ghost
from: Washington, DC
| You have to set all parameters before initializing your connection string. page code: <% if request("originate") <> "" then session("originate") = request("originate") end if Dim objWiz Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2") objWiz.LincenseKey = XXX objWiz.ReportsFile = "C:\INetPub\WWWRoot\master\reports.xml" objWiz.DefaultPageSize = 10 objWiz.Width = 650 objWiz.HideProcedures = True objWiz.HideTables = True objWiz.HideViews = True objWiz.IsAdmin = False objWiz.HomeURL = "../" & session("originate") objWiz.AddHiddenSqlFilter "users", "usersystem = " & session("userdb") objWiz.Init("Provider=SQLOLEDB.1;User ID=databaser;PWD=password;Initial Catalog=Database;Data Source=server") %> <html> <head> <title>Master Reporting System</title> </head> <Body OnLoad="" leftmargin="0" topMargin="0"> <!-- #include file=top.asp --> <% objWiz.DisplayReports %>
------------------------- Ghost |