I currently have a form with several command buttons on it, but every time I insert an image into the button, Access automatically transforms the image's background to gray. I have several images with white background and would like to leave them thay way.
To combat the problem, I changed the form to include images with code attached to the On Click property. That works fine but with one problem: on some of the forms, these buttons are actually associated with a single record on a continuous-form displayed subform.
I have code in the On Current property of the form that needs to be executed (setting the filter of the main form's recordsource), but for some reason when the "button" with the image is clicked, Access doesn't execute the On Current code.
Any thoughts? My preferred fix is to use command buttons but with my chosen background color, but any other workaround would be okay.
To combat the problem, I changed the form to include images with code attached to the On Click property. That works fine but with one problem: on some of the forms, these buttons are actually associated with a single record on a continuous-form displayed subform.
I have code in the On Current property of the form that needs to be executed (setting the filter of the main form's recordsource), but for some reason when the "button" with the image is clicked, Access doesn't execute the On Current code.
Any thoughts? My preferred fix is to use command buttons but with my chosen background color, but any other workaround would be okay.