Access report including pictures

G

Gerhard Palme

Hello,

I have a well running Access 2003 database including a report of articles
with picture per article.
This is the code for this:

Private Sub Detailbereich_Format(Cancel As Integer, FormatCount As Integer)

'On Error Resume Next
If Not (IsNull(Me!FotoPfad)) Then
Me!Bild22.Picture = Application.CurrentProject.path & "\img\" &
Me!FotoPfad
Else
Me!Bild22.Picture = Application.CurrentProject.path & "\img\" &
"Bild_Empty.jpg"
End If

End Sub

Since I have transfered this code into another application made with Access
2007 the pictures does not appear anymore.
Do anybody know what can the reason be ?

A feedback would be fine.

Gerhard
Salzburg - Austria
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top