<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Apr 2020 09:11:14 Z</lastBuildDate><pubDate>11 Apr 2020 18:35:54 Z</pubDate><description>Good day &#13;
&#13;
I am attempting to create an invoice report for a medical practice, and the invoice has several lines - the first shows the consultation carried out by the doctor, the second lines show the treatments given by the doctor, and the third set of lines show the materials used in the treatments. I am relatively new to Windev, and very new to the reporting, and could not work out how to use breaks to print each treatment, together with the materials used, in the correct sequence.&#13;
&#13;
I then wrote a union query, which works fine when run on its own and passing the relevant parameter.&#13;
&#13;
However, when I select that query when trying to create a report, Windev does not show me the fields returned by the query - it seems I simply cannot use such a query in my report. Has anyone experienced this? I can select the query from the  dropdown list of the report in the 'describing the report' section, but when closing that section and re-opening it, my selection is lost. Windev reports simply do not seem to allow one to use a view with a union.&#13;
&#13;
If anyone has any suggestions I would be most grateful!&#13;
&#13;
Thanks&#13;
&#13;
Guy</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report/read.awp</link><title>Query with UNION not recognised by Report</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Meredith GUY</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67760/read.awp</comments><pubDate>16 Apr 2020 09:11:14 Z</pubDate><description>Thank you Argus and Mike for your replies, much appreciated. I must admit I did not even notice that the Union command was avail…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67760/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67760/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report/read.awp">Query with UNION not recognised by Report</source><title>Re: Query with UNION not recognised by Report</title></item><item><author>mike</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67759/read.awp</comments><pubDate>16 Apr 2020 00:07:21 Z</pubDate><description>It looks like a nested report will do what you want:&#13;
https://doc.windev.com/en-US/?1011001&amp;name=nested_reports</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67759/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67759/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report/read.awp">Query with UNION not recognised by Report</source><title>Re: Query with UNION not recognised by Report</title></item><item><author>test</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67757/read.awp</comments><pubDate>15 Apr 2020 14:15:33 Z</pubDate><description>AFAIK, -IF- you create your query with the query editor, then it WILL be compatible with the report editor, and EVERYTHING ELSE …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67757/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report-67757/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67749-query-with-union-not-recognised-report/read.awp">Query with UNION not recognised by Report</source><title>Re: Query with UNION not recognised by Report</title></item></channel></rss>
