I am using the following code to open up a new window within my data access page:
However I am using this method because I want to be able to set the window.open properties such as height,width,scrollbars etc.
I assumed I would just have to use something like the following:
But I get a type mismatch error on char 1 of the above code. Any ideas?
Code:
Dim vServerfilter
Dim vLocation
vLocation = "CorrectiveAction.htm?serverfilter="
vServerfilter = chr(34) & "CorrectiveID=" & MSODSC.CurrentSection.HTMLContainer.children("NCC_ID").value & chr(34)
vLocation = vLocation & vServerfilter
window.open(vLocation)
However I am using this method because I want to be able to set the window.open properties such as height,width,scrollbars etc.
I assumed I would just have to use something like the following:
Code:
window.open vLocation,, "height=380,width=585,status=yes,toolbar=no,menubar=no,location=no"
But I get a type mismatch error on char 1 of the above code. Any ideas?