Hello.
I have a JavaScript in a HTML page with two COM objects (ActiveX controls) - ADODB.Connection and WScript.Network.
One to get the hostname of the machine and one to make database actions.
If I open the browser to run this page and the script inside a message box comes up - "One...
Hello.
I need to get the number of rows from a recordset. I use the "RecordCount" property of the Recordset object, but the number is -1 even though in MS Query Analyzer the number of records is 1.
Here my JavaScript code:
var con = new ActiveXObject("ADODB.Connection")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.