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

'OutputTo' won't allow file type selection 1

Status
Not open for further replies.

Beren1h

Technical User
Jul 19, 2001
104
0
0
US
I'm trying to have reports in Access 97 be exported as snapshots when a button is clicked. My code is:

DoCmd.OutputTo acOutputReport, "rpt_BackUp_FT", acFormatSNP, strDirAdd & "_FT.snp"

but the acFormatSNP option doesn't work. I have to take it out and select the file format manaually when it executes. If I insert a number it gives me an error about theose formats not being in the Windows Registry.

Does anyone know what is going on with this?

I'd really like to avoid that extra click!
 
The info I have is to use "Snapshot Format" (WITH the quotes) for this parameter. I use this and it works fine. Have fun! :eek:)

Alex Middleton
 
D'oh!

Thanks alot. It wasn't documented in the help files and that's all I'm working with (and Tek-Tips too...)


Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top