I have a field PATH the stores the path to the the picture displayed.
I also have a label that when clicked opens a browser dialog to select the picture, which returns the path value to the PATH field. This works fine, but causes me to go to the next record then back to my record to see the image change.
When the path is updated using the above method, the AfterUpdate event does not fire. When the path is modified by changing the text in the PATH field the event DOES fire. I tested this by puting a "Stop" command in the AfterUpdate event.
Am I missing something? I am trying to get the record to save on AfterUpdate and display the new image.
Cheers,
I also have a label that when clicked opens a browser dialog to select the picture, which returns the path value to the PATH field. This works fine, but causes me to go to the next record then back to my record to see the image change.
Code:
Private Sub Label328_Click()
Me![path] = GetOpenFile_CLT("C:\StraightEdge\Pictures", "Select client image")
End Sub
When the path is updated using the above method, the AfterUpdate event does not fire. When the path is modified by changing the text in the PATH field the event DOES fire. I tested this by puting a "Stop" command in the AfterUpdate event.
Am I missing something? I am trying to get the record to save on AfterUpdate and display the new image.
Cheers,