Access 2016 accde "DoCmd.OutputTo acOutputReport, , acFormatPDF..." crashes after 10 minutes

Anonymous
2016-01-24T09:19:56+00:00

Create PDF in accdb is no problem.

Create PDF in accde crashes after 10 minutes.

Command: DoCmd.OutputTo acOutputReport, , acFormatPDF, strOutputFile, False, , , acExportQualityPrint

At first the DoCmd.OutputTo method runs fine.

But if you do 10 minutes nothing (only opened) and then you try to run DoCmd.OutputTo again, access crashes without error.

It seems like a timer-problem, but there is no timer.

Only by acFormatPDF and only with accde. In a accdb-file all is fine.

It is not a problem of the PDF-Software. I checked several PDF-Software-Products. Additional: Parameter Autostart is false.

So the PDF-Software should do no matter.

It is not a Problem of anti-virus-Software. I checked it also without any anti-virus-Software.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

75 answers

Sort by: Most helpful
  1. Anonymous
    2017-06-01T12:51:15+00:00

    That's really kind - thank you :-)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2017-05-31T14:38:36+00:00

    Sure:

    1. Find the Office 2013 msaccess.exe executable (should be somewhere around C:\Program Files (x86)\Microsoft Office\Office15).
    2. Right-mouse-button-drag-and-drop it to the Desktop, choose "Create shortcuts here".
    3. Right-mouse-click the shortcut, choose "Properties".
    4. In the target field, add a space and the following text to the end (including the slash and the quotes, but replacing the path and file name with the real one):

    /runtime "C:\Path\to\your\access-database.accdr"

    1. Customize the remainder of the shortcut (caption, icon, etc.) to your liking.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-05-30T21:38:32+00:00

    Heinzi - can you help me with creating a shortcut forcing my accdr to be opened using access runtime 2013 please. Sorry!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2017-05-30T21:29:49+00:00

    Thanks, Heinzi - you've been really helpful :-)

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2017-05-12T09:42:15+00:00

    A question - if they have Access 2016 AND 2013 Runtime installed on the office machines, would the .accdr that I supply them with run in Access 2016, or 2013 Runtime?

    That depends on which Access version most recently registered itself as the system-wide accdr handler. Usually, this is the Access/Office version which was most recently installed or repaired. Unfortunately, is something that can change suddenly without your intervention (for example, when Windows Update installs a patch for a particular Office version).

    Thus, I would strongly recommend to create a shortcut to your application (on the Desktop, in the Start Menu or in the Task Bar, whatever your users prefer) which explicitly starts the Access version you want to use and supplies the path to your accdr file as a parameter.

    Best regards

    Heinzi

    Was this answer helpful?

    0 comments No comments