Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with report in Clarion5 after changing page size

Status
Not open for further replies.

Zelja

Technical User
Aug 13, 2002
1
HR
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.
 
Hi Zelja,
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
 
Go into the report formatter and click on View. Chose Page Layout View and see if the different parts of the report are not overlapping.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top