Error al crear el PDF para enivarlo por correo (SOLUCIONADO)

Error al crear el PDF para enivarlo por correo (SOLUCIONADO)

Postby Armando » Fri Jul 13, 2018 1:48 am

Hola Antonio:

Tu ayuda por favor

Estoy con FWH 1711, en la vista previa al dar clic sobre el botón para enviar
el reporte por correo me tira el error:

"No se ha guardado el PDF a enviar por Email"

Alguna idea por donde debo buscarle?

Saludos
Last edited by Armando on Mon Jul 16, 2018 10:08 pm, edited 4 times in total.
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error al enviar eMAIL

Postby karinha » Fri Jul 13, 2018 12:54 pm

Armando, creo que tengas que cambiar la ruta en: PRV2PDF.PRG si no me engaño. Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error al enviar eMAIL

Postby Armando » Fri Jul 13, 2018 1:39 pm

Karinha:

Gracias por la respuesta, lo curioso es que reportes creados con TReport van sin problema,
pero el reporte que he creado con EASYREPORT tira el error.

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error al enviar eMAIL

Postby karinha » Fri Jul 13, 2018 2:01 pm

Armando, mira se no hay un lChDir() que cambia la ruta. Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error al enviar eMAIL

Postby Armando » Fri Jul 13, 2018 4:09 pm

Karinha:

Nop, no hay ningun lChDir()

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error al crear el PDF para enivarlo por correo (ANTONIO)

Postby nageswaragunupudi » Sat Jul 14, 2018 5:54 pm

For me it is working correctly with both TReport and EasyReport.
I am using FWH built-in easy report runtime ( fwh 1805)
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error al crear el PDF para enivarlo por correo (ANTONIO)

Postby Armando » Sat Jul 14, 2018 10:19 pm

Mr. Rao:

Thanks for your time, this are my tools

Harbour 3.2.0dev (r1801051438)
FiveWin version: FWH 17.11
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)

Where can I look for the problem?.
RPreview.Prg does not exist anymore.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error al crear el PDF para enivarlo por correo (ANTONIO)

Postby nageswaragunupudi » Sat Jul 14, 2018 10:42 pm

RPreview.Prg does not exist anymore.

rpreview.prg very much exists in all versions in the folder \fwh\source\classes\.
You may need to study the sources of your easyreport programs and check compatibility with rpreview.prg.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error al crear el PDF para enivarlo por correo (SOLUCIONADO)

Postby Armando » Mon Jul 16, 2018 10:11 pm

Mr. Rao:

I find out the problem, I had the title as:

    EASYREPORT oVRD NAME (cFmto) PREVIEW (.T.) ;
    MODAL OF oWnd TITLE "Vale: " + ALLTRIM(STRZERO(oHdr:VAL,7,0)) COPIES 1

And the problem was here "Vale: ", with no : character there is no problem.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error al crear el PDF para enivarlo por correo (SOLUCIONADO)

Postby nageswaragunupudi » Tue Jul 17, 2018 1:06 am

Good
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests