Click to See Complete Forum and Search --> : Report Not Printing


Andy0000
November 26th, 2007, 06:49 AM
Hey Guys,
Question is same as was the previous one. I donot want to use CrystalReportViewer that comes integrated with Visual Studio 2005.

I haf written a code in VBSCRIPT to create a new object of Crystal report and display it in my page. It is complining without any errors but the report is not being printed.

Please help as I am new to world of Crystal Reports


My CODE goes as follows:

<script language="vbscript" type="text/vbscript">

dim oApp
dim oRpt
Set oApp = CreateObject("CrystalRuntime.Application")

Dim reportname
reportname="C:\crystaset.rpt"

Set oRpt = oApp.OpenReport("C:\crystalset.rpt", 1)


</script>


AM I missing anything. Please help. Its Urgent

THANKS IN ADVANCE.