Thanks Ben but I guess that's not whats missing. It was something to do with the concatenation of strings.(by the way, what is the code to create a " inside a string?) The bottom line is that: myImageString = "<img src=images/house.gif>" works fine but this: myImageString = "<img src=images/" & "house" & ".gif>" and this: myImageString = "<img src=images/" & myRecSet(0) & ".gif>" doesn't. What's wrong with the concatenation??? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010506/8eee2ecf/attachment.htm>