Problem with report in Clarion5 after changing page size
Problem with report in Clarion5 after changing page size
(OP)
I am running Clarion 5 and after creating report procedure I've tried to set Page size as A4, after that detail section is not same width as other (footer, header...) and fields on screen look fine, but when I sent it on printer, it prints detail section from bottom to the top of the page and over header. I am NOT programmer so please, any help is welcome.
RE: Problem with report in Clarion5 after changing page size
this might help you - if not, you are welcome to contact me
report REPORT,AT(15,41,180,235),PAPER(PAPER:A4),PRE,(RPT),MM
!AT(x=LeftMargin,y=TopReport,w=ReportWidth,h=ReportHeight)
!TopReport=(TopMargin+HeaderHeight)
! 41=20+21
!ReportWidth=A4Width-(LeftMargin+RightMargin)
! 180=210-(15+15)
!ReportHeight=A4Height-(TopMargin+HeaderHeight)
! 235=276-(20+21)
HEADER,AT(15,20,180,21),USE(?Header)
!AT(x=LeftMargin,y=TopMargin,w=ReportWidth,h=HeaderHeight)
END
detail DETAIL,AT(,,180,7),USE(?detail)
END
FOOTER,AT(15,276,180,5),USE(?Footer)
END
END
Kind regards
Karlo
meistertools@gmx.net
RE: Problem with report in Clarion5 after changing page size