index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP Report Wizard (version 1) |
| |||||||
Nov 13 2003, 4:13 PM |
| ||||||
Ghost from: Washington, DC | Try the code below <% Dim objReport, strConnectionString Set objReport = Server.CreateObject("AspWebSolution.ReportWizard") 'TODO: Change the following connection string to reflect your 'database location 'strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("../oms.mdb") strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=H:/hshome/omsdelad/omsdelivery.com/asp/oms.mdb" 'NOTE: 'You must call the Init procedure before adding any HTML Tags/Text into your page objReport.Init(strConnectionString) %> <style> /*Tables' listing styles*/ A { COLOR: #0000ff; TEXT-DECORATION: none; } A:visited { COLOR: #0000ff; TEXT-DECORATION: none; } A:active { COLOR: #0000ff; TEXT-DECORATION: none; } A:link { COLOR: #0000ff; TEXT-DECORATION: none; } A:hover { COLOR: #990033; TEXT-DECORATION: underline; /*background-color:aqua;*/ } /*Delete button*/ .delete{ FONT-SIZE: 11px; FONT-WEIGHT:BOLD; COLOR: red; FONT-FAMILY: Verdana, Arial; TEXT-DECORATION: none; } /*report header*/ .header{ font-weight:bold; font-size:13px; font-family:arial; color:black; } /*background (line) color*/ .report-table{ background-color:black; } /*header row background color*/ .header-row{ background-color:olive; } /*header row text style*/ .col-header{ color:white; text-decoration:none; font-size:10pt; } a.col-header{ color:white; font-family:arial; text-decoration:none; font-size:10pt; } a.col-header:visited{ color:white; font-family:arial; text-decoration:none; font-size:10pt; } a.col-header:hover{ color:white; font-family:arial; text-decoration:underline; font-size:10pt; } /*generic style*/ TD { FONT-SIZE: 8pt; VERTICAL-ALIGN: top; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif } /*odd row background color*/ .odd-row{ background-color:#cccc99; color:black; font-family:verdana; font-size:8pt; } /*even row background color*/ .even-row{ background-color:white; font-family:verdana; color:black; font-size:8pt; } /*input text-box style*/ INPUT.report{ border:1px solid gray; font-size:9px; font-family:tahoma; padding:0px; text-align:center; } </style> <% objReport.DisplayReports Set objReport = Nothing %> ------------------------- Ghost | ||||||
Pages: (1) [1] |