>> Both compile with out issues.

And that they shouldn't, but alas they do. From the help of the constrain command talking about the "constrain as" variant:

"These Boolean expressions may not contain any local variables."

Rewrite to either use a function call (to return the value of dStart) or a date property.

-Sture