codice:
<%
'apro la connessione con il db
set myConn = server.CreateObject("ADODB.Connection")
dim strConnDb
strConnDb = ""
strConnDb = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " & server.mappath("/mdb-database/Clienti.mdb")
myConn.Open(strConnDb)
mySqlSelect = "select * from tabella order by id"
set myRSComS = server.CreateObject("ADODB.Recordset")
myRSComS.Open mySqlSelect, myConn
%>
<div class="testibarra">
<%
if not(myRSComS.EOF) and not(myRSComS.BOF) then
do while not(myRSComS.EOF) %>
<table width="450" cellpadding="0" cellspacing="0" style="margin-bottom: 5px;" border="1" bordercolor="#FFFFFF">
<tr>
<td width="20" align="left" style="padding-left:5px"><%response.write(myRSComS("Id"))%></td>
<td width="430" align="left" style="padding-left:5px">Data e Ora:<%response.write(myRSComS("Data"))%><%response.write(myRSComS("ora"))%>
IP Locale:<%response.write(myRSComS("iplocale"))%>
IP Remoto:<%response.write(myRSComS("ipremoto"))%>
Download File Pdf:<%response.write(myRSComS("download"))%></td>
</tr>
</table>
<% myRSComS.MoveNext
loop
else
%>
<div class="elencomessaggi">Al Momento non ci sono <%=Titoletto%></div>
<%end if
myRSComS.Close
set myRSComS=nothing
myConn.Close
set myConn=nothing%>
</div>
non sono stato lì a modificare il codice secondo le tue esigenze ma questo funziona ed è un codice valido per l'accesso e la lettura dei record da un db access