OutputTo Method

A

Ayala

Hi,
I'm trying to Output a Report with a Snapshot Format.
It works fine, but I want to force the user to save the
file with a name saved in variable strFileName.
So I don't want to let the user give a name to the output
report. This name will be given by code.
Someone know how to do this?

Best wishes,
Ayala
 
S

Steve Schapel

Ayala,

DoCmd.OutputTo acOutputReport, "fred", acFormatSNP, strFileName

- Steve Schapel, Microsoft Access MVP
 

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