PDSAVEFULL not working correctly?
I have a MS Access application that takes a PDF "template" file, modifies it with data from the database and then saves then attaches it to an email. Each modified pdf overwrites the previous one, leaving the template untouched.
This all works OK at home, but when I try it on the target computer I encounter problems. What appears to be happening is that the generated PDF is not being saved correctly as each email contains the same attachment - the very first one created. The syntax I am using for the save is:
i = TheDoc.Save(PDSaveFull , pubPDFUpdatedLocation)
The differences between the environments are
Home:
Win10
Access2016
Acrobat9.5
Target:
Win7
Access2010
Acrobat 7 (yes, I know, but it is what is available).
Everything else in the application works OK in both environments. Also if I modify the app so that the generated PDFs are saved with unique names, it all works OK. So my questions are:
Are there differences between Acrobat 7 and later versions in this area?
Is what I am doing correct?
