![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Does anyone know how to display external files (i.e. jpg files) in reports? I have stored the file location in a table and am looking for a control to display it in a report. I can display the photo in a form but the same control does not work in the report. I have based my tables and control off of Larry Linson, Imaging in Access example database. (Awesome resource!) Please help. Thanks. Kevin |
#3
| |||
| |||
|
|
Hi, Does anyone know how to display external files (i.e. jpg files) in reports? I have stored the file location in a table and am looking for a control to display it in a report. I can display the photo in a form but the same control does not work in the report. I have based my tables and control off of Larry Linson, Imaging in Access example database. (Awesome resource!) Please help. Thanks. Kevin |
#4
| |||
| |||
|
|
How do you do it on the form? The way I do it on my forms is a form_current event. me.imgname.picture = me.txtPicturePath for my reports i write the same code just i put it in the Detail_Format event. let me know if this helped. Chaim B. kzingler2 (AT) marcct (DOT) org (Kevin) wrote in message news:<6b8efbe0.0411241131.1d4fa841 (AT) posting (DOT) google.com>... Hi, Does anyone know how to display external files (i.e. jpg files) in reports? I have stored the file location in a table and am looking for a control to display it in a report. I can display the photo in a form but the same control does not work in the report. I have based my tables and control off of Larry Linson, Imaging in Access example database. (Awesome resource!) Please help. Thanks. Kevin |
#5
| |||
| |||
|
|
Image controls work for me in reports. I load the path and filename into the Picture property in the Print event. In reports, to avoid memory leakage, you should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm. PrintFailure.zip is an Access97 MDB containing a report that fails during the Access formatting process prior to being spooled to the Printer Driver. This MDB also contains code showing how to convert the contents of the Image control to a Bitmap file prior to printing. This helps alleviate the "Out of Memory" error that can popup when printing image intensive reports. Larry Linson Microsoft Access MVP "Kevin" <kzingler2 (AT) marcct (DOT) org> wrote in message news:6b8efbe0.0411241131.1d4fa841 (AT) posting (DOT) google.com... Hi, Does anyone know how to display external files (i.e. jpg files) in reports? I have stored the file location in a table and am looking for a control to display it in a report. I can display the photo in a form but the same control does not work in the report. I have based my tables and control off of Larry Linson, Imaging in Access example database. (Awesome resource!) Please help. Thanks. Kevin |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
I have put this code into the open event of the report: Me![imgTheImage].Picture = Me![txtImagePathAndFile] When I run the report I get an error message - runtime error 13 - Type mismatch. |
![]() |
| Thread Tools | |
| Display Modes | |
| |