Hi, I am building a small application using data access pages. I am trying to open a second window from my main form and access the document object with the following code: set newWin = window.open"http://localhost/fsi/dap/dapDetail.htm newWin.document.all("txtCurKey").value = val The second form opens but I get an Access Denied -2147024891 error when I try to access the document object. The code worked at one point then something happened. I am using IIS on an XP machine with SP2 and IE6. Both forms reside in the same folder in the same domain. I have spent the best part of three days searching for a fix and would appreciate any help. Thanks, Stigand