index | search | no replies | posting guidelines | help login | register
Index » News » AspWebSolution News
search this forum:
:: Version 2.4.76 Released ::    show all messagesPost a Reply
Dec 10 2004, 2:30 PM
 Version 2.4.76 ReleasedPost a Reply

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Version 2.4.76 (build 2.0.476) of the ASP Report Wizard has just been released.
This version features a new procedure GetReport which returns the report's HTML string.

1. The GetReport does not return the reports title
2. To use the GetReport feature, you must have a valid license key

The sample code below shows how to use this feature:
----------------------- begin sample.asp --------------------------------------------------------

Dim objWiz , strReport, strConn,strReportId
'set variables
strReportId = "Test" 'Request("reportid")
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

'set all properties before initializing connection string
objWiz.LicenseKey = "XXXX-XXXX-XXXX-XXXX"
'Make sure you initialize before adding any HTML text
'get your report's html string
strReport = objWiz.GetReport(strReportId)

'clear memory
Set objWiz = Nothing


        <title>West Coast Report</title>
        <h2>West Coast Report</h2>
             Copyright <%=Year(Now)%> ACME Solutions, All rights reserved


Pages: (1)   [1]

search this forum: