I know I have done this before and I've looked all over but can't remember how (the price of senior moments!)
This is Access97. I have a macro to quit a form (actually one to quit and another to exit access). When the user clicks on the button (one to quit and another to exit) to execute the macros, 2 reports are output to a specific RTF file. That works the 1st time, but the second and subsequent times the user is prompted for a YES or NO to replace existing file.
How can I have the file saved without a prompt (ie, just overwrite the existing file??) I thought it was done on the "Output File" line of macro (eg, "h:\access\data\myfile.rtf" with a yes or Y following that)
???
Thanks
This is Access97. I have a macro to quit a form (actually one to quit and another to exit access). When the user clicks on the button (one to quit and another to exit) to execute the macros, 2 reports are output to a specific RTF file. That works the 1st time, but the second and subsequent times the user is prompted for a YES or NO to replace existing file.
How can I have the file saved without a prompt (ie, just overwrite the existing file??) I thought it was done on the "Output File" line of macro (eg, "h:\access\data\myfile.rtf" with a yes or Y following that)
???
Thanks