P
Pete M
I have several .pdf files that i want to print in a report. Each are
associated with a record, i want the one displayed on the report to vary
depending on each record.
I cannot embed the files in a table as OLE objects and display them in a
bound object control because the size of my project becomes way too large
(>600MB).
I have tried this using code, but the control never updates--i.e. the pdf
stays the same for each record in the report. Here is what i've tried:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Set ole1 = Me.OLEUnbound191
ole1.SourceDoc = CurrentProject.Path & "\Flowcharts\" & Me.[Process
Flowchart] 'Me.[Process Flowchart] is the name of the .pdf file
ole1.Requery
End Sub
What do i need to do?
Thanks in advance!
Pete M
associated with a record, i want the one displayed on the report to vary
depending on each record.
I cannot embed the files in a table as OLE objects and display them in a
bound object control because the size of my project becomes way too large
(>600MB).
I have tried this using code, but the control never updates--i.e. the pdf
stays the same for each record in the report. Here is what i've tried:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Set ole1 = Me.OLEUnbound191
ole1.SourceDoc = CurrentProject.Path & "\Flowcharts\" & Me.[Process
Flowchart] 'Me.[Process Flowchart] is the name of the .pdf file
ole1.Requery
End Sub
What do i need to do?
Thanks in advance!
Pete M