Question : vbscript window open

I am creating a Sub in vbscript to open a window on the change in a drop down menu.  I have everything working except it wants to open the window as a new window.  I don't want multiple windows.  How do I prevent this.  Below is the code that I am using

open "InspectionDichotomyInput.asp?rec_id=" & <%=request.QueryString("rec_id")%> & "&cat_num=0&catid=" & Cstr(strCatArray)

I know there is a way to make the target _self, but I haven't found anything about this yet.

Answer : vbscript window open

Hi Dukster131,

Try this

open "InspectionDichotomyInput.asp?rec_id=" & <%=request.QueryString("rec_id")%> & "&cat_num=0&catid=" & Cstr(strCatArray), "myWin"


Cheers!
hongjun
Random Solutions  
 
programming4us programming4us