Displaying Next 100 Records daily

cybele

New member
Local time
Today, 13:30
Joined
Oct 1, 2012
Messages
1
Hi everyone i hope some one can help me, im new to this forum so if i make mistakes im sorry,
Ok i have a 2003 access database with over 3000 cars in , what i wish to do is to display the next 100 records on a daily basis that just keeps revolving, at the moment i am using the select command to show the latest records added, heres the code,any suggestions would be of a great help
<%

Dim rsLac
Set rsLac = qpConn.Execute( _
"SELECT TOP 100 " & _
"a.VehicleInStockInfoID, a.YearDesc, a.MakeDesc, a.ModelDesc, a.BodyStyleDesc, a.GearboxDesc, a.FuelDesc, a.TrimDesc, " & _
"b.Image1 " & _
"FROM tbl_Vehicle_InStock_Info a " & _
"LEFT OUTER JOIN tbl_Vehicle_InStock_Info_Images b ON b.VehicleInStockInfoID = a.VehicleInStockInfoID " & _
"ORDER BY a.VehicleInStockInfoID ASC;" _
)

i = 0

%>
 
Welcome to the Forum,

Do you have a date field which you can also use?
 

Users who are viewing this thread

Back
Top Bottom