I have some code and had it working, but I accidently deleted it, and now I can't get it back to work. Came someone perhaps check it?
<%
Dim cnnSimple
Dim rstSimple
Set cnnSimple = Server.CreateObject("ADODB.Connection"
cnnSimple.Open "Provider=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("Database\Storingsformulier.mdb"
& ";PWD=test;"
Set rstSimple = cnnSimple.Execute("SELECT * FROM basis"
%>
<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("id"
.Value %></td>
<td><%= rstSimple.Fields("text_field"
.Value %></td>
<td><%= rstSimple.Fields("integer_field"
.Value %></td>
<td><%= rstSimple.Fields("date_time_field"
.Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>
<%
rstSimple.Close
Set rstSimple = Nothing
cnnSimple.Close
Set cnnSimple = Nothing
%>
Thanks, greetings,
Roberti
<%
Dim cnnSimple
Dim rstSimple
Set cnnSimple = Server.CreateObject("ADODB.Connection"
cnnSimple.Open "Provider=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("Database\Storingsformulier.mdb"
Set rstSimple = cnnSimple.Execute("SELECT * FROM basis"
%>
<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("id"
<td><%= rstSimple.Fields("text_field"
<td><%= rstSimple.Fields("integer_field"
<td><%= rstSimple.Fields("date_time_field"
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>
<%
rstSimple.Close
Set rstSimple = Nothing
cnnSimple.Close
Set cnnSimple = Nothing
%>
Thanks, greetings,
Roberti