index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Jun 27 2005, 4:10 AM |
| ||||||
Peter since: Jun 16, 2005 from: Singapore | I need to pass the UseTables & HiddenFields from a Login.aspx, I have try this for about 4 hours, can anyone the find out the reason? REPORTS.ASP <% Dim objWiz Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2") Dim Tables Dim HF Tables = Request.QueryString("TABLES") 'HF="Date,Inv" HF=Request.QueryString("HiddenFields") Response.Write(HF) With objWiz .HiddenFields = [HF] .UseTables = Tables End With objWiz.Init("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("DB/GFDB.MDB") & ";") objWiz.DisplayReports Set objWiz = Nothing %> my Login.aspx code Dim Tables As String Dim HiddenFields As String Dim URL As String Tables = "" Tables = "Invoice,User" HiddenFields = "Date,Inv" URL = "REPORTS.ASP?TABLES=" & Tables & "&HiddenFields="&HiddenFields Response.Redirect(URL) Here, I pass "Invoice,User" to UseTables and pass "Date,Inv" to HiddenFields but the result is that : the Date, Inv can not hide this is a simple test, actually I want to pass HiddenFields from a database table ( generate strings from database) for security issue. Very urgently!!! | ||||||
Jun 27 2005, 11:06 AM |
| ||||||
ghost from: Washington, DC | Try the latest download. I used the following script in my test: Dim HF Note: Use Request(ParamName) NOT Request.QueryString(ParamName) ------------------------- Ghost | ||||||
Pages: (1) [1] |