<?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 : kod hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : TclForm Olu&#351;turma : kod hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 20:55:29 +0000</pubDate>
  <lastBuildDate>Sat, 24 May 2025 12:35:17 +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=1025</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[kod hatası : Merhaba G&#252;l&#351;en,Try-Except blo&#287;una...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1025&amp;PID=2050#2050</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> 1025<br /><strong>Gönderim Zamanı:</strong> 24&nbsp;Mayıs&nbsp;2025 Saat 12:35<br /><br />Merhaba Gülşen,<br>Try-Except bloğuna bir süslü parantez daha eklemen gerekiyor.&nbsp;<br><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.Sql.Text = 'INSERT INTO Region (RegionID,RegionDescripption) VALUES('+edtRegionID.Text+', '+QuotedsStr(edtRegionDesc.Text)+')';&nbsp; &nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; ShowMessage('Veri Ekleme Başarılı');</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception Class: ' + LastExceptionClassName+'Exception Message: '+ LastExceptionMessage);</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div>}</div>]]>
   </description>
   <pubDate>Sat, 24 May 2025 12:35:17 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1025&amp;PID=2050#2050</guid>
  </item> 
  <item>
   <title><![CDATA[kod hatası : varMyForm:TclForm;edtRegionID,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1025&amp;PID=2048#2048</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=296">Gulsen</a><br /><strong>Konu:</strong> 1025<br /><strong>Gönderim Zamanı:</strong> 23&nbsp;Mayıs&nbsp;2025 Saat 20:26<br /><br /><div>var&nbsp;</div><div>MyForm:TclForm;</div><div>edtRegionID,edtRegionDesc:TCLEdit;</div><div>buton:TCLButton;</div><div>InsertQuery:TclSqlQuery;</div><div><br></div><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.Sql.Text = 'INSERT INTO Region (RegionID,RegionDescripption) VALUES('+edtRegionID.Text+', '+QuotedsStr(edtRegionDesc.Text)+')';&nbsp; &nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; ShowMessage('Veri Ekleme Başarılı');</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception Class: ' + LastExceptionClassName+'Exception Message: '+ LastExceptionMessage);</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div>{</div><div><br></div><div>MyForm=TclForm.Create(Self);</div><div><br></div><div>MyForm.AddNewEvent(MyForm,'edtRegionID','ingilizcesi');</div><div>edtRegionID.Margins.Right=150;</div><div><br></div><div>MyForm.AddNewEvent(MyForm,'edtRegionDesc','turkcesi');</div><div>edtRegionID.Margins.Left=150;</div><div><br></div><div>MyForm.AddNewButton(MyForm,'buton', 'kaydet');</div><div>buton.Align=albottom;</div><div>MyForm.AddNewEvent(buton, tbeOnClick,'InsertToDatabase');</div><div><br></div><div>InsertQuery =TclSqlQuery.Create(nil);</div><div>Clomosy.DBSQLServerConnect('SQL Server','(localdb)\MSSQLLocalDB','ClomosyUser','123456','NorthWind',1433);</div><div>InsertQuery.Connection=Clomosy.DBSQLServerConnection;</div><div><br></div><div>MyForm.Run;</div><div>}</div><div><br></div><div>Hata olarak sondaki boş satırı yada olmayan ilk satırı veriyor. Kodda 38 satır var ama hata kodu:</div><div><div style=": rgb255, 255, 254; font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div><span style="color: #008080;">Syntax</span> error.</div><div><span style="color: #008080;">Source</span> position: <span style="color: #098658;">39</span>,<span style="color: #098658;">1</span></div><div><span style="color: #008080;">Clomosy</span> <span style="color: #008080;">Build</span> : <span style="color: #098658;">20240709.111531</span></div></div></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 23 May 2025 20:26:07 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1025&amp;PID=2048#2048</guid>
  </item> 
 </channel>
</rss>