<div dir="ltr"><div><div><div><div>Hello,<br><br></div><span id="gmail-result_box" class="gmail-" lang="en"><span>I need</span> <span>the</span> <span>variant type</span> <span></span></span><span id="gmail-result_box" class="gmail-" lang="en"><span><span id="gmail-result_box" class="gmail-" lang="en"><span>converting </span></span>automatically </span> <span>null values</span> to the default value of the target type (e.g False for Booleans, 0 for Integers/Floats)<span class="gmail-"></span><span class="gmail-">.<br></span></span></div><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">I know that i can achieve this by setting the </span></span>variable NullStrictConvert<span class="gmail-sy1"></span> (unit Variants) to False. However, this is a global setting and therefore is not safe using such method. <br><br></div>What would be the best way to solve my problem?<br><br></div>Best regards<br><div><br><br></div></div>