Using or not using DEVICE clause does not make any difference. If you can make the sample using any DBFs in the fwh\samples folder, we can build your sample at our end and let you know where the problem is and how to fix it. This is the fastest way we can help you. You may try modifying the sample t...
Con esto el usuario puede mandar directamente el informe a la impresora sin hacer preview. Pero.... si utilizas esto e intentas exportar a Excel se produce el error que no existe el alias del informe , yo la verdad no entiendo que tiene que ver, supongo que algo habra pero simplemente quitando TO D...
Estimados amigos: al final he encontrado el problema que me daba error y es el uso de la variable oDevice. yo pregunto al usuario si quiero el destino pantalla / impresora y desde muy antiguo hago esto. local oDeviceoDevice := TPrinter():New( cCaption, .F., IF( nRdest == 1, .T., .F. ...
// \samples\JVT2.PRG// STATIC FUNCTION ListApuArti() // PORQUE STATIC, HAY OTRA CON MISMO NOMBRE?FUNCTION ListApuArti() LOCAL oDlg, oObra, oArt, oInicio, oFinal, oRdest, oRfil, oSayObra, oSayArt, oBtnCancel, oRepAa LOCAL cObra, cArt, dInicio, dFinal, nRdest, nR...
Hola Joao Muchisimas gracias por tu ayuda. Mira, esta es la funcion que lanza el informe que falla. En cuanto activas el bInit del informe (En el codigo esta desabilitado) STATIC FUNCTION ListApuArti() LOCAL oDlg, oObra, oArt, oInicio, oFinal, oRdest, oRfil, oSayObra, oSayArt, oB...
// \samples\jvt.prg// Simule el problema aqui, porfa:#Include "Fivewin.Ch"#Include "Report.Ch"MEMVAR DBSTATESFUNCTION Main() LOCAL oDlg, oLbx, cAlias USE STATES NEW SHARED GO TOP DBSTATES := ALIAS() &nb...
Mr rao His example works thanks. and in my program I have also tried to move it to a simple dialog and I call the summary report and it also works. What I still do not understand because in the program where I have filters, conditions etc, the normal thing does not work for me, I am frankly sad. Tha...
Please try this sample #include "fivewin.ch"#include "report.ch"function Main() local oRep, oFont, oBold, oCol USE STATES NEW SHARED GO TOP DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-12 REPORT oRep P...
Si hubieras hecho una DEMO como sugerí, ya tendríamos otros modos de lógica que harían lo mismo que quieres, de diferentes maneras. No tengas miedo a las críticas. Aprender es un arte ...
Como declaras Lista y los demás Alias? Porquê nos hace? LOCAL cAlias, cAlias2, cAlias3 cAlias := ALIAS() cAlias2 := ALIAS() cAlias3 := ALIAS() ...REPORT... ... ...ENDREPORT... CLOSE( cAlias ) C...
Hi Mr. Rao. Thanks for your reply But not works, My code. ACTIVATE REPORT oRepAa FOR ArtApua->Fecha <= dFinal WHILE ! ArtApua->( Eof() )ArtApua->( dbClosearea() )ListA->( dbClosearea() )ListO->( dbClosearea() ) ...