<?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 : SQL</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : SQL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 16:31:28 +0000</pubDate>
  <lastBuildDate>Fri, 19 Jul 2024 16:02:27 +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=702</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[SQL : Merhaba Hacer,Kodlar&#305; kontrol...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=702&amp;PID=1082#1082</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 702<br /><strong>Gönderim Zamanı:</strong> 19&nbsp;Temmuz&nbsp;2024 Saat 16:02<br /><br /><div>Merhaba Hacer,</div><div>Kodları kontrol eder misin?</div><div>var</div><div>&nbsp; anaForm: TclStyleForm;</div><div>&nbsp; testImg: TClProImage;</div><div>&nbsp; LocalQ: TClSqlQuery;</div><div>&nbsp; quoteList: TclArrayString;</div><div>&nbsp; randomIndex: Integer;</div><div><br></div><div>void ShowRandomQuote;</div><div>{</div><div>&nbsp; if (quoteList.count &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; randomIndex = clMath.GenerateRandom(0,quoteList.count);</div><div>&nbsp; &nbsp; ShowMessage(quoteList.GetItem(randomIndex));</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('No quotes available.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div><br></div><div><br></div><div><br></div><div>void SetImage;</div><div>{</div><div>&nbsp; testImg = anaForm.AddNewProImage(anaForm, 'testImg');</div><div>&nbsp;&nbsp;</div><div>&nbsp; clComponent.SetupComponent(testImg,</div><div>&nbsp; '{</div><div>&nbsp; "MarginBottom":50,</div><div>&nbsp; "Width":50,&nbsp;</div><div>&nbsp; "Height":50,</div><div>&nbsp; "BorderColor":"#ff94c8",</div><div>&nbsp; "BorderWidth":3,</div><div>&nbsp; "ImgUrl":"<a href="https://i.pinimg.com/550x/2d/1b/36/2d1b36a0f02dd5f0c663a8f58207ca01.jpg" target="_blank" rel="nofollow">https://i.pinimg.com/550x/2d/1b/36/2d1b36a0f02dd5f0c663a8f58207ca01.jpg"</a>,&nbsp;</div><div>&nbsp; "ImgFit":"yes"}');</div><div><br></div><div>&nbsp; anaForm.AddNewEvent(testImg, tbeOnClick, 'ShowRandomQuote');</div><div>}</div><div><br></div><div><br></div><div><br></div><div>{</div><div>&nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', '192.168.5.11', 'sa', 'axoft', 'PRATIK24', 1433);</div><div>&nbsp; &nbsp;except</div><div>&nbsp; &nbsp; &nbsp;ShowMessage('Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp;}</div><div>&nbsp;</div><div><br></div><div>&nbsp; anaForm = TclStyleForm.Create(Self);</div><div>&nbsp; LocalQ = TClSqlQuery.Create(nil);</div><div>&nbsp; quoteList = TclArrayString.Create;</div><div><br></div><div>&nbsp; try</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; LocalQ = Clomosy.DBSQLServerQueryWith('select kisi_adi as MAIN_TEXT from vardiyaa');</div><div>&nbsp; &nbsp; LocalQ.Open;</div><div><br></div><div>&nbsp; &nbsp; LocalQ.First;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; while (NOT LocalQ.EOF)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; quoteList.Add(LocalQ.FieldByName('MAIN_TEXT').AsString);</div><div>&nbsp; &nbsp; &nbsp; LocalQ.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp; LocalQ.Free;</div><div><br></div><div>&nbsp; anaForm.SetFormColor('#ffe5fa', '#e6ffe5', clGVertical);</div><div>&nbsp; SetImage;</div><div>&nbsp; anaForm.Run;</div><div>}</div>]]>
   </description>
   <pubDate>Fri, 19 Jul 2024 16:02:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=702&amp;PID=1082#1082</guid>
  </item> 
  <item>
   <title><![CDATA[SQL : var anaForm: TclStyleForm; testImg:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=702&amp;PID=1080#1080</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=187">Hacer</a><br /><strong>Konu:</strong> 702<br /><strong>Gönderim Zamanı:</strong> 19&nbsp;Temmuz&nbsp;2024 Saat 11:37<br /><br /><div>var</div><div>&nbsp; anaForm: TclStyleForm;</div><div>&nbsp; testImg: TClProImage;</div><div>&nbsp; LocalQ: TClSqlQuery;</div><div>&nbsp; quoteList: array of String;</div><div>&nbsp; randomIndex: Integer;</div><div><br></div><div>void SetImage;</div><div>{</div><div>&nbsp; testImg = anaForm.AddNewProImage(anaForm, 'testImg');</div><div>&nbsp;&nbsp;</div><div>&nbsp; clComponent.SetupComponent(testImg,</div><div>&nbsp; '{</div><div>&nbsp; "MarginBottom":50,</div><div>&nbsp; "Width":50,&nbsp;</div><div>&nbsp; "Height":50,</div><div>&nbsp; "BorderColor":"#ff94c8",</div><div>&nbsp; "BorderWidth":3,</div><div>&nbsp; "ImgUrl":"<a href="https://i.pinimg.com/550x/2d/1b/36/2d1b36a0f02dd5f0c663a8f58207ca01.jpg" target="_blank" rel="nofollow">https://i.pinimg.com/550x/2d/1b/36/2d1b36a0f02dd5f0c663a8f58207ca01.jpg"</a>,&nbsp;</div><div>&nbsp; "ImgFit":"yes"}');</div><div><br></div><div>&nbsp; anaForm.AddNewEvent(testImg, tbeOnClick, 'ShowRandomQuote');</div><div>}</div><div><br></div><div>void ShowRandomQuote;</div><div>{</div><div>&nbsp; if (Length(quoteList) &gt; 0)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; randomIndex = Random(Length(quoteList));</div><div>&nbsp; &nbsp; ShowMessage(quoteList&#091;randomIndex&#093;);</div><div>&nbsp; }</div><div>&nbsp; else</div><div>&nbsp; {</div><div>&nbsp; &nbsp; ShowMessage('No quotes available.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>{</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server', '172.16.222.147', 'hacer', '123456789', 'RepliklerDB', 50000);</div><div><br></div><div>&nbsp; anaForm = TclStyleForm.Create(Self);</div><div>&nbsp; LocalQ = TClSqlQuery.Create(nil);</div><div>&nbsp; quoteList = &#091;&#093;;</div><div><br></div><div>&nbsp; try</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; LocalQ.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; LocalQ.SQL.Text = 'SELECT replik AS MAIN_TEXT FROM Replikler';</div><div>&nbsp; &nbsp; LocalQ.Open;</div><div><br></div><div>&nbsp; &nbsp; LocalQ.First;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; while (NOT LocalQ.EOF)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; quoteList.Add(LocalQ.FieldByName('MAIN_TEXT').AsString);</div><div>&nbsp; &nbsp; &nbsp; LocalQ.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('hata');</div><div>&nbsp; }</div><div>&nbsp; LocalQ.Free;</div><div><br></div><div>&nbsp; anaForm.SetFormColor('#ffe5fa', '#e6ffe5', clGVertical);</div><div>&nbsp; SetImage;</div><div>&nbsp; anaForm.Run;</div><div>}</div><div>"SQL'e bağlanmıyor."</div>]]>
   </description>
   <pubDate>Fri, 19 Jul 2024 11:37:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=702&amp;PID=1080#1080</guid>
  </item> 
 </channel>
</rss>