<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mrit.com/gestinux/mediawiki/index.php?action=history&amp;feed=atom&amp;title=TGQuery</id>
	<title>TGQuery - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mrit.com/gestinux/mediawiki/index.php?action=history&amp;feed=atom&amp;title=TGQuery"/>
	<link rel="alternate" type="text/html" href="https://mrit.com/gestinux/mediawiki/index.php?title=TGQuery&amp;action=history"/>
	<updated>2026-05-18T12:41:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://mrit.com/gestinux/mediawiki/index.php?title=TGQuery&amp;diff=1941&amp;oldid=prev</id>
		<title>Tintinux: Created page with &quot; == Purpose ==  TGQuery is the only way used in Gestinux to display data from tables or Sql queries.  You can drop a TGQuery on a form, to be used by a TGDbGrid. They are ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mrit.com/gestinux/mediawiki/index.php?title=TGQuery&amp;diff=1941&amp;oldid=prev"/>
		<updated>2012-10-17T21:31:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Purpose ==  TGQuery is the only way used in Gestinux to display data from tables or Sql queries.  You can drop a TGQuery on a form, to be used by a &lt;a href=&quot;/gestinux/mediawiki/index.php?title=TGDbGrid&quot; title=&quot;TGDbGrid&quot;&gt;TGDbGrid&lt;/a&gt;. They are ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
TGQuery is the only way used in Gestinux to display data from tables or Sql queries.&lt;br /&gt;
&lt;br /&gt;
You can drop a TGQuery on a form, to be used by a [[TGDbGrid]]. They are linked by a TDataSource in the usual way.&lt;br /&gt;
&lt;br /&gt;
You can also create dynamically a TGQuery. &lt;br /&gt;
The Create constructor assign in one time the [[TGDbConnection]], and Sql code, and open the query.&lt;br /&gt;
Currently, bind parameters can&amp;#039;t be assigned before opening : include the values in the Sql query.  &lt;br /&gt;
&lt;br /&gt;
When editing is requested, set the 3rd optional parameter to true : it will try to lock the retrieved record, &lt;br /&gt;
If the record is already locked, a message is automatically displayed, allowing the user to wait or cancel.&lt;/div&gt;</summary>
		<author><name>Tintinux</name></author>
	</entry>
</feed>