C
Christian
Hello,
I have a report that shows data of an employer. There
should also be a picture of each employer on the report. I
don't save the picture as an OLE-Object in the database, I
only save to path and the filename of the employer-
picturefile in each employer-record.
In the Detail_Format event of the report I use the code:
Me.imgFoto.Picture = Nz(Me.txtFotoLink, "")
(imgFoto is the name of the picturebox and txtFotoLink is
the field which contains the path+filename).
This works fine when I use the report on one employer at a
time, but when I want to view the report on all employers,
the pictures get mixed up. The wrong picture is shown for
each employer and employers without a picture show the
picture of the previous employer.
Does anyone how to fix this?
Greetings,
Christian.
I have a report that shows data of an employer. There
should also be a picture of each employer on the report. I
don't save the picture as an OLE-Object in the database, I
only save to path and the filename of the employer-
picturefile in each employer-record.
In the Detail_Format event of the report I use the code:
Me.imgFoto.Picture = Nz(Me.txtFotoLink, "")
(imgFoto is the name of the picturebox and txtFotoLink is
the field which contains the path+filename).
This works fine when I use the report on one employer at a
time, but when I want to view the report on all employers,
the pictures get mixed up. The wrong picture is shown for
each employer and employers without a picture show the
picture of the previous employer.
Does anyone how to fix this?
Greetings,
Christian.