thanks for that. It works fine when I use an example page from the server, saved as an html.document and put in the src="" attribute of the <iframe>. But when I did it for real, requesting data from the server and using the <iframe> as the target for the results, when I try to get the HTML I get an error message, saying Access Denied, even though I can right-click on it and select View Source to see the code.
Any ideas as to why I get the error message and how I can work around it ?
Thanks again for your help. I think I'm getting there slowly.