<?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 : TclSqlQuery Outputunu işleyemedim</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : TclSqlQuery Outputunu işleyemedim]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 02:39:43 +0000</pubDate>
  <lastBuildDate>Wed, 18 Mar 2026 10:46:56 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1258</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[TclSqlQuery Outputunu işleyemedim : Problemi bu &#351;ekilde &#231;&#246;zd&#252;m art&#305;k...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=3240#3240</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 18&nbsp;Mart&nbsp;2026 Saat 10:46<br /><br /><div>Problemi bu şekilde çözdüm artık herhangi bir problem bulunmamaktadır.<br><br>function MakeTitleFromField(AField: String): String;</div><div>var p: Integer;</div><div>{</div><div>&nbsp; Result = AField;</div><div>&nbsp; p = Pos('_', Result);</div><div>&nbsp; while (p &gt; 0) { Delete(Result, p, 1); Insert(' ', Result, p); p = Pos('_', Result); }</div><div>&nbsp; Result = AnsiUpperCase(Result);</div><div>}<br><br><div>void FillGrid</div><div>var&nbsp;</div><div>&nbsp; col, Satir, i, SampleCount: Integer;&nbsp;</div><div>&nbsp; FieldName, TitleMethod, RawValue, UpFieldName, C: String;</div><div>&nbsp; InputPersonalTitles: TClStringList;</div><div>&nbsp; IsNumberCol: Boolean;</div><div>{</div><div>&nbsp; ReportQuery = uDataLib.GetReportQuery;</div><div>&nbsp; TitleMethod = uDataLib.GetTitleMethod;</div><div>&nbsp; InputPersonalTitles = uDataLib.GetPersonalTitles;</div><div><br></div><div>&nbsp; if (ReportQuery == nil) Exit;</div><div>&nbsp; if (not ReportQuery.Active) ReportQuery.Open;</div><div><br></div><div>&nbsp; if (CariFields == nil) CariFields = Clomosy.StringListNew;</div><div>&nbsp; CariFields.Clear;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (TitleMethod == 'Personalize')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (InputPersonalTitles &lt;&gt; nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; for (col = 0 to InputPersonalTitles.Count - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FieldName = InputPersonalTitles.Names&#091;col&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (ReportQuery.FindField(FieldName) &lt;&gt; nil) CariFields.Add(FieldName);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ReportQuery.GetFieldNames(CariFields);</div><div>&nbsp; &nbsp; if (TitleMethod == 'Field')</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; InputPersonalTitles = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; &nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FieldName = CariFields.Strings&#091;col&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; InputPersonalTitles.Add(FieldName + '=' + MakeTitleFromField(FieldName));</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; uDataLib.SetPersonalTitles(InputPersonalTitles);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; ReportGrid.ColumnCount = CariFields.Count + 1; // Sıra No için Grid'e ekstra +1 kolon ekliyoruz ---</div><div>&nbsp; ReportGrid.RowCount = ReportQuery.RecordCount + 1;</div><div><br></div><div>&nbsp; // 1. BAŞLIKLARI YAZDIRMA</div><div>&nbsp; ReportGrid.Cells&#091;0, 0&#093; = ''; // En sol üst köşeye sabit başlık('') / 'Sıra'</div><div><br></div><div>&nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if (TitleMethod == 'Personalize')&nbsp;</div><div>&nbsp; &nbsp; &nbsp; ReportGrid.Cells&#091;col + 1, 0&#093; = InputPersonalTitles.Values&#091;CariFields.Strings&#091;col&#093;&#093;; // Veriler col+1'e kaydırıldı</div><div>&nbsp; &nbsp; else&nbsp;</div><div>&nbsp; &nbsp; &nbsp; ReportGrid.Cells&#091;col + 1, 0&#093; = MakeTitleFromField(CariFields.Strings&#091;col&#093;);</div><div>&nbsp; }</div><div><br></div><div>&nbsp; // 2. VERİLERİ YAZDIRMA</div><div>&nbsp; if (ReportQuery.RecordCount &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ReportQuery.First;</div><div>&nbsp; &nbsp; Satir = 1;</div><div>&nbsp; &nbsp; while (not ReportQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ReportGrid.Cells&#091;0, Satir&#093; = IntToStr(Satir);</div><div>&nbsp; &nbsp; &nbsp; ReportGrid.HorzAlignments&#091;0, Satir&#093; = 0; // Sıra No: Ortala (gtaCenter)</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FieldName = CariFields.Strings&#091;col&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; RawValue = ReportQuery.FieldByName(FieldName).AsString;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; RawValue = TransformCellValue(FieldName, RawValue);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; RawValue = FormatIfNumeric(FieldName, RawValue);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ReportGrid.Cells&#091;col + 1, Satir&#093; = RawValue;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; Satir = Satir + 1;</div><div>&nbsp; &nbsp; &nbsp; ReportQuery.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; ReportGrid.AutoSizeColumns(True, 10);</div><div>&nbsp; // 3. HÜCRE BAZLI HİZALAMA MOTORU (Data Sampling Yöntemi)</div><div>&nbsp;&nbsp;</div><div>&nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; UpFieldName = AnsiUpperCase(CariFields.Strings&#091;col&#093;);</div><div>&nbsp; &nbsp; IsNumberCol = True; // Varsayılan olarak sayı kabul et, testte çürüt</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // KURAL 1: Kesin Metin Olanlar (Blacklist)</div><div>&nbsp; &nbsp; if ((Pos('KOD',&nbsp; &nbsp;UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('_NO',&nbsp; &nbsp;UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('NO_',&nbsp; &nbsp;UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('TIP',&nbsp; &nbsp;UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('ADI',&nbsp; &nbsp;UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('MODUL', UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('ACIKLAMA', UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('VADE',&nbsp; UpFieldName) &gt; 0) ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; (Pos('TARIH', UpFieldName) &gt; 0))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; IsNumberCol = False; // Metin</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; // KURAL 2: Şüpheli Kolonlar İçin Veri Örnekleme (Sampling)</div><div>&nbsp; &nbsp; &nbsp; SampleCount = 0;&nbsp;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; for (Satir = 1 to ReportGrid.RowCount - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; RawValue = Trim(ReportGrid.Cells&#091;col + 1, Satir&#093;);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (RawValue &lt;&gt; '')</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i = 1 to Length(RawValue))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; C = Copy(RawValue, i, 1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (Pos(C, '0123456789.,-') == 0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IsNumberCol = False; // Harf bulundu, sayı değil!</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SampleCount = SampleCount + 1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // Karar verildiyse testleri bitir</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if ((IsNumberCol == False) || (SampleCount &gt;= 3))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Break;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (SampleCount == 0) IsNumberCol = False;// Eğer tamamen boş bir kolonsa (SampleCount = 0) onu da sola at</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // HÜCRELERİ FİZİKSEL OLARAK HİZALA (Satır Döngüsü)</div><div>&nbsp; &nbsp; for (Satir = 1 to ReportGrid.RowCount - 1)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ReportGrid.HorzAlignments&#091;0, Satir&#093; = 0; // 0. Kolon (Sıra No) daima Ortada (gtaCenter = 0)</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (IsNumberCol == True)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ReportGrid.HorzAlignments&#091;col + 1, Satir&#093; = 2; // Sağa Yasla (gtaTrailing = 2)</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ReportGrid.HorzAlignments&#091;col + 1, Satir&#093; = 1; // Sola Yasla (gtaLeading = 1)</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; ApplyGridColors;</div><div>&nbsp; CalculateTotals;</div><div>}<br><br><br><br><br>.</div></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" 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>Wed, 18 Mar 2026 10:46:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=3240#3240</guid>
  </item> 
  <item>
   <title><![CDATA[TclSqlQuery Outputunu işleyemedim : Merhaba G&#252;ney,Son g&#246;nderdi&#287;im...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2807#2807</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Şubat&nbsp;2026 Saat 09:17<br /><br />Merhaba Güney,&nbsp;<br>Son gönderdiğim kodun mantığı da o aslında veritabanında ki AD_SOYAD field&nbsp;<br>MakeTitleFromField prosedürü içerisinde başlıkları okunabilir hale getiriyor<br>yani AD SOYAD olarak çıkıyor daha sonra gridi dolduruyor.&nbsp;<br>--------------------------<br><div>var</div><div>&nbsp; MainForm&nbsp; &nbsp; &nbsp; : TCLForm;</div><div>&nbsp; ProGridCari&nbsp; &nbsp;: TCLProGrid;</div><div>&nbsp; mainVertSB&nbsp; &nbsp; : TclVertScrollBox;</div><div>&nbsp; ReportQuery&nbsp; &nbsp;: TclSqlQuery;</div><div>&nbsp; CariFields&nbsp; &nbsp; : TClStringList;&nbsp;</div><div>&nbsp; HamBaslik&nbsp; &nbsp; &nbsp;: String;</div><div><br></div><div>function MakeTitleFromField(AField : String) : String;</div><div>var</div><div>&nbsp; p : Integer;</div><div>{</div><div>&nbsp; Result = AField;</div><div>&nbsp; p = Pos('_', Result);</div><div>&nbsp; while (p &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Delete(Result, p, 1);</div><div>&nbsp; &nbsp; Insert(' ', Result, p);</div><div>&nbsp; &nbsp; p = Pos('_', Result);</div><div>&nbsp; }</div><div>&nbsp; Result = AnsiUpperCase(Result);</div><div>}</div><div><br></div><div>void GridDoldur;</div><div>var</div><div>&nbsp; col, Satir : Integer;</div><div>&nbsp; FieldName : String;</div><div>{</div><div>&nbsp; if (ReportQuery == nil) { exit; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (not ReportQuery.Active) ReportQuery.Open;</div><div><br></div><div>&nbsp; CariFields.Clear;&nbsp;</div><div>&nbsp; ReportQuery.GetFieldNames(CariFields);&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 2. Grid Yoksa Oluştur</div><div>&nbsp; if (ProGridCari == nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ProGridCari = MainForm.AddNewProGrid(mainVertSB, 'ProGridCari');</div><div>&nbsp; &nbsp; ProGridCari.Align = alClient;</div><div>&nbsp; &nbsp; ProGridCari.Options.Editing.Enabled = False;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; ProGridCari.ColumnCount = CariFields.Count;</div><div>&nbsp;&nbsp;</div><div>&nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; HamBaslik = CariFields.Strings&#091;col&#093;;&nbsp;</div><div>&nbsp; &nbsp; ProGridCari.Cells&#091;col, 0&#093; = MakeTitleFromField(HamBaslik);&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; ProGridCari.RowCount = 1;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (ReportQuery.Found)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ReportQuery.First;</div><div>&nbsp; &nbsp; Satir = 1;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; while (not ReportQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FieldName = CariFields.Strings&#091;col&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ProGridCari.Cells&#091;col, Satir&#093; = ReportQuery.FieldByName(FieldName).AsString;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Satir = Satir + 1;</div><div>&nbsp; &nbsp; &nbsp; ReportQuery.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; ProGridCari.AutoSizeColumns(True, 100);</div><div>}</div><div><br></div><div>{</div><div>&nbsp; MainForm = TCLForm.Create(Self);</div><div>&nbsp; mainVertSB = MainForm.AddNewVertScrollBox(MainForm, 'mainVertSB');</div><div>&nbsp; mainVertSB.Align = alClient;</div><div>&nbsp;&nbsp;</div><div>&nbsp; CariFields = Clomosy.StringListNew;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; ReportQuery = Clomosy.DBSQLiteQueryWith('SELECT 101 as OGRENCI_NO, ''Ahmet Yilmaz'' as AD_SOYAD, 85 as NOT_ORT');&nbsp;</div><div>&nbsp; ReportQuery.Open;</div><div><br></div><div>&nbsp; GridDoldur;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainForm.Run;</div><div>}<br>bir önce ki gönderdiğim de manuel olarak ekliyorduk.&nbsp;&nbsp;<br>Son gönderdiğim de sütun isimlerini otomatik alıyor prosedürle düzeltiyor ve verileri dolduruyor.&nbsp;<br><br>Deneyebilir misin?</div><br><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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, 03 Feb 2026 09:17:44 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2807#2807</guid>
  </item> 
  <item>
   <title><![CDATA[TclSqlQuery Outputunu işleyemedim : Asl&#305;nda benim burada yapmak istedi&#287;im...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2806#2806</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Şubat&nbsp;2026 Saat 18:25<br /><br />Aslında benim burada yapmak istediğim field alanını vermeden sorgudan almaktı&nbsp;<div style=": rgb251, 251, 253;">&nbsp; CariFields.Add('AD_SOYAD');</div><div style=": rgb251, 251, 253;">&nbsp; CariFields.Add('NOT_ORT');<br><br>Yani sorgunun içerisindeki field alanındaki "_" leri " " ye çevirerek kullanmak istiyorum.<br>"AD_SOYAD" --&gt; "AD SOYAD" şeklinde</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Mon, 02 Feb 2026 18:25:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2806#2806</guid>
  </item> 
  <item>
   <title><![CDATA[TclSqlQuery Outputunu işleyemedim : Merhaba G&#252;ney,var MainForm   :...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2805#2805</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Şubat&nbsp;2026 Saat 16:38<br /><br />Merhaba Güney,&nbsp;<br><div>var</div><div>&nbsp; MainForm&nbsp; &nbsp; &nbsp; : TCLForm;</div><div>&nbsp; ProGridCari&nbsp; &nbsp;: TCLProGrid;</div><div>&nbsp; mainVertSB&nbsp; &nbsp; : TclVertScrollBox;</div><div>&nbsp; ReportQuery&nbsp; &nbsp;: TclSqlQuery;</div><div>&nbsp; CariFields&nbsp; &nbsp; : TClStringList;&nbsp;</div><div>&nbsp; HamBaslik&nbsp; &nbsp; &nbsp;: String;</div><div><br></div><div>function MakeTitleFromField(AField : String) : String;</div><div>var</div><div>&nbsp; p : Integer;</div><div>{</div><div>&nbsp; Result = AField;</div><div>&nbsp; p = Pos('_', Result);</div><div>&nbsp; while (p &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Delete(Result, p, 1);</div><div>&nbsp; &nbsp; Insert(' ', Result, p);</div><div>&nbsp; &nbsp; p = Pos('_', Result);</div><div>&nbsp; }</div><div>&nbsp; Result = AnsiUpperCase(Result);</div><div>}</div><div><br></div><div>void GridDoldur;</div><div>var</div><div>&nbsp; col, Satir : Integer;</div><div>&nbsp; FieldName : String;</div><div>{</div><div>&nbsp; if (ReportQuery == nil) { exit; }</div><div>&nbsp; if (not ReportQuery.Active) ReportQuery.Open;</div><div><br></div><div>&nbsp; if (ProGridCari == nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ProGridCari = MainForm.AddNewProGrid(mainVertSB, 'ProGridCari');</div><div>&nbsp; &nbsp; ProGridCari.Align = alClient;</div><div>&nbsp; &nbsp; ProGridCari.Options.Editing.Enabled = False;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; ProGridCari.ColumnCount = CariFields.Count;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 1. BAŞLIKLARI YAZ</div><div>&nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; HamBaslik = CariFields.Strings&#091;col&#093;;&nbsp;</div><div>&nbsp; &nbsp; ProGridCari.Cells&#091;col, 0&#093; = MakeTitleFromField(HamBaslik);&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; // 2.&nbsp; DÖNGÜYLE DOLDUR</div><div>&nbsp; ProGridCari.RowCount = 1;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (ReportQuery.Found)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ReportQuery.First;</div><div>&nbsp; &nbsp; Satir = 1;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; while (not ReportQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; for (col = 0 to CariFields.Count - 1)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FieldName = CariFields.Strings&#091;col&#093;;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ProGridCari.Cells&#091;col, Satir&#093; = ReportQuery.FieldByName(FieldName).AsString;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Satir = Satir + 1;</div><div>&nbsp; &nbsp; &nbsp; ReportQuery.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; ProGridCari.AutoSizeColumns(True, 100);</div><div>}</div><div><br></div><div>{</div><div>&nbsp; MainForm = TCLForm.Create(Self);</div><div>&nbsp; mainVertSB = MainForm.AddNewVertScrollBox(MainForm, 'mainVertSB');</div><div>&nbsp; mainVertSB.Align = alClient;</div><div>&nbsp;&nbsp;</div><div>&nbsp; CariFields = Clomosy.StringListNew;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Alanları Belirle</div><div>&nbsp; CariFields.Add('OGRENCI_NO');</div><div>&nbsp; CariFields.Add('AD_SOYAD');</div><div>&nbsp; CariFields.Add('NOT_ORT');</div><div>&nbsp;&nbsp;</div><div>&nbsp; ReportQuery = Clomosy.DBSQLiteQueryWith('SELECT 101 as OGRENCI_NO, ''Ahmet Yilmaz'' as AD_SOYAD, 85 as NOT_ORT');&nbsp;</div><div>&nbsp; ReportQuery.Open;</div><div><br></div><div>&nbsp; GridDoldur;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainForm.Run;</div><div>}&nbsp;<br>Test edebilir misin??&nbsp;</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Mon, 02 Feb 2026 16:38:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2805#2805</guid>
  </item> 
  <item>
   <title><![CDATA[TclSqlQuery Outputunu işleyemedim : LSourceQuery = Clomosy.DBSQLServerQueryWith(AQuery);...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2804#2804</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Şubat&nbsp;2026 Saat 15:01<br /><br /><div>LSourceQuery = Clomosy.DBSQLServerQueryWith(AQuery);</div><div>&nbsp; &nbsp; Result = LSourceQuery;<br><br>çıktı olarak buradan aldığımı&nbsp;<span style=": rgb251, 251, 253;">ReportQuery olarak kullanıyorum</span></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" 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>Mon, 02 Feb 2026 15:01:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2804#2804</guid>
  </item> 
  <item>
   <title><![CDATA[TclSqlQuery Outputunu işleyemedim : var MainForm   : TCLForm; ProGridCari...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2803#2803</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1258<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Şubat&nbsp;2026 Saat 14:59<br /><br /><div>var</div><div>&nbsp; MainForm&nbsp; &nbsp; &nbsp; : TCLForm;</div><div>&nbsp; ProGridCari&nbsp; &nbsp;: TCLProGrid;</div><div>&nbsp; mainVertSB&nbsp; &nbsp; : TclVertScrollBox;</div><div>&nbsp; ScaledLayout&nbsp; : TCLScaledLayout;</div><div>&nbsp; ReportQuery&nbsp; &nbsp;: TclSqlQuery;</div><div>&nbsp; CariFields&nbsp; &nbsp; : TClStringList;</div><div><br></div><div>function MakeTitleFromField(AField : String) : String;</div><div>var</div><div>&nbsp; p : Integer;</div><div>{</div><div>&nbsp; Result = AField;</div><div>&nbsp; p = Pos('_', Result);</div><div>&nbsp; while (p &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; Delete(Result, p, 1);</div><div>&nbsp; &nbsp; Insert(' ', Result, p);</div><div>&nbsp; &nbsp; p = Pos('_', Result);</div><div>&nbsp; }</div><div>&nbsp; Result = AnsiUpperCase(Result);</div><div>}</div><div><br></div><div>void SetupCariGrid;</div><div>var</div><div>&nbsp; c : Integer;</div><div>{</div><div>&nbsp; if (ProGridCari == nil)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ProGridCari = MainForm.AddNewProGrid(mainVertSB, 'ProGridCari');</div><div>&nbsp; &nbsp; ProGridCari.Align = alClient;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; ProGridCari.RowCount = 0;&nbsp;</div><div>&nbsp; ProGridCari.ColumnCount = CariFields.Count;&nbsp; &nbsp;</div><div>&nbsp; ProGridCari.RowCount&nbsp; &nbsp; = 2;&nbsp; &nbsp;</div><div>&nbsp; ProGridCari.FixedRows&nbsp; &nbsp;= 1;</div><div>&nbsp; ProGridCari.Options.Editing.Enabled = False;</div><div><br></div><div>&nbsp; for (c = 0 to (CariFields.Count - 1))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ProGridCari.Cells&#091;c, 0&#093; = MakeTitleFromField(CariFields.Strings&#091;c&#093;);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void ExtractMetadataFromQuery;</div><div>var</div><div>&nbsp; i : Integer;</div><div>{</div><div>&nbsp; if (ReportQuery == nil) { exit; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; CariFields.Clear;</div><div><br></div><div>&nbsp; for (i = 0 to (ReportQuery.FieldCount - 1))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; //CariFields.Add(ReportQuery.FieldName(i));</div><div>&nbsp; &nbsp; // Tam burada SQL den dönmüş olan verideki field alanlarını sütun ismi olarak //ayarlamak istiyorum ama sorgunun textine ulaşamadım</div><div>&nbsp; }</div><div>}</div>]]>
   </description>
   <pubDate>Mon, 02 Feb 2026 14:59:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1258&amp;PID=2803#2803</guid>
  </item> 
 </channel>
</rss>