What is wrong with this question because it did not work?

if (typeof ActiveXObject !== "undefined") {
var adoconn = New ActiveXobject("ADODB.Connection");
 var adors = New ActiveXObject("ADODB.Recordset");
 adoconn.open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source ='/\book.mdb'");
 adors.open("beginner",adoconn,1,3);
 var str = adors.fields("questions").value;
window.alert(str);
}

What question? What’s happening? Do you have an error message? Do you have some sort of a description of what task you are attempting to complete?

hi JeremyLT, I mean what is wrong with this code? no error message when I execute this code in the browser but id did not work. please help

What does “it did not work” mean? What happened? What was supposed to happen?

This seems like it isn’t all of your code?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.