<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : otomatik veri getirme</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : otomatik veri getirme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Jul 2026 23:46:08 +0000</pubDate>
  <lastBuildDate>Tue, 21 Jul 2026 16:22:21 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1625</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[otomatik veri getirme : void OpenRehber;var JsonStr, Val1,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1625&amp;PID=3763#3763</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=249">kayra12</a><br /><strong>Konu:</strong> 1625<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Temmuz&nbsp;2026 Saat 16:22<br /><br /><div><br></div><div>void OpenRehber;</div><div>var&nbsp;</div><div>&nbsp; JsonStr, Val1, Val2, Val3, Val4, Val5, Val6: String;&nbsp;</div><div>&nbsp; q: TclSQLQuery;</div><div>{</div><div>&nbsp; ConnectToDatabase;</div><div>&nbsp; BuildRehberForm;</div><div>&nbsp; EdtAramaRehber.Text = '';</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (GlobalLookupType == 'FILTRE_KOD')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Stok Kodu Seç...';</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 STOK_KODU AS KOD, STOK_ADI AS ADI FROM &#091;PRG_VIEW_STREHBER&#093; WITH(NOLOCK) WHERE ISNULL(PASIF_KART,0)=0 ORDER BY STOK_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('KOD').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; FormFiltreAraClick;&nbsp;</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BELGE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BELGE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; 'SELECT * FROM (SELECT TOP 100 PERCENT BELGE_NO,TARIH,MAKINE_KODU, MAKINE_ADI, BAKIM_KODU, BAKIM_ACIKLAMA, BAS_TAR, BAS_SAAT, BIT_TAR, BIT_SAAT ' +</div><div>&nbsp; &nbsp; &nbsp; 'FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; 'INNER JOIN &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ON MAKINE_KODU_RECID = TBLURTMAKINESB.REC_NO ' +</div><div>&nbsp; &nbsp; &nbsp; 'INNER JOIN &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ON BAKIM_KODU_RECID = TBLURTBAKIMSB.REC_NO) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; 'ORDER BY BELGE_NO COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('BELGE_NO').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON('Makine: ' + q.FieldByName('MAKINE_KODU').AsString + ' - ' + q.FieldByName('MAKINE_ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val3 = TemizleJSON(q.FieldByName('TARIH').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val4 = TemizleJSON(q.FieldByName('MAKINE_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val5 = TemizleJSON(q.FieldByName('BAKIM_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val6 = TemizleJSON(q.FieldByName('BAKIM_ACIKLAMA').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"SUB_TEXT":"' + Val2 + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"TEXT1":"' + Val3 + '", "TEXT2":"' + Val4 + '", "TEXT3":"' + Val5 + '", "TEXT4":"' + Val6 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'MAKINE')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_MAKINE');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; 'SELECT * FROM (SELECT TOP 100 PERCENT MAKINE_KODU, MAKINE_ADI FROM &#091;TBLURTMAKINESB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; 'WHERE REC_NO IN (SELECT MAKINE_RECID FROM &#091;TBLURTMAKINEKULLANICI&#093; WITH (NOLOCK) WHERE KULLANICI_NO=1) ' +</div><div>&nbsp; &nbsp; &nbsp; 'AND ISNULL(PASIF_KART,0) = 0 ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; 'ORDER BY MAKINE_KODU SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('MAKINE_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('MAKINE_ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if ((GlobalLookupType == 'BAKIM') || (GlobalLookupType == 'TANIM_BAKIM'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAKIM');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; 'SELECT * FROM (SELECT TOP 100 PERCENT BAKIM_KODU, BAKIM_ACIKLAMA ' +</div><div>&nbsp; &nbsp; &nbsp; 'FROM &#091;TBLURTBAKIMSB&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; 'WHERE BAKIMTIP IS NULL AND BAKIM_TURU IS NULL) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; 'ORDER BY BAKIM_KODU ' +</div><div>&nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('BAKIM_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('BAKIM_ACIKLAMA').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if ((GlobalLookupType == 'TIP_KODU') || (GlobalLookupType == 'BAKIM_TIPI'))&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Bakım Tipi Ara...';</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 LTRIM(RTRIM(BAKIMTIP_KODU)) AS BAKIMTIP_KODU, LTRIM(RTRIM(BAKIMTIP)) AS BAKIMTIP, LTRIM(RTRIM(BAKIMTIP_ACIKLAMA)) AS BAKIMTIP_ACIKLAMA FROM &#091;TBLURTBAKIMTIPSB&#093; WITH (NOLOCK) ORDER BY BAKIMTIP_KODU';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('BAKIMTIP_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('BAKIMTIP').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val3 = TemizleJSON(q.FieldByName('BAKIMTIP_ACIKLAMA').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '", "TEXT1":"' + Val3 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayıt Bulunamadı", "SUB_TEXT":"Veritabanında uygun tip yok."}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'BAGLANTI')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_BAGLANTI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; 'SELECT * FROM (SELECT TOP 100 PERCENT TARIH FROM PrgFn_MakBakTakvimOlustur (''04.13.2026'',''0'', 12,''G'',1) ' +</div><div>&nbsp; &nbsp; &nbsp; 'WHERE CONVERT(VARCHAR,TARIH,104) NOT IN (SELECT ISNULL(BAKIM_BAGLANTI_ALAN,'''') FROM &#091;TBLURTBAKIMHR&#093; WITH (NOLOCK) ' +</div><div>&nbsp; &nbsp; &nbsp; 'WHERE BAKIM_KODU_RECID= 7 AND MAKINE_KODU_RECID=1 AND PERIYOT_TIPI=2 AND BAKIM_BAGLANTI_ALAN&lt;&gt;''16.04.2026'') ' +</div><div>&nbsp; &nbsp; &nbsp; ') AS REHBERSQL ORDER BY TARIH ' +</div><div>&nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('TARIH').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":""}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if ((GlobalLookupType == 'CARI') || (GlobalLookupType == 'TANIM_SARF_CARI'))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = GetText('ARA_CARI');</div><div>&nbsp; &nbsp; JsonStr = '&#091;';</div><div>&nbsp; &nbsp; q = TclSQLQuery.Create(nil);</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SET NO_BROWSETABLE ON SET ROWCOUNT 0 ' +</div><div>&nbsp; &nbsp; &nbsp; 'SELECT * FROM (SELECT TOP 100 PERCENT CARI_KODU, CARI_ADI FROM &#091;TBLCARISB&#093; WITH (NOLOCK) ) AS REHBERSQL ' +</div><div>&nbsp; &nbsp; &nbsp; 'ORDER BY CARI_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ' +</div><div>&nbsp; &nbsp; &nbsp; 'SET ROWCOUNT 0 SET NO_BROWSETABLE OFF';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('CARI_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('CARI_ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '"}';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; }</div><div>&nbsp; &nbsp; else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'TANIM_DIS_SERVIS') {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Dış Servis Carisi Seç...'; JsonStr = '&#091;'; q = TclSQLQuery.Create(nil);&nbsp;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 CARI_KODU, CARI_ADI FROM &#091;PRG_VIEW_CRREHBER&#093; WITH (NOLOCK) WHERE ((ISNULL(ACIK_GRUPLAR,'''') ='''') OR (ACIK_GRUPLAR LIKE ''%(0)%'')) AND ISNULL(PASIF_KART,0)=0 ORDER BY CARI_KODU COLLATE SQL_Latin1_General_CP1_CI_AS ASC';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('CARI_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('CARI_ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '", "TEXT1":"' + Val2 + '"}';&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; } else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div>&nbsp; else if (GlobalLookupType == 'TANIM_DEPO') {</div><div>&nbsp; &nbsp; EdtAramaRehber.TextPrompt = 'Depo Ara...'; JsonStr = '&#091;'; q = TclSQLQuery.Create(nil);&nbsp;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; q.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; &nbsp; q.SQL.Text = 'SELECT TOP 100 DEPO_KODU, DEPO_ADI FROM &#091;TBLSTOKDEPOSB&#093; WITH (NOLOCK) WHERE ISNULL(DEPO_AKTIF,1) = 1 ORDER BY DEPO_KODU';</div><div>&nbsp; &nbsp; &nbsp; q.Open;</div><div>&nbsp; &nbsp; &nbsp; while (not q.Eof) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (JsonStr &lt;&gt; '&#091;') { JsonStr = JsonStr + ','; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val1 = TemizleJSON(q.FieldByName('DEPO_KODU').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Val2 = TemizleJSON(q.FieldByName('DEPO_ADI').AsString);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; JsonStr = JsonStr + '{"MAIN_TEXT":"' + Val1 + '", "SUB_TEXT":"' + Val2 + '", "TEXT1":"' + Val2 + '"}';&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; q.Next;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; q.Free;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; if (JsonStr == '&#091;') { JsonStr = '&#091;{"MAIN_TEXT":"Kayit Bulunamadi", "SUB_TEXT":"Lutfen veritabanini kontrol edin"}&#093;'; } else { JsonStr = JsonStr + '&#093;'; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; DataRehber = Clomosy.ClDataSetFromJSON(JsonStr);</div><div>&nbsp; LsvRehber.clLoadProListViewDataFromDataset(DataRehber);</div><div>&nbsp; RehberForm.Run;&nbsp;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496"</a> integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Tue, 21 Jul 2026 16:22:21 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1625&amp;PID=3763#3763</guid>
  </item> 
  <item>
   <title><![CDATA[otomatik veri getirme : uploads/480/Project_37.zip koddum...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1625&amp;PID=3761#3761</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=480">kayra22</a><br /><strong>Konu:</strong> 1625<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Temmuz&nbsp;2026 Saat 15:30<br /><br /><a href="uploads/480/Project_37.zip" target="_blank" rel="nofollow">uploads/480/Project_37.zip</a>&nbsp; &nbsp;<div>&nbsp;koddum da bulunan belge no kısmı seçildikten sonra 3 sayfanın da tamamen otomatik olarak verilerin gelmesi gerekiyor 3 tanesi geliyor ama gerisi runtime hatası düşüyor&nbsp;</div>< ="module" ="https://static.cloudflareinsights.com/beac&#111;n.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496" integrity="sha512-ZE9pZaUXND66v380QUtch/5sE9tPFh2zg45pR2PB0CVkCtOREv2AJKkSidISWkysEuQ0EH8faUU5du78bx87UQ==" -cf-beac&#111;n="&quot;versi&#111;n&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;_timing&quot;:&quot;name&quot;:&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true,&quot;locati&#111;n_startswith&quot;:null" crossorigin="an&#111;nymous">]]>
   </description>
   <pubDate>Tue, 21 Jul 2026 15:30:48 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1625&amp;PID=3761#3761</guid>
  </item> 
 </channel>
</rss>