Dynamic report printing

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

I have a report that is based on a query. The report is sorted on the field
"Type". I'd like for the user to be able to print only seleted sections of
the report based on which "Type" sections they need to print. I was thinking
of a form where they could select which types to print. However, the user can
add new types, so I'm I can't put it together how to create the form for
printing. Any suggestions?
 
Excellent - thanks!

Just one problem I'm having to get it to work. Probably should have
mentioned I'm running Access 2000.

When I execute the code I get a compile error: Named argument not found and
it highlights the OpenArgs: argument in the last line of the code. Maybe I
missed something I was supposed to modify in your code?
--
Thanks,

Jason


Allen Browne said:
If they only need to select one "type", you can put a combo on the form,
with a command button to OpenReport. It would be like this:
http://allenbrowne.com/casu-15.html

If you want them to be able to select multiple types to print, see:
Use a multi-select list box to filter a report
at:
http://allenbrowne.com/ser-50.html
 
Yes - I missed note 4 - got it now! Thanks!
--
Thanks,

Jason


Jason said:
Excellent - thanks!

Just one problem I'm having to get it to work. Probably should have
mentioned I'm running Access 2000.

When I execute the code I get a compile error: Named argument not found and
it highlights the OpenArgs: argument in the last line of the code. Maybe I
missed something I was supposed to modify in your code?
 
Back
Top