Si Roby è di tipo testo, ho inserito il codice che mi hai proposto, ora visualizzo un altro tipo di errore:
Necessario oggetto: 'Select Studente.Nome'
/prova.asp, line 9
Il codice:
codice:
<%@Language=VBScript %> <% Option Explicit %> <% Dim objconndb, query, strconn, Studente, rstabella Set objconndb=Server.CreateObject("ADODB.Connection") strconn="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath ("tesina.mdb") objconndb.Open strconn query="Select Studente.Nome From Studente Where Studente.Matricola='1002';" objconndb.Execute(query) if not Query.EOF then Response.Write query("Nome") end if objconndb.Close: set objconndb=nothing %>
Grazie Mille per la risposta!!!