Doug Steele
dbdoug at gmail.com
Tue Mar 29 11:31:21 CDT 2011
Thanks, Rocky. I'm generating these pdfs without operator intervention, so I guess it's going to be recordsource modification. Doug On Tue, Mar 29, 2011 at 8:41 AM, Rocky Smolin <rockysmolin at bchacc.com> wrote: > I'm using his code as well. And the Where string would be handy. But I > always put the filters in the report or modify the record source instead of > passing a filter as an argument. So I didn't have to solve this one. > > I'm still having the issue of the code not working when I try it from a > second form unless I generate one pdf from the first form - then the second > one works. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Tuesday, March 29, 2011 8:37 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] pdf output > > Hello All: > > I'm using the Lebans code to output pdfs directly from Access. For > flexibility, I'd like to use a Where string when the report is generated, > but Lebans uses Docmd.OutputTo acReport.... to get his snapshot file, and > there is no WhereString parameter. > > Is there an easy way of doing this, or am I going to have to rework the > recordsource for the report before I call the pdf output code? > > Thanks, > Doug > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >