... COLUMN TITLE "Código" DATA tab_Afp->Cod_Afp COLUMN TITLE "Descripción" DATA Tab_Afp->Nom_Afp END REPORT oRepFam:oDevice:lPrvModal := .T. ACTIVATE REPORT oRepFam AFont1:End() AFont2:End() AFont3:End() RETURN NIL
usas treport ? debes colocar esta linea de codigo, oReport:oDevice:lPrvModal := .T. ACTIVE REPORT ....... con tprinter: PRINT oPrn NAME "Impresion ..." PREVIEW oPrn:lPrvModal := .t. bueno es solo una sugerencia quizas se otro tu problema, saludos.. ...
... TO "BOLTICK" DEFINE FONT oFn1 NAME cFont SIZE 0,- 8 OF oPrnBol DEFINE FONT oFn2 NAME cFont SIZE 0,- 8 BOLD OF oPrnBol oPrnBol:lPrvModal:=.T. oPrnBol:SetPortrait() nRow:=1.0 CursorWait() PAGE oPrnBol:CmSay(nRow+=0.5, 3.7,cEmp,oFn2,,,,2) oPrnBol:CmSay(nRow+=0.5, 3.7,cDom,oFn1,,,,2) ...
... TO "BOLTICK" DEFINE FONT oFn1 NAME cFont SIZE 0,- 8 OF oPrnBol DEFINE FONT oFn2 NAME cFont SIZE 0,- 8 BOLD OF oPrnBol oPrnBol:lPrvModal:=.T. oPrnBol:SetPortrait() nRow:=1.0 CursorWait() PAGE oPrnBol:CmSay(nRow+=0.5, 3.7,cEmp,oFn2,,,,2) oPrnBol:CmSay(nRow+=0.5, 3.7,cDom,oFn1,,,,2) ...