output to action

M

mark r

DoCmd.outptto acreport, "reportname", "MS-
DOS..txt..", "C:\filename", false, """", 1

the problem is that the first time I click on this
commandbutton I get the file generated on DOS just fine,
But the subsequent times do not seems to update or
overwrite the c:\filename. Yet if I do the process
manually, File Export etc etc, ACCESS prompts me "DO YOU
WANT TO OVERWRITE THE FILENAME?" and if I click yes, it
does so.
 

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