<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-07 9:03 GMT-03:00 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On Thu, 7 Apr 2016, Luiz Americo Pereira Camara wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is there any code that given a SQL Template would generate the second<br>
filter when paramy is available and keep blank when not available?<br>
<br>
<br>
</blockquote>
<br></span>
I have not found such code. I rolled my own.<br>
<br></blockquote><div><br></div><div>Any chance sharing the code or at least the syntax?<br><br></div><div>Thanks in advance<br></div><div><br></div><div>Luiz<br></div><div><br></div><div> <br></div></div></div></div>