Hello all. I am having a small, and probably simple problem. The first set of code is the original in which an image was used for a Print function, although I changed it to a button with the second line of code. When testing, the first set of code works fine, but when I change it to the button style, I am getting the following error:
Here is the code:
"Object doesn't support this property or method"
By the way, here is the function being called:
Any ideas would be greatly appreciated.
var sql = "<%=Server.URLEncode(sSQL)%>"
var URL = "../Rpts/inventory/InvCount.asp?sql=" + sql;
var newWin = window.open(URL,'ReportWnd','menubar=yes,toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes,width=780,height=580,top=0,left=0');