<?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 Hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Sql Hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:54:49 +0000</pubDate>
  <lastBuildDate>Thu, 08 Aug 2024 17:51:21 +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=844</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 Hatası : Merhaba Ahmet,SQL sorgusundan...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=844&amp;PID=1602#1602</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 844<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Ağustos&nbsp;2024 Saat 17:51<br /><br />Merhaba Ahmet,<div><br></div><div>SQL sorgusundan hata alıyorsun. insert içerisinde bir tane sütun vermişsin fakat values kısmında birden fazla değer var. Insert işlemini yapmak istediğin sütun isimlerinin hepsini yazmalısın. Values sayısı sütun sayısı ile aynı olmalı.</div>]]>
   </description>
   <pubDate>Thu, 08 Aug 2024 17:51:21 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=844&amp;PID=1602#1602</guid>
  </item> 
  <item>
   <title><![CDATA[Sql Hatası : var dcGameForm: TclGameForm; kullaniciBilgileriPanel:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=844&amp;PID=1564#1564</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=217">AhmetUnuvar</a><br /><strong>Konu:</strong> 844<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Ağustos&nbsp;2024 Saat 14:01<br /><br /><div>var</div><div>&nbsp; dcGameForm: TclGameForm;</div><div>&nbsp; kullaniciBilgileriPanel: TclProPanel;</div><div>&nbsp; btnOyunaBasla: TClProButton;</div><div>&nbsp; oyuncuAdiProEdit1,oyuncuAdiProEdit2,oyuncuAdiProEdit3,oyuncuAdiProEdit4: TclProEdit;</div><div>&nbsp; oyuncuSayisiCmb: TCLComboBox;</div><div>&nbsp; arkaPlan: TCLImage;</div><div>&nbsp; ikiKisilikUnit, ucKisilikUnit, dortKisilikUnit: TclUnit;</div><div>&nbsp; oyuncuSayisiLbl : TClProLabel;</div><div>&nbsp; addNameQuery : TclSqlQuery;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>void insertName;</div><div>{</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.Sql.Text = 'INSERT INTO tbl_oyuncu_ad (oyuncuAd) VALUES ('+QuotedStr(oyuncuAdiProEdit1.Text)+','+QuotedStr(oyuncuAdiProEdit2.Text)+','+QuotedStr(oyuncuAdiProEdit3.Text)+','+QuotedStr(oyuncuAdiProEdit4.Text)+')';</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; ShowMessage('İsimler Veritabanına Eklendi');</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Exception Class :' +LastExceptionClassName+' Exception Message:' + LastExceptionMessage );</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>}</div><div>&nbsp;&nbsp;</div><div><br></div><div>void goToIkiKisilik;&nbsp;</div><div>{</div><div>&nbsp; dcGameForm.clShow;</div><div>&nbsp; ikiKisilikUnit.UnitName = 'ikiKisilikUnit';</div><div>&nbsp; ikiKisilikUnit.CallerForm = dcGameForm;</div><div>&nbsp; ikiKisilikUnit.Run;</div><div>}</div><div><br></div><div>void goToUcKisilik;</div><div>{</div><div>&nbsp; dcGameForm.clShow;</div><div>&nbsp; ucKisilikUnit.UnitName = 'ucKisilikUnit';</div><div>&nbsp; ucKisilikUnit.CallerForm = dcGameForm;</div><div>&nbsp; ucKisilikUnit.Run;</div><div>}</div><div><br></div><div>void goToDortKisilik;</div><div>{</div><div>&nbsp; dcGameForm.clShow;</div><div>&nbsp; dortKisilikUnit.UnitName = 'dortKisilikUnit';</div><div>&nbsp; dortKisilikUnit.CallerForm = dcGameForm;</div><div>&nbsp; dortKisilikUnit.Run;</div><div>}</div><div><br></div><div>void butonaTikla;</div><div>{</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp; case oyuncuSayisiCmb.ItemIndex of</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; 0: goToIkiKisilik;&nbsp; // 2 oyuncu seçildiğinde</div><div>&nbsp; &nbsp; 1: goToUcKisilik;&nbsp; &nbsp; // 3 oyuncu seçildiğinde</div><div>&nbsp; &nbsp; 2: goToDortKisilik;&nbsp; // 4 oyuncu seçildiğinde</div><div>&nbsp;&nbsp;</div><div>&nbsp; else</div><div>&nbsp; &nbsp; ShowMessage('Geçersiz Seçim');</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>}</div><div>{</div><div>&nbsp; dcGameForm = TclGameForm.Create(Self);</div><div>&nbsp; ikiKisilikUnit = TclUnit.Create;</div><div>&nbsp; ucKisilikUnit = TclUnit.Create;</div><div>&nbsp; dortKisilikUnit = TclUnit.Create;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Arka Plan</div><div>&nbsp; arkaPlan = dcGameForm.AddNewImage(dcGameForm, 'arkaPlan');</div><div>&nbsp; arkaPlan.Align = alClient;</div><div>&nbsp; arkaPlan.Height = 250;</div><div>&nbsp; arkaPlan.Width = 300;</div><div>&nbsp; dcGameForm.SetImage(arkaPlan, '<a href="https://i.hizliresim.com/d5u495h.png" target="_blank" rel="nofollow">https://i.hizliresim.com/d5u495h.png</a>');</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Panel</div><div>&nbsp; kullaniciBilgileriPanel = dcGameForm.AddNewProPanel(dcGameForm, 'kullaniciBilgileriPanel');</div><div>&nbsp; clComponent.SetupComponent(kullaniciBilgileriPanel,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; &nbsp; "MarginBottom": 135,</div><div>&nbsp; &nbsp; &nbsp; "MarginTop":110,</div><div>&nbsp; &nbsp; &nbsp; "Width" : 350,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 450,</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 10,</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 10,</div><div>&nbsp; &nbsp; &nbsp; "BorderWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; "BorderColor" : "#ffffff"</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuSayisiCmb = dcGameForm.AddNewComboBox(kullaniciBilgileriPanel, 'oyuncuSayisiCmb');</div><div>&nbsp; oyuncuSayisiCmb.Align = alCenter;</div><div>&nbsp; oyuncuSayisiCmb.Width = 60;</div><div>&nbsp; oyuncuSayisiCmb.Height = 30;</div><div>&nbsp; oyuncuSayisiCmb.Margins.Left = 35;</div><div>&nbsp; oyuncuSayisiCmb.Margins.Bottom = 400;</div><div>&nbsp; oyuncuSayisiCmb.AddItem('2', '2');</div><div>&nbsp; oyuncuSayisiCmb.AddItem('3', '3');</div><div>&nbsp; oyuncuSayisiCmb.AddItem('4', '4');</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuSayisiLbl = dcGameForm.AddNewProLabel(kullaniciBilgileriPanel, 'oyuncuSayisiLbl', 'Oyuncu Sayısını Seçiniz:');</div><div>&nbsp; clComponent.SetupComponent(oyuncuSayisiLbl,</div><div>&nbsp;&nbsp;</div><div>&nbsp; '{</div><div>&nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; "MarginRight" :220,</div><div>&nbsp; &nbsp; "MarginBottom" :400,</div><div>&nbsp; &nbsp; "TextColor":"#000000",</div><div>&nbsp; &nbsp; "TextSize":11,</div><div>&nbsp; &nbsp; "TextVerticalAlign":"center",</div><div>&nbsp; &nbsp; "TextHorizontalAlign":"left"</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; }');</div><div><br></div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuAdiProEdit1 = dcGameForm.AddNewProEdit(kullaniciBilgileriPanel, 'oyuncuAdiProEdit1', 'Oyuncu 1');</div><div>&nbsp; clComponent.SetupComponent(</div><div>&nbsp; &nbsp; oyuncuAdiProEdit1,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; &nbsp; "MarginBottom" : 200,</div><div>&nbsp; &nbsp; &nbsp; "Width"&nbsp; : 180,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 45,</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 14,</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; "BorderWidth":2</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuAdiProEdit2 = dcGameForm.AddNewProEdit(kullaniciBilgileriPanel, 'oyuncuAdiProEdit2', 'Oyuncu 2');</div><div>&nbsp; clComponent.SetupComponent(</div><div>&nbsp; &nbsp; oyuncuAdiProEdit2,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; &nbsp; "MarginBottom" : 100,</div><div>&nbsp; &nbsp; &nbsp; "Width"&nbsp; : 180,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 45,</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 14,</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; "BorderWidth":2</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuAdiProEdit3 = dcGameForm.AddNewProEdit(kullaniciBilgileriPanel, 'oyuncuAdiProEdit3', 'Oyuncu 3');</div><div>&nbsp; clComponent.SetupComponent(</div><div>&nbsp; &nbsp; oyuncuAdiProEdit3,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; &nbsp; "MarginTop" : 150,</div><div>&nbsp; &nbsp; &nbsp; "Width"&nbsp; : 180,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 45,</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 14,</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "BorderWidth":2</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp; oyuncuAdiProEdit4 = dcGameForm.AddNewProEdit(kullaniciBilgileriPanel, 'oyuncuAdiProEdit4', 'Oyuncu 4');</div><div>&nbsp; clComponent.SetupComponent(</div><div>&nbsp; &nbsp; oyuncuAdiProEdit4,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",</div><div>&nbsp; &nbsp; &nbsp; "MarginTop" : 250,</div><div>&nbsp; &nbsp; &nbsp; "Width"&nbsp; : 180,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 45,</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 14,</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "BorderWidth":2</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; btnOyunaBasla = dcGameForm.AddNewProButton(dcGameForm, 'btnOyunaBasla', 'Oyuna Başla');</div><div>&nbsp; clComponent.SetupComponent(</div><div>&nbsp; &nbsp; btnOyunaBasla,</div><div>&nbsp; &nbsp; '{</div><div>&nbsp; &nbsp; &nbsp; "caption" : "Oyuna Başla",&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "Align" : "Center",&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "MarginTop" : 340,&nbsp;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; &nbsp; "Height" : 50,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "RoundHeight" : 7,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "RoundWidth" : 2 ,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "BorderColor" : "#ffffff" ,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; "BorderWidth" : 2,</div><div>&nbsp; &nbsp; &nbsp; "BackgroundColor": "#ec7979",</div><div>&nbsp; &nbsp; &nbsp; "FontStyle":"bold"</div><div>&nbsp; &nbsp; }'</div><div>&nbsp; );</div><div>&nbsp;&nbsp;</div><div>&nbsp; addNameQuery&nbsp; = TclSqlQuery.Create(Nil);</div><div>&nbsp; Clomosy.DBSQLServerConnect('SQL Server', 'DESKTOP-Q7UNJV9\SQLEXPRESS', 'sa', 'Aze129901', 'DC',1433);</div><div>&nbsp; addNameQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div><br></div><div>&nbsp; btnOyunaBasla.OnClick = 'insertName';</div><div>&nbsp;&nbsp;</div><div>&nbsp; dcGameForm.Run;</div><div>}<br><br><br>Merhabalar. Editlere girdiğim isimleri veritabanına kaydetmek istiyorum ancak&nbsp;&nbsp;<br><div>Exception Class : EUniError Exception Message : There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.</div></div><div><br>hatası alıyorum. Database adım DC , tablo adım tbl_oyuncu_ad , sütun isimleri sırasıyla&nbsp;<br>oyuncuAd ,&nbsp;oyuncuAdIki ,&nbsp;oyuncuAdUc ,&nbsp;oyuncuAdDort ve veri tipleri nvarchar<br><br></div>]]>
   </description>
   <pubDate>Thu, 08 Aug 2024 14:01:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=844&amp;PID=1564#1564</guid>
  </item> 
 </channel>
</rss>