generar controles en forma dinámica
Publicado por Rivelino (4 intervenciones) el 15/08/2005 18:48:55
Estoy utilizando el siguiente código y no me imprime la linea dentro de la banda que le estoy indicando.
SETTARGET(Report,?REF:Referencia:9)
GETPOSITION(?String2:41,x,y,ancho,alto) !Get LOC:IdProv position
!SETPOSITION(?Code4Entry,X+Width+40,Y)
message('String2:41 x: '&x&' y: '&y&' ancho:'&ancho&' alto: '&alto)
CREATE(200,CREATE:line,?REF:Referencia:9)
SETPOSITION(200,x,y,1200,0)
SETTARGET
PRINT(RPT:Transportistas)
Si le quito el SETTARGET entonces genera otra página en el reporte e imprime la línea, pero posteriormente manda un mensaje el mensaje Runtime Error: Window in not open. Do you want to GPF.
Alguien tiene idea de cómo enfrentar esta problemática?
SETTARGET(Report,?REF:Referencia:9)
GETPOSITION(?String2:41,x,y,ancho,alto) !Get LOC:IdProv position
!SETPOSITION(?Code4Entry,X+Width+40,Y)
message('String2:41 x: '&x&' y: '&y&' ancho:'&ancho&' alto: '&alto)
CREATE(200,CREATE:line,?REF:Referencia:9)
SETPOSITION(200,x,y,1200,0)
SETTARGET
PRINT(RPT:Transportistas)
Si le quito el SETTARGET entonces genera otra página en el reporte e imprime la línea, pero posteriormente manda un mensaje el mensaje Runtime Error: Window in not open. Do you want to GPF.
Alguien tiene idea de cómo enfrentar esta problemática?
Valora esta pregunta
0