If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
pdf thumbnail in access report
I need help getting a .pdf file to show in a report.
I've used the following code for .jpg files, but have no idea what control or how to preview .pdf files. Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Dim sFileName As String sFileName = Me.ImageTxt See if this photo exists Returns a zero length string if file does not exist sFileName = Dir(sFileName) If Len(sFileName & vbNullString) = 0 Then Load "Not Available" Photo Me.loglinkview.Picture = "F:\NotAvailable.BMP" Else Load the matching Photo for this StudentID Me.loglinkview.Picture = Me.ImageTxt End If End Sub -- Yuli O Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...ports/201005/1 |
Thread Tools | |
Display Modes | |
|
|