PDA

View Full Version : Printing selected pages in acess



Urvi
10-29-2007, 07:51 AM
hi everyone,

I need some code to print selected pages from a big report. when I use the docmd option to preview or print a report can i specify the pages to print after previewing it or even otherwise.

thanks for all your help

OTWarrior
10-29-2007, 08:40 AM
.PrintOut(,,,, From, To,,, Pages)

Does that help?

Urvi
10-29-2007, 09:31 AM
i am using
docmd.openreport to preview/ print report ... can i pass some parameters in that ???

OTWarrior
10-29-2007, 09:36 AM
docmd.openreport(reportname).PrintOut(,,,, 1, 5)

Does this do anything for you?

Urvi
10-29-2007, 10:30 AM
thanks will try that ... andlet u know