Ver Mensaje Individual
  #3  
Antiguo 23-04-2008
zvf zvf is offline
Miembro
 
Registrado: abr 2006
Posts: 158
Reputación: 19
zvf Va por buen camino
Gracias por tu respuesta.

Ahora surge un problema, ya me los acomoda bien, y me muestra dos objetos para desplegar reportes, el problema es que en uno no me despliega nada y en el otro si, no se si tenga algún error en el código, mira lo puse como me dijiste y quedo así:

Código:
<table summary="Reportes de usuario" width="633">
    <tr>
     <td><b>Primer reporte</b></td>
     <td width="305"><b>Segundo reporte</b></td>
    </tr>
  </table>

<table summary="Reportes de usuario">
   <tbody>
    <tr>
     <td>
    <SCRIPT LANGUAGE="VBScript">
 Sub Page_Initialize
 On Error Resume Next
 Dim webBroker1
 Set webBroker1 = CreateObject("WebReportBroker.WebReportBroker")
 Dim webSource1
 Set webSource1 = CreateObject("WebReportSource.WebReportSource")
 webSource1.ReportSource = webBroker
 webSource1.URL = Location.Protocol + "//koch/reportes/I_Huecos_Totales.rpt"
 webSource1.PromptOnRefresh = True
 CRViewer1.ReportSource = webSource1
 CRViewer1.ViewReport
 End Sub
 </SCRIPT>
 </td>
     <td>    
     <SCRIPT LANGUAGE="VBScript">
 Sub Page_Initialize
 On Error Resume Next
 Dim webBroker
 Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
 Dim webSource
 Set webSource = CreateObject("WebReportSource.WebReportSource")
 webSource.ReportSource = webBroker
 webSource.URL = Location.Protocol + "//koch/reportes/I_CapacidadesClinicas.rpt"
 webSource.PromptOnRefresh = True
 CRViewer.ReportSource = webSource
 CRViewer.ViewReport
 End Sub
 </SCRIPT>
     </td>
    </tr>
   </tbody>
  </table>
Además cree dos objetos para visualizar el reporte en crystal de la siguiente manera:

Código:
<OBJECT ID="CRViewer1"
 CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
 WIDTH=45% HEIGHT=95%
 CODEBASE="/viewer/activeXViewer/activexviewer.cab#Version=2,2,4,28">
<PARAM NAME="EnableRefreshButton" VALUE=1>
<PARAM NAME="EnableGroupTree" VALUE=0>
<PARAM NAME="DisplayGroupTree" VALUE=0>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=0>
<PARAM NAME="EnableSearchControl" VALUE=0>
<PARAM NAME="EnableAnimationControl" VALUE=0>
<PARAM NAME="EnableZoomControl" VALUE=0>
</OBJECT>
 
<OBJECT ID="CRViewer"
 CLASSID="CLSID:C4847596-972C-11D0-9567-00A0C9273C2A"
 WIDTH=45% HEIGHT=95%
 CODEBASE="/viewer/activeXViewer/activexviewer.cab#Version=2,2,4,28">
<PARAM NAME="EnableRefreshButton" VALUE=1>
<PARAM NAME="EnableGroupTree" VALUE=0>
<PARAM NAME="DisplayGroupTree" VALUE=0>
<PARAM NAME="EnablePrintButton" VALUE=1>
<PARAM NAME="EnableExportButton" VALUE=1>
<PARAM NAME="EnableDrillDown" VALUE=0>
<PARAM NAME="EnableSearchControl" VALUE=0>
<PARAM NAME="EnableAnimationControl" VALUE=0>
<PARAM NAME="EnableZoomControl" VALUE=0>
</OBJECT>
Pero no se porque no me puede mostrar los dos reportes a la vez, me muestra siempre uno en blanco y el otro bien.

Gracias, gracias por tu apoyo y atenciòn a mi pregunta
Responder Con Cita