<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://support.tygron.com/w/index.php?action=history&amp;feed=atom&amp;title=ID_query_%28TQL%29</id>
	<title>ID query (TQL) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://support.tygron.com/w/index.php?action=history&amp;feed=atom&amp;title=ID_query_%28TQL%29"/>
	<link rel="alternate" type="text/html" href="https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;action=history"/>
	<updated>2026-04-27T06:15:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=62546&amp;oldid=prev</id>
		<title>Frank@tygron.nl at 09:26, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=62546&amp;oldid=prev"/>
		<updated>2025-05-30T09:26:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:26, 30 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only one &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; term may exist in a query, but multiple ID queries may exist in an Excel file.{{clear}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only one &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; term may exist in a query, but multiple ID queries may exist in an Excel file.{{clear}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{article end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|seealso=*[[Excel]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[Template Panel]]s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Frank@tygron.nl</name></author>
	</entry>
	<entry>
		<id>https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=62544&amp;oldid=prev</id>
		<title>Frank@tygron.nl: Frank@tygron.nl moved page ID query (Excel) to ID query (TQL)</title>
		<link rel="alternate" type="text/html" href="https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=62544&amp;oldid=prev"/>
		<updated>2025-05-30T09:25:46Z</updated>

		<summary type="html">&lt;p&gt;Frank@tygron.nl moved page &lt;a href=&quot;/wiki/ID_query_(Excel)&quot; class=&quot;mw-redirect&quot; title=&quot;ID query (Excel)&quot;&gt;ID query (Excel)&lt;/a&gt; to &lt;a href=&quot;/wiki/ID_query_(TQL)&quot; title=&quot;ID query (TQL)&quot;&gt;ID query (TQL)&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:25, 30 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Frank@tygron.nl</name></author>
	</entry>
	<entry>
		<id>https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=41292&amp;oldid=prev</id>
		<title>Rudolf@tygron.nl: Created page with &quot;File:ExcelIDs.jpg|framed|right|The &lt;code&gt;ID&lt;/code&gt; in the query will be replaced with the specific AREA the file is applied to, and thus the name of the AREA concerned is re...&quot;</title>
		<link rel="alternate" type="text/html" href="https://support.tygron.com/w/index.php?title=ID_query_(TQL)&amp;diff=41292&amp;oldid=prev"/>
		<updated>2021-03-03T15:25:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;File:ExcelIDs.jpg|framed|right|The &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; in the query will be replaced with the specific AREA the file is applied to, and thus the name of the AREA concerned is re...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:ExcelIDs.jpg|framed|right|The &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; in the query will be replaced with the specific AREA the file is applied to, and thus the name of the AREA concerned is retrieved.]]&lt;br /&gt;
[[Excel]] files can be used for general calculations which are basically predictable. You always know which elements in the world you want to retrieve or manipulate. However, in some cases, you may not know that beforehand. Examples are when an Excel is used for a [[Template Panel]] or a [[Zones|Zoning permit calculation]]. In these situations, you may likely want a query which refers to whatever element the Excel is applied to.&lt;br /&gt;
&lt;br /&gt;
This can be done using an ID query. For any given query which refers to an [[Item]] by its [[ID]], that specific [[ID]] can be replaced by &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt;. Starting with a query of the specific form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SELECT_ATTRIBUTE_WHERE_NAME_IS_ACTIVE_AND_NEIGHBORHOOD_IS_1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This query can be read as &amp;quot;Get the value of the ACTIVE attribute of neighborhood with ID 1&amp;quot;. The query can rewritten to the following form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;SELECT_ATTRIBUTE_WHERE_NAME_IS_ACTIVE_AND_NEIGHBORHOOD_IS_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This query can instead be read as &amp;quot;Get the value of the ACTIVE attribute &amp;#039;&amp;#039;of the applicable neighborhood&amp;#039;&amp;#039;. The context in which the [[Excel]] is used will dictate which [[Item]] is specifically &amp;quot;applicable&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
Only one &amp;lt;code&amp;gt;ID&amp;lt;/code&amp;gt; term may exist in a query, but multiple ID queries may exist in an Excel file.{{clear}}&lt;/div&gt;</summary>
		<author><name>Rudolf@tygron.nl</name></author>
	</entry>
</feed>