: Hello everyone!
: What I need is to open a popup window, run certain actions there and then close the popup, passing the control back to the popup calling window along with the information user entered in the popup. While opening the popup itself and running certain pages there is pretty straightforward, I have no idea how to accomplish the rest. It may be possible to transfer information between windows with the help of session, but I am not sure if both popup and calling window will belong to same one session. And I definitely do not know how to switch back to the calling window when popup has finished its work.
: Any help greatly appreciated.
Below is the script from a pop-up that I use. This code is the whole pop-up page. Once this window closes, the 'parent' window should still be on 'top'. Rather simple, but (as a beginner) something I have used successfully in several of my pages.
If an error is encountered, this page stays open with the error displayed, so you will need to use error handling to ignore the error (i.e. OnError ResumeNext).
<!--executes update sql statement passed to it -->
Set RSstatus = Conn.Execute(sql_update)