
problema en funcion
Publicado por eduardo (139 intervenciones) el 18/07/2007 16:45:00
HOLA:
TENGO ESTA FUNCION ,EN LA CUAL ESTOY TRATANDO DE OBTENER EL TOTAL DE PAGINAS DE UN REPORTE:
public totalp
set step on
set defa to e:\prueba //donde esta ubicado el reporte llamado prueba1
totalp=totalpag("prueba1")
wait wind totalp
function totalpag
parameter nreporte
*ACA HABIA PUESTO UN WAIT WIND PARA VER EL CONTENIDO DE NREPORTE
*Y ME TRAE EL NOMBRE CORRECTO (PRUEBA1)
public cpag
set defa to e:\prueba *PUSE ESTO DE VUELTA POR SI ESE ERA EL PROBLEMA
report form nreporte noconsole
cpag=_pageno
return cpag
EL PROBLEMA LO TENGO CUANDO LLEGA A LA LINEA DEL REPORT FORM
DONDE ME PONE QUE NO EXISTE EL ARCHIVO PRUEBA1
GRACIAS POR LA AYUDA
TENGO ESTA FUNCION ,EN LA CUAL ESTOY TRATANDO DE OBTENER EL TOTAL DE PAGINAS DE UN REPORTE:
public totalp
set step on
set defa to e:\prueba //donde esta ubicado el reporte llamado prueba1
totalp=totalpag("prueba1")
wait wind totalp
function totalpag
parameter nreporte
*ACA HABIA PUESTO UN WAIT WIND PARA VER EL CONTENIDO DE NREPORTE
*Y ME TRAE EL NOMBRE CORRECTO (PRUEBA1)
public cpag
set defa to e:\prueba *PUSE ESTO DE VUELTA POR SI ESE ERA EL PROBLEMA
report form nreporte noconsole
cpag=_pageno
return cpag
EL PROBLEMA LO TENGO CUANDO LLEGA A LA LINEA DEL REPORT FORM
DONDE ME PONE QUE NO EXISTE EL ARCHIVO PRUEBA1
GRACIAS POR LA AYUDA
Valora esta pregunta


0