Link to home
Start Free TrialLog in
Avatar of Dukster131
Dukster131Flag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Idea is to give a name to the window at the 2nd parameter.
For me, I named it myWin.