I have a user form where the user can upload his profile pic. This part works fine, since the upload button is directly connected to the DataSet and the image uploads to the Collection.
Problems arise when the user returns to his profile page. I have an Image object which is directly connected to the corresponding field in the DataSet and it shows the user's image. At this point, the user clicks on the CHANGE PROFILE PIC button to select a new image.
I have two questions:
1) How do I immediately update the picture in the Image object so that it immediately shows the new profile picture?
2) What image info do I programmatically pass to the DataSet once the user presses the SAVE DATA button?