我在 Microsoft Access 中有這個非常簡單的表:

而這種形式:

The image next to each record changes based on the "Glasses" field automatically, so when "Glasses" is true, there is an image of glasses, and when it is false, there is an image of a person.
I have two images in my Image gallery: glasses.jpg and noglasses.jpg

And my image source is set to:
=IIf([Glasses],"glasses.jpg","noglasses.jpg")
As you can see this is all working great. The problem starts when I'm fully exiting then reopening my project in Microsoft Access: All of the images just disappear.

I was wondering if there is any way to fix that.
I did find a way to make them appear again but it require an action every time I open the database:
- By going to the form design
- clicking "insert image" (for some reason all of the images are there)
- right-clicking an image (does not matter which image)
- Clicking "Update"
- 從檔案資源管理器中再次選擇影像
- 再次打開表格
uj5u.com熱心網友回復:
顯然,將影像型別設定為“共享”并將影像源更改為:
=IIf([Glasses],"glasses","noglasses")
解決了問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/455712.html
標籤:毫秒访问
