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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a particular page in Report

Status
Not open for further replies.

manish151175

Programmer
Nov 1, 2001
4
ID
Hi Friends,

I am using report designer and wld like to print only certain pages of my report. What setting has to be done
so that the end user can select the page which has to be printed.

Some of my reports are big and if there is a problem on any page the whole report has to be printed again. I wld like to know a solution by which only a particular page of the report can be printed...

Regds
Manish
 
Hi Manish,
U ca try to use "Range" parameter from report form
Hope this help U.
 
HI
I have not tried this... but this can work...

1. ON KEY LABEL F10 DO getMyRange
2. NOw REPORT FORM myRptForm TO PRINT PREVIEW..... etc..
** note the preview

PROCEDURE getMyRange
1. ACEPT THE PAGENUMBERS FROM AND PAGENUMBER TO
2. _PBPAGE = starting Page Number
_PEPAGE = ending PageNumber
DO REPORT myReportForm TO PRINT PRINTER NOCONSOLE ;
WHILE BETWEEN(_PAGENO_PBPAGE,_PEPAGE)
RETURN

The idea is that... the sustem variables.. _PBPAGE, PEPAGE and _PAGENO are populated in the ON KEY PROCEDURAL call.

Hope the idea works for you :)


ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top