OK. I have a Marquee that I want to diplay news across the bottom of the page. What I want is 1 record at the time, depending on the date. If the date is past today, then display that record, if is in the past, forget about it. Now I got the records to show up, but they all show up at the same time. Is there a way to just show 1 record, than the next one behind it, etc etc. It will be like a sign between them like:
News1: This is your first record. News2: This is your second record. etc etc
Anyone can help me here PLEASE?
Here is the code.
<%
Set RS = Server.CreateObject("ADODB.Recordset"
SqlString = "SELECT Entry_ID, Entry_Date, Title, Text"
SqlString = SqlString & " FROM News"
SqlString = SqlString & " WHERE [Entry_Date] > Date()"
Set RS = objConn.Execute ( SqlString )
%>
<%
RS.movefirst
do while not RS.EOF
%>
<marquee bgcolor="#000000" border="0" align="middle" scrollamount="2" scrolldelay="90" behavior="scroll" width="100%" height="16" style="color: #FFFFFF; font-size: 14">
<a href=" </marquee>
<%
RS.movenext
loop
%>
Thank You for your help.
News1: This is your first record. News2: This is your second record. etc etc
Anyone can help me here PLEASE?
Here is the code.
<%
Set RS = Server.CreateObject("ADODB.Recordset"
SqlString = "SELECT Entry_ID, Entry_Date, Title, Text"
SqlString = SqlString & " FROM News"
SqlString = SqlString & " WHERE [Entry_Date] > Date()"
Set RS = objConn.Execute ( SqlString )
%>
<%
RS.movefirst
do while not RS.EOF
%>
<marquee bgcolor="#000000" border="0" align="middle" scrollamount="2" scrolldelay="90" behavior="scroll" width="100%" height="16" style="color: #FFFFFF; font-size: 14">
<a href=" </marquee>
<%
RS.movenext
loop
%>
Thank You for your help.