<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>9 Oct 2018 10:53:09 Z</lastBuildDate><pubDate>2 Oct 2018 19:25:28 Z</pubDate><description>Hi&#13;
&#13;
I am using a table control to display selected records from a database. The database is used to record visitor entries from different buildings. Each station will see only those records that pertain to the particular building. I am trying to use an embedded query in the table control content section. The building is stored in a global variable gsBuildingQual. The command becomes like this:&#13;
SELECT &#13;
	visitors.VisitorsID AS VisitorsID,	&#13;
	visitors.vis_date AS vis_date,	&#13;
	visitors.vis_title AS vis_title,	&#13;
	visitors.vis_lname AS vis_lname,	&#13;
	visitors.vis_fname AS vis_fname,	&#13;
	visitors.vis_idno AS vis_idno,	&#13;
	visitors.vis_company AS vis_company,	&#13;
	visitors.vis_telno AS vis_telno,	&#13;
	visitors.vis_floor AS vis_floor,	&#13;
	visitors.vis_purpose AS vis_purpose,	&#13;
	visitors.vis_remarks AS vis_remarks,	&#13;
	visitors.vis_timein AS vis_timein,	&#13;
	visitors.vis_timeout AS vis_timeout,	&#13;
	visitors.vis_building AS vis_building&#13;
FROM &#13;
	visitors&#13;
WHERE &#13;
	visitors.vis_building = 'gsbuildingqual'&#13;
&#13;
It is not working. Tried as param also {gsbuildingqual} .&#13;
Please help. Thanks</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66868-embedded-query-table-control/read.awp</link><title>embedded query in table control</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>josegarrido2</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66868-embedded-query-table-control-66872/read.awp</comments><pubDate>9 Oct 2018 10:53:09 Z</pubDate><description>You should simplify the problem.&#13;
&#13;
The first thing you should test it's if the query does works. In the query editor itself.&#13;
&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66868-embedded-query-table-control-66872/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66868-embedded-query-table-control-66872/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66868-embedded-query-table-control/read.awp">embedded query in table control</source><title>Re: embedded query in table control</title></item></channel></rss>
