FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Extraño error con Tprinter
Posts: 195
Joined: Sat Oct 22, 2005 01:17 PM
Extraño error con Tprinter
Posted: Sat Jun 28, 2008 04:00 PM

Buenos días amigos del foro

Si extraño error en un reporte que estuvo funcionando bien y de pronto da un error que es el siguiente:

Stack Calls

Called from TPRINTER:CMTR2PIX(0)
Called from __EVAL(0)
Called from TPRINTER:CMSAY(0)
Called from REPCUENTAP(2278)
Called from (b)IMPCUENTAP(2235)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from IMPCUENTAP(2252)
Called from (b)MIC5MENU(278)
Called from TC5MENU:COMMAND(714)
Called from TWINDOW:COMMAND(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(0)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(0)
Called from MAIN(117)

Esta es parte del código

FUNCTION repcuentap(cbodaux,cfecini,cfecfin,ltodos)
local oRepf,oFont1,oFont2,oFont3,nrow,nrowstep,clrazon
local fila,regant
local cPic:= "@ze 9,999,999.99"
local totsaldos := 0.00

memvar mnomemp

PRINT oRepf NAME "Estado de Cuenta" PREVIEW
oRepf:SetPage(18)
oRepf:SetUp()
DEFINE FONT oFont1 NAME "Gill Sans MT Shadow" SIZE 0,-12 OF oRepf
DEFINE FONT Ofont2 NAME "MS Sans Serif" SIZE 0,-8 of oRepf
DEFINE FONT Ofont3 NAME "MS Sans Serif" SIZE 0,-14 of oRepf
fila := 1
PAGE
dbselectarea("tprovee")
ordSetfocus("iprovee")
dbseek(cbodaux)
clrazon := tprovee->tpnombre
oRepf:Cmsay(nrow,1,dtoc(date()),oFont2) ---------> linea del error
oRepf:Cmsay(nrow,8,mnomemp,oFont3)
oRepf:Cmsay(nrow,18,time(),oFont2)
nrow+=nrowstep
oRepf:Cmsay(nrow,8,"Estado de Cuenta",oFont1)
nrow+=nrowstep

la pongo en comentario y el mismo error me da en la siguiente

Por favor si alguien puede ayudarme

Gracias.

Saludos

Oscar

Fwh 23.10, bcc55

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Extraño error con Tprinter
Posted: Sun Jun 29, 2008 08:11 AM

Oscar,

Cual es la descripción del error ? No lo has puesto

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 195
Joined: Sat Oct 22, 2005 01:17 PM
Extraño error con Tprinter
Posted: Sun Jun 29, 2008 06:04 PM

Disculpe Antonio es este

Application

Path and name: C:\FWH\TELEMO~2\easysoft.exe (32 bits)
Size: 2,047,488 bytes
Time from start: 0 hours 0 mins 12 secs
Error occurred at: 2008/06/29, 13:02:04
Error description: Error BASE/1083 Argument error: *
Args:
[ 1] = U
[ 2] = N 10

Gracias

Saludos

Oscar

Fwh 23.10, bcc55

Posts: 195
Joined: Sat Oct 22, 2005 01:17 PM
Extraño error con Tprinter
Posted: Sun Jun 29, 2008 06:18 PM

Listo Antonio disculpe la perdida de tiempo

sin darme cuenta borre la inicializacion del la variable nrow

era eso :(

Gracias

Saludos

Oscar

Fwh 23.10, bcc55

Continue the discussion