Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/09/2010, 13:25
junnior
 
Fecha de Ingreso: julio-2007
Mensajes: 58
Antigüedad: 16 años, 10 meses
Puntos: 0
Problemas con crystal repor en firefox

Estimados, estoy trabajando con asp + crystal report, hice una pruebas en ie6 y funciona muy bien, el problema es cuando cambio de browser a mozilla (firefox),

Crystal report no me funciona me marca un error en mi funcion que tengo

error:=Page_Initialize is not defined

<SCRIPT LANGUAGE="VBScript">
<!--
Sub Page_Initialize
On Error Resume Next
Dim webBroker
Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
if ScriptEngineMajorVersion < 2 then
window.alert "IE 3.02 users on NT4 need to get the latest version of VBScript or install IE 4.01 SP1. IE 3.02 users on Win95 need DCOM95 and latest version of VBScript, or install IE 4.01 SP1. These files are available at Microsoft's web site."
CRViewer.ReportName = Location.Protocol + "//" + Location.Host +"/scrreports/rptserver.asp"
else
Dim webSource
Set webSource = CreateObject("WebReportSource.WebReportSource")
webSource.ReportSource = webBroker
webSource.URL = Location.Protocol + "//" + Location.Host + "/scrreports/rptserver.asp"
webSource.PromptOnRefresh = True
CRViewer.ReportSource = webSource
end if
CRViewer.ViewReport
End Sub
-->
</SCRIPT>

espero me puedan ayudar, desde ya gracias.