>>Can I remove all object without knowing the object name? Like removeall images :)
>
>There has to be a better way to accomplish this. Can't you simply change the Picture property of the existing image control to change the picture that is displayed? Perhaps the best way to tackle this for you is for you to explain a little bit about what you are doing with this form. Then we would be better able to suggest ways of getting the job done.
Also, it would be simpler to just make image objects invisible if there's no image for them, or have a default blank image when the proper image is absent.
I had one form with six image objects, and there could be anywhere between zero and hundred images for each record - out of which I'd show the top six. The code assigned images to image objects where available, and hid the rest of the objects.