Solved Image on page tab (1 Viewer)

Krayna

Member
Local time
Today, 17:51
Joined
Sep 24, 2020
Messages
514
I would like to display an image on the page tab in my form. However each time I select my chosen image, it does not appear on the tab. Any ideas how to get round this issue?
I actually had a similar issue a while back and posted here.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 09:51
Joined
Oct 29, 2018
Messages
17,122
What are the steps you're taking when you try? You said the image does not appear, what do you get instead?
 

Krayna

Member
Local time
Today, 17:51
Joined
Sep 24, 2020
Messages
514
Nothing appears at all.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
, 01:51
Joined
May 7, 2009
Messages
14,564
the name of the image is saved in MSysResources table.
you can use Name field to set the picture.

me.pageName.Picture = "theImageName"
 

Krayna

Member
Local time
Today, 17:51
Joined
Sep 24, 2020
Messages
514
Great so where do I find the MSysResources table?
EDIT: I accessed the system tables but that one didn't show up.

EDIT 2: I have located the table but it only shows those images which I have uploaded to the DB. I am trying to use a system icon. Where would I locate it?
 
Last edited:

theDBguy

I’m here to help
Staff member
Local time
Today, 09:51
Joined
Oct 29, 2018
Messages
17,122
Great so where do I find the MSysResources table?
EDIT: I accessed the system tables but that one didn't show up.

EDIT 2: I have located the table but it only shows those images which I have uploaded to the DB. I am trying to use a system icon. Where would I locate it?
The MSysResources table stores the images you add to the Image Gallery. Is that what you were trying to do? If not, please tell us the steps you were taking when you're trying to add an image to your database. If possible, maybe post some screenshots too.

If you just want to have your own icon, try going to File > Options > Current Database > Application Icon
 

Krayna

Member
Local time
Today, 17:51
Joined
Sep 24, 2020
Messages
514
I don't know if I made myself clear.
I am trying to add a system icon to the page tab in a form. I would like it to display dynamically depending on certain conditions so would like to know how I can locate it.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
, 01:51
Joined
May 7, 2009
Messages
14,564
sorry, the image will be saved to MSysResources when you load an external
image (as "shared" picture type).

if you use internal images, you can use this technique.
 

Attachments

  • imageOnPage.accdb
    400 KB · Views: 109

theDBguy

I’m here to help
Staff member
Local time
Today, 09:51
Joined
Oct 29, 2018
Messages
17,122
I don't know if I made myself clear.
I am trying to add a system icon to the page tab in a form. I would like it to display dynamically depending on certain conditions so would like to know how I can locate it.
To help make yourself a little clearer, at least in my humble opinion, you could provide the exact steps you were taking when you were trying to add a system icon to your tab page. Otherwise, since we cannot see what you're looking at, and we can't see what you're doing, we can't tell what it is you may be doing wrong. Even some screenshots might help make yourself clearer. What do you mean by "system icon?"
 

Krayna

Member
Local time
Today, 17:51
Joined
Sep 24, 2020
Messages
514
@arnelgp is the nearest to what I'm looking for so I've based my technique on his approach.
Thanks
 
Local time
Today, 17:51
Joined
Jul 25, 2020
Messages
55
sorry, the image will be saved to MSysResources when you load an external
image (as "shared" picture type).

if you use internal images, you can use this technique.
This is something I will definitely use; simple yet very effective & useful... Thanks for sharing...
 

Users who are viewing this thread

Top Bottom