I`m trying to use LINKED OLE object in a
report that displays and employee picture,
name and department.
The picture files are stored on the server
as \\server\img\emp001.jpg. Where the
employee number, name and department can be
obtained from the employee table in a SQL
server db.
First problem: I cannot get the jpg picture
to be viewed in preview or when printed, all
I get is graphic representing a jpg icon.
I can however INSERT a jpg PICTURE and get
the picture viewed.
2nd problem: How do I change the picture
being displayed on the report based on
constructing a path to the image file.
i.e., path = "\\server\img\emp"+{EmpNo}
+".jpg". How do I modify the path property
of EITHER the OLE object or PICTURE object.
I would prefer to use a linked OLE object
due to rpt size considerations.
Thanks
ps. I have to use jpg files in the report
and I need the picture to change with each
record being printed.
report that displays and employee picture,
name and department.
The picture files are stored on the server
as \\server\img\emp001.jpg. Where the
employee number, name and department can be
obtained from the employee table in a SQL
server db.
First problem: I cannot get the jpg picture
to be viewed in preview or when printed, all
I get is graphic representing a jpg icon.
I can however INSERT a jpg PICTURE and get
the picture viewed.
2nd problem: How do I change the picture
being displayed on the report based on
constructing a path to the image file.
i.e., path = "\\server\img\emp"+{EmpNo}
+".jpg". How do I modify the path property
of EITHER the OLE object or PICTURE object.
I would prefer to use a linked OLE object
due to rpt size considerations.
Thanks
ps. I have to use jpg files in the report
and I need the picture to change with each
record being printed.