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

snapshot file auto save

Status
Not open for further replies.

franksirvent

Programmer
Mar 8, 2002
358
GB
Hi there

I would like to automatically save a report to snapshot format.
I have read on other messages that I cannot apply a filter with the docmd.outputto however I need to be able to do so.

Could anyone advise how to do this?
Someone mentioned to pre-filter however I am not to sure how to do this...

Any help is appreciated

DoCmd.OutputTo acOutputReport, stDocName, "Snapshot Format", "L:\KN2002\SNAPSHOTS\TESTING.SNP", False
 
i think what someone means is to put your criteria into the report record source (table or query that the report is based on)

i.e. put [Enter Name:] or reference a form where you have parameters (Forms!Main!txtName) (or whatever) in the criteria or the recordsource. then when the report opens, it's already ready to go.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top