I have the following code (not all of the code, just the portion that is causing the problem) and the Crystal ActiveX loads in the browser, but the report doesn't pull up and I don't get an error either. The report does work when I run it from Crystal, so I'm not sure where my problem lies. Can someone help?
Set session("oRpt") = session("oApp").OpenReport
("c:\progr
am files\myapp\wwwroot\report
s\Crystal\
MYREPORT.R
PT", 1)
If Err.Number <> 0 Then
Response.Write "Error Occurred creating Report Object: " & Err.Description & "ReportName: " & reportname & " " & Path
Set Session("oRpt") = nothing
Set Session("oApp") = nothing
Session.Abandon
Response.End
End If
For iNdx = 1 To session("oRpt").Database.T
ables.Coun
t
session("oRpt").Database.T
ables(iNdx
).SetLogon
Info "", "", cstr(userid), cstr(password)
Next
session("oRpt").FormulaSyn
tax = 0
session("oRpt").RecordSele
ctionFormu
la = selectionFormula
session("oRpt").DiscardSav
edData
session("oRpt").MorePrintE
ngineError
Messages = False
session("oRpt").EnablePara
meterPromp
ting = False