Extraño error con Tprinter

Extraño error con Tprinter

Postby EASYSOFT » Sat Jun 28, 2008 4: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 10.4, bcc55
EASYSOFT
 
Posts: 189
Joined: Sat Oct 22, 2005 1:17 pm
Location: Quito - Ecuador

Postby Antonio Linares » Sun Jun 29, 2008 8:11 am

Oscar,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42160
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby EASYSOFT » Sun Jun 29, 2008 6: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 10.4, bcc55
EASYSOFT
 
Posts: 189
Joined: Sat Oct 22, 2005 1:17 pm
Location: Quito - Ecuador

Postby EASYSOFT » Sun Jun 29, 2008 6: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 10.4, bcc55
EASYSOFT
 
Posts: 189
Joined: Sat Oct 22, 2005 1:17 pm
Location: Quito - Ecuador


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 43 guests