I have different reports. I would like to use single query for all reports. This would be feasible, if I could set the parameters from within the report.<div><br></div><div>e.g. </div><div>select * from trials where status=$P(trial_status)</div>

<div><br></div><div>I would like to set trial_status to like RECRUITING or FINISHED to create the reports.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">2013/3/10 Ruslan Zasukhin <span dir="ltr"><<a href="mailto:ruslan_zasukhin@valentina-db.com" target="_blank">ruslan_zasukhin@valentina-db.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3/10/13 9:16 PM, "Arndt Weinmann" <<a href="mailto:arndt.weinmann@gmail.com">arndt.weinmann@gmail.com</a>> wrote:<br>


<br>
Hi Arndt,<br>
<div class="im"><br>
> Hello!<br>
><br>
> Is it possible to create a query with parameters and have different (main)<br>
> reports that call the query with different parameter settings?<br>
<br>
</div>I think you need provide some example of your dream.<br>
<br>
Query with Parameters?<br>
  you mean    f1 = :1 and f2 =:2<br>
<br>
<br>
Main reports?<br>
<br>
<br>
May be better describe task you want to solve?<br>
<br>
<br>
<br>
<br>
--<br>
Best regards,<br>
<br>
Ruslan Zasukhin<br>
VP Engineering and New Technology<br>
Paradigma Software, Inc<br>
<br>
Valentina - Joining Worlds of Information<br>
<a href="http://www.paradigmasoft.com" target="_blank">http://www.paradigmasoft.com</a><br>
<br>
[I feel the need: the need for speed]<br>
<br>
<br>
_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
</blockquote></div><br></div>