<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — filter tablegrid by sql query]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=5878</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=5878&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in filter tablegrid by sql query.]]></description>
		<lastBuildDate>Mon, 06 Jan 2020 22:39:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34283#p34283</link>
			<description><![CDATA[<p>thanks you sibprogsistem</p><p>that script work 100%, one again thanks you very very much</p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Mon, 06 Jan 2020 22:39:42 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34283#p34283</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34277#p34277</link>
			<description><![CDATA[<div class="codebox"><pre><code>procedure frmAddLessonAktive_OnShow (Sender: TObject; Action: string);
var
   iRow ,c: integer;
   sTr:string;
begin
  sTr:=&#039;&#039;;
  c := frmstudent.TableGrid1.RowCount - 1;

     for iRow := 0 to c do
         begin
            sTr:=sTr+&#039;dblesson.lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ;
         end;

  delete(sTr, length(sTr)-4, 4);
  frmAddLessonAktive.TableGrid1.dbFilter:=sTr;
  frmAddLessonAktive.TableGrid1.dbUpdate;

end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Mon, 06 Jan 2020 16:04:55 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34277#p34277</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34276#p34276</link>
			<description><![CDATA[<div class="codebox"><pre><code>sTr:=sTr+&#039;lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ;</code></pre></div><p>change to</p><div class="codebox"><pre><code>sTr:=sTr+&#039;dblesson.lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ; </code></pre></div><br /><p> sibprogsistem, <br />I try this script but still eror</p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Mon, 06 Jan 2020 15:34:11 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34276#p34276</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34273#p34273</link>
			<description><![CDATA[<div class="quotebox"><cite>agusecc wrote:</cite><blockquote><p>thanks you Derek and&nbsp; Sibprogsistem for give solution. I glad get trik from Derek with combobox.<br />but mybe i will develop my project with trik Sibprogsistem, It&#039;s work as my hope but still there are eror when i add lesson 2 or 3&nbsp; time<br />can you fix it again?</p></blockquote></div><div class="codebox"><pre><code>sTr:=sTr+&#039;lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ;</code></pre></div><p>change to<br /></p><div class="codebox"><pre><code>sTr:=sTr+&#039;dblesson.lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ; </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Mon, 06 Jan 2020 13:37:09 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34273#p34273</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34269#p34269</link>
			<description><![CDATA[<p>thanks you Derek and&nbsp; Sibprogsistem for give solution. I glad get trik from Derek with combobox.<br />but mybe i will develop my project with trik Sibprogsistem, It&#039;s work as my hope but still there are eror when i add lesson 2 or 3&nbsp; time<br />can you fix it again?</p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Mon, 06 Jan 2020 00:19:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34269#p34269</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34268#p34268</link>
			<description><![CDATA[<p>Hi Agusecc,<br />Does this help you?&nbsp; (the combobox selection only shows those subjects that have not already been chosen by the specified student).<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sun, 05 Jan 2020 19:00:56 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34268#p34268</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34265#p34265</link>
			<description><![CDATA[<div class="codebox"><pre><code>procedure frmAddLessonAktive_OnShow (Sender: TObject; Action: string);
var
   iRow ,c: integer;
   sTr:string;
begin
  c := frmstudent.TableGrid1.RowCount - 1;

     for iRow := 0 to c do
         begin
            sTr:=sTr+&#039;lesson &lt;&gt; &quot;&#039;+frmstudent.TableGrid1.Cells[0,iRow]+&#039;&quot; AND &#039; ;
         end;

  delete(sTr, length(sTr)-4, 4);
  frmAddLessonAktive.TableGrid1.dbFilter:=sTr;
  frmAddLessonAktive.TableGrid1.dbUpdate;

end;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Sun, 05 Jan 2020 18:43:08 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34265#p34265</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34262#p34262</link>
			<description><![CDATA[<p>Hi sibprogsistem<br />thanks for try help me, but That&#039;s not what I meant.</p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Sun, 05 Jan 2020 15:42:43 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34262#p34262</guid>
		</item>
		<item>
			<title><![CDATA[Re: filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34260#p34260</link>
			<description><![CDATA[<p>will this help?</p>]]></description>
			<author><![CDATA[null@example.com (sibprogsistem)]]></author>
			<pubDate>Sun, 05 Jan 2020 14:57:54 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34260#p34260</guid>
		</item>
		<item>
			<title><![CDATA[filter tablegrid by sql query]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34257#p34257</link>
			<description><![CDATA[<p>please help me<br />I have one project example MVD and i want filter&nbsp; one tablegrid by other.<br />when &quot;newrecord&quot; from tablegrid2 and save to database, so next &quot;newrecord again from tablegrid2 same item data not show in tablegrid2.<br />if all data in tablegrid2 already save in new other database so data in tablegrid2 not view agian</p><p>I send example project.</p><p><a href="https://www.dropbox.com/s/w0rhxzw6nu96svp/DBLESSON.rar?dl=0">https://www.dropbox.com/s/w0rhxzw6nu96s … N.rar?dl=0</a></p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Sun, 05 Jan 2020 09:16:01 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34257#p34257</guid>
		</item>
	</channel>
</rss>
