Code setting Picture property was required back with Access 2003 before ControlSource property was added to the Image control.
I have never used the Picture property. I use ControlSource property to dynamically load images in Image control. It can reference an attachment type field that holds image files but embedding files can substantially increase db size, more quickly reaching 2GB Access file size limit. So, can also reference a text field that has full image path for external location, or partial path and use an expression to construct full path. No VBA code. No blinking.
="C:your folder path" & [listbox name]
Use any field to construct image filename:
="C:your folder path" & [EmployeeID] & ".jpg"
If the images are in a folder next to the db:
=CurrentProject.Path & "Images" & [listbox name]
If the images are in central server location, use UNC path:
="\servernamepathImages" & [listbox name]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…