does not work, result = path name
instead of image. other people has
same result. so what do we wrong?
I don't understand what you mean by "result = path name instead of image".
If you mean on the Form, my first guess would be that you used a TextBox
instead of an Image Control, but surely not... the TextBox would have caused
other problems.
Rather than try to debug code put together from instructions that include
several separate pieces and may have been modified along the way, let me
suggest you take a look at the sample databases at
http://accdevel.tripod.com -- they illustrate three approaches to handling
images in Access.
They use Forms to demonstrate -- but in a Report, put the code that would be
in a Form's OnCurrent event into the OnPrint event of the Detail Section of
the Report. If your images are not bitmap, you may want to convert them to
bitmap before using them in a Report if you have very many (because there's
an issue with using up memory) -- you may find a simple method for
conversion to bitmap at MVP Stephen Lebans' site,
http://www.lebans.com.
Good luck with your project.
Larry Linson
Microsoft Access MVP