Problemas con Report
Posted: Fri Jun 29, 2007 2:23 pm
quiero hacer un simple report para ver como funciona, pero me dá un error que es el siguiente:
------------------------------------------------------------------------
Error occurred at: 06/29/07, 11:20:05
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: PRINT_PROC
Stack Calls
===========
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: REPORT.PRG => TREPORT:ACTIVATE(0)
Called from: RelEstado.prg => RELESTADO(18)
------------------------------------------------------------------------
mi .prg es asi:
-----------------------------------------------------------------------
#include "fivewin.ch"
#include "report.ch"
Function RelEstado()
LOCAL oRpt
USE D:\Marizete\cadastros\banco\ESTADO
REPORT oRpt TITLE "Lista de departamentos" PREVIEW
COLUMN DATA ESTADO->UF ;
TITLE "UF"
COLUMN DATA ESTADO->DESCRICAO;
TITLE "DESCRICAO"
ENDREPORT
// oRpt:CellView()
ACTIVATE REPORT oRpt
RETURN NIL
ya hice otros .prg para usar Report, pero todos sin suceso
------------------------------------------------------------------------
Error occurred at: 06/29/07, 11:20:05
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: PRINT_PROC
Stack Calls
===========
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: REPORT.PRG => TREPORT:ACTIVATE(0)
Called from: RelEstado.prg => RELESTADO(18)
------------------------------------------------------------------------
mi .prg es asi:
-----------------------------------------------------------------------
#include "fivewin.ch"
#include "report.ch"
Function RelEstado()
LOCAL oRpt
USE D:\Marizete\cadastros\banco\ESTADO
REPORT oRpt TITLE "Lista de departamentos" PREVIEW
COLUMN DATA ESTADO->UF ;
TITLE "UF"
COLUMN DATA ESTADO->DESCRICAO;
TITLE "DESCRICAO"
ENDREPORT
// oRpt:CellView()
ACTIVATE REPORT oRpt
RETURN NIL
ya hice otros .prg para usar Report, pero todos sin suceso