<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p> </p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p dir="ltr">What about :</p>
<p dir="ltr">  Coalesce (animation_datetime(), now())</p>
<p dir="ltr">Does that work?</p>
</blockquote>
<p dir="ltr"> </p>
<p dir="ltr">So I tested <span>COALESCE(animation_datetime(), now()) - and it doesn't work for two reasons:</span></p>
<p dir="ltr"><span>- for layers that are not under time manager control, animation_datetime() doesn't return NULL, but returns as invalid expression ;-(</span></p>
<p dir="ltr">- Similar, if a layer is under time manager control - if one stops time manager - animation_datetime() is not set to NULL, but still holds some time value</p>
<p dir="ltr">---------------</p>
<p dir="ltr">So to fix this - we would have to:</p>
<p dir="ltr">- always return a valid expression for animation_datetime() - even for layers not under TimeManager control. It should return NULL in this case</p>
<p dir="ltr">- return NULL for animation_datetime() when TimeManager is not active - also for layers under TimeManager control.</p>
<p dir="ltr"> </p>
<p dir="ltr">Andreas</p>
<div> </div>
</body></html>