hi i have a basic website connected to MS Access Database and i want to display the search results, 100 records returned from a query split over 10 pages. can anyone give me the script to do this, i am using ASP JAVASCRIPT NOT VB. Source Code is listed below. Thanks Guys.
ASP Source code...
<%@ LANGUAGE="JAVASCRIPT" %>
<%
myconn=Server.CreateObject("ADODB.connection");
mydb = "Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\\mywebs\\test\\phones\\stock.mdb";
myconn.Open (mydb);
rs = Server.CreateObject("ADODB.Recordset");
sql = "SELECT * FROM Phones WHERE Model LIKE '%"+varPhoneModel+"%';";
rs=myconn.Execute(sql);
while (!rs.eof)
{
Make: <%=rs("Make")%>, Model: <%=rs("Model")%><BR>
rs.movenext();
}
}
rs.Close();
%>