disable prompt to save in print preview?

  • Thread starter Thread starter LindaG
  • Start date Start date
L

LindaG

Guest
I have a report that gets modified in design view (the only way I can figure out how to access the report width) conditionally. The problem is that I don't want the user to be able to save this report when it is in print preview. If the close button (the one for the print preview window next to the maximize/minimize buttons) is clicked, Access prompts the user to save. If I use docmd.setwarnings to false, Access will opt to save as that is the default. Is there any way to disable this prompt and not have the report save? My only other option is to create two nearly duplicate reports, which I really don't want to do as I don't want to maintain two reports. Any suggestions are welcome.
 
Try to set it in the close command. I do not now the exact syntaxs off the top of my head and I am not near access. If you cannot figure itout from this reply to this message and Ill send you the syntacs
 
raisbecp, if you could send me the correct syntax to do this I would be extremely greatful!! I need to do this but can't figure out how.
 

Users who are viewing this thread

Back
Top Bottom