Hmm...what is wrong with this...
adoInfo.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
App.Path & "\testpassw.mdb;Persist Security Info=False"
adoInfo.RecordSource = "SELECT * FROM NumOfUsers"
NumOfUsers = adoInfo.Recordset("NumOfUsers"
They said <Object variable or With variable not set>
I can't get the NumOfUsers to get the value from the DB. Where did i go wrong..?
Thanks
adoInfo.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
App.Path & "\testpassw.mdb;Persist Security Info=False"
adoInfo.RecordSource = "SELECT * FROM NumOfUsers"
NumOfUsers = adoInfo.Recordset("NumOfUsers"
They said <Object variable or With variable not set>
I can't get the NumOfUsers to get the value from the DB. Where did i go wrong..?
Thanks