ciao a tutti!
perchè ottengo "errore di run-time necessario oggetto" alla riga "connection.Close" ?![]()
codice:Conn="PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath("../database.mdb") Set connection = Server.CreateObject("ADODB.Connection") connection.Open(Conn) SQL="SELECT * from tab" Set Recordset1=connection.execute(SQL) Recordset1.Close Set Recordset1 = Nothing connection.Close Set connection = Nothing