<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>2 Jun 2017 07:42:00 Z</lastBuildDate><pubDate>29 May 2017 14:22:00 Z</pubDate><description>I am getting rather frustrated with the report generator and I think I need a better approach to the problem.&#13;
I have a report based on a query and when I test the query it works but when I run the program and pass null for a parameter it always comes up with "No data to print".&#13;
I have tried passing the parameter as null in iInitReport Query, NOT passing the parameter, setting the parameter beforehand with QRY_ResByPeriod.pnCompanyID = NULL and all return the same result.&#13;
Is there some other method I should try?&#13;
Thanks,&#13;
Garry</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query/read.awp</link><title>report problem - passing null to query</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61090/read.awp</comments><pubDate>2 Jun 2017 07:42:00 Z</pubDate><description>Hi Garry&#13;
&#13;
I had this problem a little while ago.&#13;
&#13;
Maybe the value Null is seen as a valid value of the field. Check if field…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61090/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61090/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query/read.awp">report problem - passing null to query</source><title>Re: report problem - passing null to query</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61043/read.awp</comments><pubDate>29 May 2017 17:23:00 Z</pubDate><description>Hi&#13;
&#13;
Give us some code and we can have a look at it.&#13;
;)&#13;
&#13;
regards&#13;
&#13;
Allard</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61043/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61043/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query/read.awp">report problem - passing null to query</source><title>Re: report problem - passing null to query</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61042/read.awp</comments><pubDate>29 May 2017 15:03:00 Z</pubDate><description>Hi Garry,&#13;
&#13;
It depends on how you pass the parameters and how you test the report.&#13;
In your case with an external query as repo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61042/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61042/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query/read.awp">report problem - passing null to query</source><title>Re: report problem - passing null to query</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61041/read.awp</comments><pubDate>29 May 2017 14:56:00 Z</pubDate><description>Hi Garry,&#13;
&#13;
there is no reason why a query would return a different result from inside a report, as long as you are settings it…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61041/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query-61041/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61040-report-problem-passing-null-query/read.awp">report problem - passing null to query</source><title>Re: report problem - passing null to query</title></item></channel></rss>
