Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use ActiveX viewer with RAS

Status
Not open for further replies.

D1000

Technical User
Aug 16, 2002
46
US
Using CE RAS 9, we are able to generate a report using the Interactive viewer with the following code (edited for legibility):

Set ObjFactory = CreateObject("CrystalReports.ObjectFactory.2")

... other connection information ...

'Call the interactive viewer
<%@ Language=VBScript %>
<%

'Create the Report Viewer object
Set HTMLViewer = CreateObject("CrystalReports.CrystalReportInteractiveViewer")

'Supply the viewer with information it needs and set any viewer attributes
With HTMLViewer
.ReportSource = Session("pathReport")
.DatabaseLogonInfos = Session("connectionInfos")
.IsOwnPage = True
.IsEnableDrillDown = True
.IsDisplayGroupTree = False
End With

'Display the report in the viewer
HTMLViewer.ProcessHttpRequest Request, Response

%>

This works fine. How can we use the ActiveX viewer instead? Any ideas or suggestions would be appreciated.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top