COLUMN TITLE "Oprcn" DATA "" SIZE 5 RIGHT
COLUMN TITLE "Tipo" DATA "" SIZE 4 LEFT
ACTIVATE REPORT oReport;
ON CHANGE DrawDet(oReport)
STATIC PROCEDURE DrawDet(oReport)
oReport:SAY( 1,(cHdrOpe)->HDR_OPE,,RPT_RIGHT)
IF ! EMPTY((cHdrOpe)->HDR_CLI)
oReport:SAY( 2,LEFT((cCliente)->CLI_NOM,45),,RPT_LEFT)
ELSE
oReport:SAY( 2,"VENTAS MOSTRADOR",,RPT_LEFT)
ENDIF
RETURN(.T.)
column title "PaidDate","InvDate" data oCash:dtepaid,oCash:invdte
function test ()
local nrgNr := tagdbf->rgnr
local oReport,oFont1,oFont2,oFont3,oPen1,oline, cTITLE:="Kopie Kassaquittung "+str(nRgNr)
*--------------------------------------------
DEFINE PEN oPen1 WIDTH 0.5
DEFINE FONT oFont1 NAME "ARIAL" SIZE 0,-10
DEFINE FONT oFont3 NAME "ARIAL" SIZE 0,-16 BOLD
DEFINE FONT oFont2 NAME "ARIAL" SIZE 0,-10 BOLD
select tagdbf
go top
REPORT oReport TITLE " ",cTITLE," " LEFT ;
FONT oFont1,;
oFont2,;
oFont3 ;
PEN oPen1;
HEADER Setup():LizenzNehmer()," ", ALLTRIM("Erstellt: " + dtoc(date())+ " - "+time()) RIGHT;
FOOTER "Seite " + Str(oReport:nPage,3) RIGHT PREVIEW
COLUMN TITLE "DATUM" DATA tagdbf->datum SIZE 9
COLUMN TITLE "Bondatum" DATA tagdbf->bondatum SIZE 9
COLUMN TITLE "Zeit" DATA tagdbf->zeit SIZE 5
COLUMN TITLE "Bezeichnung" DATA tagdbf->Bezeichnun SIZE 20
COLUMN TITLE "Menge" DATA tagdbf->Menge SIZE 6 PICTURE "99,999.99"
COLUMN TITLE "Wert" DATA tagdbf->Wert TOTAL SIZE 8 PICTURE "99,999,999.99"
COLUMN TITLE "Name" , "Header2", "Header3" DATA (tagdbf->PLANNAME)+" "+tagdbf->gastnr,;
"TestText:",;
(left(tagdbf->standard,50)),;
(left(tagdbf->preis,50)),;
(left(tagdbf->leistung,50)) SIZE 35
END REPORT
oReport:CellView()
oLine:= oReport:oTitle
oLine:aFont[2] := {|| 3}
ACTIVATE REPORT oReport FOR nrgNr = tagdbf->rgnr
oPen1:End()
oFont1:End()
oFont2:End()
oFont3:End()
msginfo("Kopie Kassaquittung")
return nil
COLUMN TITLE "Name" , "Header2", "Header3" DATA (tagdbf->PLANNAME)+" "+tagdbf->gastnr,;
"TestText:",;
(left(tagdbf->standard,50)),;
(left(tagdbf->preis,50)),;
(left(tagdbf->leistung,50)) SIZE 35
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 95 guests