OpenReport/OutputTo

  • Thread starter WebJunkey via AccessMonster.com
  • Start date
W

WebJunkey via AccessMonster.com

Hey again guys,

I have a simple form that lets a user type in an account number/year and get
a report when you click a button. The button just has some simple code that
does docmd.openreport and pushes the account number/year into the where
argument of openreport. Now i'm trying todo it in mass and just have
outputto send the pdf directly to a pdf file. The issue i'm having is that
OutputTo doesn't allow you to pass a 'where' clause to the function, like
openreport does. What's my alternatives to getting around this, pushing a
new recordsource sql command to the report before it calls output to? only
thing i can really think of. Any advice appreciated.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top