For whatever reason, despite all of the years I’ve used A5, I never used jpegs on a form [not an individual file] and I was surprised by what happened when I finally tried it earlier this week. I was also surprised by something else that happened when I utilized a work around.
I placed two .jpg files [photos], that were stored in a completely different folder on my hard drive, on a form. I saved the form, opened it, and everything was perfect. I closed the database, opened it, and I could still see both photos correctly displayed on the form so I thought I was finished.
However, after I exited from Alpha Five, started A5 back up, and then opened my form, I received two messages stating A5 cannot find the bitmaps. I tried this in three different databases with different jpeg files and the results were identical.
Why did placing a link to the photo files on my hard drive work initially? A5 had no trouble finding the files and displaying them on the form, even after I closed the application. What effect did exiting from A5, as opposed to just closing the application, have on A5's inability to subsequently find those same jpegs?
Work Around
------------
I imported the image files into the Code Tab of the database. I then edited the form, placing the jpeg files on the form, but this time they came from the library instead of an external folder on my hard drive. That worked even after I exited from A5. However, I noticed that it took an unusually long time to save each form when I used jpeg files stored in the database library.
I’m sure there’s a logical explanation for all of the above, but I’m baffled.
I placed two .jpg files [photos], that were stored in a completely different folder on my hard drive, on a form. I saved the form, opened it, and everything was perfect. I closed the database, opened it, and I could still see both photos correctly displayed on the form so I thought I was finished.
However, after I exited from Alpha Five, started A5 back up, and then opened my form, I received two messages stating A5 cannot find the bitmaps. I tried this in three different databases with different jpeg files and the results were identical.
Why did placing a link to the photo files on my hard drive work initially? A5 had no trouble finding the files and displaying them on the form, even after I closed the application. What effect did exiting from A5, as opposed to just closing the application, have on A5's inability to subsequently find those same jpegs?
Work Around
------------
I imported the image files into the Code Tab of the database. I then edited the form, placing the jpeg files on the form, but this time they came from the library instead of an external folder on my hard drive. That worked even after I exited from A5. However, I noticed that it took an unusually long time to save each form when I used jpeg files stored in the database library.
I’m sure there’s a logical explanation for all of the above, but I’m baffled.
Comment