<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am trying to include only those dates that 
are&nbsp;before a certain date. However, if the first one is before, all of the 
dates are included which is not correct. I will then build this on, so that only 
dates that are between a certain range are included.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>The code that i am using, is:</FONT></DIV>
<DIV><FONT face=Arial size=2>(obviously StartingDate is a variable that is being 
defined each time in DZEvent)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;dtml-with ItineraryEvents&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;dtml-in expr="objectValues('DZEvent')" 
sort=StartingDate&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;dtml-let divider="'2004/01/12'" 
start=StartingDate&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;dtml-if " divider&gt;start"&gt;<BR>&lt;dtml-let 
start=StartingDate&gt;</DIV>
<DIV>The Date is: &lt;dtml-var 
StartingDate&gt;<BR>&lt;/dtml-let&gt;<BR>&lt;/dtml-if&gt;</DIV>
<DIV>&lt;/dtml-let&gt;</DIV>
<DIV>&lt;/dtml-in&gt;</DIV>
<DIV>&lt;/dtml-with&gt;</FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help on or off list greatly 
appreciated,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Tom</FONT></DIV></BODY></HTML>