<p>I'm trying to convert my sites from CF8 to openBD.  I have a cfloop in a site that loops over a date range.</p>

<p>In essence, I want to insert a new record into the db for every 2 weeks (step) of a date range (from and to)</p>

<p>my loop looks like this... </p>

<pre><code>&lt;cfloop 
  from  = "#form.startDate#" 
  to    = "#form.endDate#" 
  index = "i" 
  step  = "#theStep#"
&gt;
</code></pre>

<p>This works perfectly in CF8, in openBD, I get this error...
Data not supported: value [11/05/09] is not a number</p>

<p>Any ideas of a work around?</p>

<p>Thx</p>

I can't see your code, but here's my first suggestion:
```
```
<cfset current = [your begin date]>
<cfloop condition = "datecompare(enddate, current)">
  [do stuff]
  <cfset current = dateadd('d', 14, current)>
</cfloop>
```
```
HTH.