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

To Invoke Print Dialog Box

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi
I am working on a Executable which has many menu driven MDI Child forms.One of the forms generates report. I have made a preview of the report but when i am trying to print the report the Print dialog box is not getting invoked so i am not able to give the number of pages to report. By default it prints all the pages. How can i invoke Print Dialog box from Report Preview screen.
Could somebody help me out in this
Thanks
Kirupa

 
Kirupa,
I don't believe you can, the best solution I've found is to PREVIEW with PROMPT set, and then put it in a loop. Then if they just PREVIEW without printing, I do the preview again so they can pick which pages to print.

Rick
 
Rick
i am not able to get what u r trying to say
Could u please explain the same
Thanks
Kirupa
 
try this:
report form "xxx.frx" to printer prompt preview noconsole

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top