Hello All,
I am having the most frustrating experience. Arg.
I have created a report that uses for its data source a table that has a hyperlink column. This column will contain the path of a file like "C:\Scott\Assets.pdf".
The report has an unbound object frame that I'd like update (and print) whenever I read a new row from my table.
My problem is no matter what I do the contents of the frame never change. It just keeps printing the first pdf from the first row of my table.
My code in the Detail_Print event looks like this currently:
With AttachmentFrame
.Class = "AcroExch.Document.8"
.OLETypeAllowed = acOLELinked
.SourceDoc = HyperlinkFileLocation
End With
I have also tried setting up the object frame to use a file called 'DummyPDF.pdf'. Then in the code, taking the actual file contained in the hyperlink, overlaying it atop 'DummyPDF.pdf' and it still doesn't work. It always just prints the first pdf it encounters.
The other odd thing is that the database is much larger that it should be - like maybe it's embedding my pdf's or something.
Any help?
Thanks in advance.