var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Refresh images on access form
Small irritating problem I'm having in Access / VBA:
I have a form that has a small image control on it. The user can click a button next to the image to get a file selector dialog box.
After selecting an image, its path is stored in the associated table, via a hidden field on the form.
The image control is linked via code (it isn't bound) to the filepath in the table. The file that the image control points to is updated in the after update code of the hidden text box.
The problem is that the image only updates after I do a "next, previous" on the record navigation control.
How would I get the image to refresh immediately after the user selects a file in the dialog box?
The problem is not OS related. I've tried putting in DoEvents in various places and it makes no difference. I've also tried refreshing the form from the recordset, but still no joy.