Varför funkar inte detta??? Har du testa med:Datum gämförelse
    
    
<code>
		Datum="2003-10-09 17:55:59"
	
		if Datum < rs("Datum") then
			color="#FFF4E4"
		else
			color="#FFFFFF"
		end if
</code>
Medans detta gör det
<code>
		if "2003-10-09 17:55:59" < rs("Datum") then
			color="#FFF4E4"
		else
			color="#FFFFFF"
		end if
</code>
PS
Vill att backgrunds förgen skall ändras då nya medelanden fins
DS
MVH ViktorSv: Datum gämförelse
    
    
<code>
     Datum = CDate("2003-10-09 17:55:59")
     If Datum < rs("Datum") Then 
          Color="#FFF4E4" 
     Else 
          Color="#FFFFFF" 
     End If 
</code>
Vilkan datatyp har din DAtum kolumn i databasen?