index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard v2 |
| |||||||
Oct 24 2004, 3:27 PM |
| ||||||
ghost from: Washington, DC | You can add any code (HTML/ASP etc.) anywhere the only thing you have to do is make sure that you initialize your connection string first before adding any HTML code. ie. 1. create an instance of the report wizard 2. set any properties you require 3. Initialize your connection string : objWiz.Init(Your Connection string) 4. add any html code you wish <% Dim objWiz Set objWiz = Server .CreateObject("AspWebSolution.ReportWizard2" ) 'add properties ifc required objWiz.UsePopUpFilters = True 'Make sure you initialize before adding any HTML text 'TODO: Change this to your actual connection tring objWiz.Init( "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=D:\Databases\nwind.mdb;" ) %> <html> <head><title>East Coast Reports</title></head> <body> <h1>East Coast Reports</h1><hr> <% 'put this where you want your reports objWiz.DisplayReports Set objWiz = Nothing %> <p>Copyright Info</p> </body> </html> ------------------------- Ghost | ||||||
Pages: (1) [1] |