<?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 : ProListView ve SQL bağlantısı</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : ProListView ve SQL bağlantısı]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:54:55 +0000</pubDate>
  <lastBuildDate>Tue, 06 Aug 2024 15:42:39 +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=808</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[ProListView ve SQL bağlantısı : selectQuery.SQL.text = &amp;#039;SELECT...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1468#1468</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2024 Saat 15:42<br /><br /><div>selectQuery.SQL.text = 'SELECT ID AS &#091;Kisi ID&#093;, Kisi AS &#091;Kisi İsmi&#093;, Yer AS &#091;Alindigi Yer&#093;,&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Tarih AS &#091;Alinma Zamani&#093;, KmDegeri AS &#091;Km Degeri&#093;, Konum AS &#091;Konumu&#093; From KisiBilgileri';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.Open;&nbsp;</div><div><br></div><div>bu şekilde yazınca düzeldi teşekkür ederim.</div>]]>
   </description>
   <pubDate>Tue, 06 Aug 2024 15:42:39 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1468#1468</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : Exception Class : EUniError Exception...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1463#1463</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2024 Saat 15:37<br /><br />Exception Class : EUniError Exception Message : Incorrect syntax near 'ID'.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<div>kod clomosyde çalıştı ama sanırım sql taraından böyle bir hata alıyorum.&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 06 Aug 2024 15:37:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1463#1463</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : Merhaba Zeynep, Var 	 MyForm:TclForm;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1461#1461</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2024 Saat 15:32<br /><br />Merhaba Zeynep,<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>Var&nbsp; &nbsp;<span style="white-space:pre">	</span></div><div>&nbsp; MyForm:TclForm;</div><div>&nbsp; Label1,adLbl,mekanLbl,zamanLbl,kmLbl,konumLbl,idLbl: TClProLabel;</div><div>&nbsp; ProBtn1,ProBtn2,ProBtn3 : TClProButton;</div><div>&nbsp; ProEdit1,ProEdit2,ProEdit3,ProEdit4,ProEdit5,ProEdit6:TclProEdit;</div><div>&nbsp; ProListView : TClProListView;</div><div>&nbsp; DesignerPanel : TClProListViewDesignerPanel;&nbsp;</div><div>&nbsp; ID,Kisi,Yer,Tarih,KmDegeri,Konum:TClProLabel;</div><div>&nbsp; selectQuery: TclSqlQuery;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;void AddDataToListView; // bu fonksiyon devreye girince hata veriyor</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.SQL.text = 'SELECT ID AS Kisi ID ,&nbsp; Kisi AS Kisi İsmi, Yer AS Alindigi Yer,</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Tarih AS Alinma Zamani, KmDegeri AS Km Degeri, Konum AS Konumu FROM KisiBilgileri';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.Open;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if(selectQuery.Found)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProListView.ClLoadProListViewDataFromDataset(selectQuery);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Kayıt Bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Exception class: '+LastExceptionClassName+' Exception Message: ' +LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;void InsertToDatabase;&nbsp; &nbsp;//bu fonksiyonum başarılı veritabanına ekleme yapıyor&nbsp;</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.SQL.text= 'INSERT INTO KisiBilgileri (ID,Kisi,Yer,Tarih,KmDegeri,Konum) VALUES (</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit6.Text+','+QuotedStr(ProEdit1.Text)+', '+QuotedStr(ProEdit2.Text)+','+QuotedStr(ProEdit3.Text)+',</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit4.Text+',&nbsp; '+QuotedStr(ProEdit5.Text)+')';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Veri Ekleme Başarılı.');</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Exception class: '+LastExceptionClassName+' Exception Message: ' +LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp;{</div><div>&nbsp; &nbsp;MyForm = TclForm.Create(Self);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.SetFormColor('#f5f0f0', '#c3d3da', clGVertical);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProListView=MyForm.AddNewProListView(MyForm, 'ProListView');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProListView,'{"Height" : 120 ,"Width": 150, "Align":"Client","MarginBottom":50,"MarginTop":380,</div><div>&nbsp; &nbsp;"MarginRight":20,"MarginLeft":20, "BackgroundColor":"#92a1aa", "ListType":"fluid","ItemHeight" : 50, "BorderColor":"#4c5c67",</div><div>&nbsp; &nbsp;"BorderWidth":2 , "ItemWidth":50}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;DesignerPanel=MyForm.AddNewProListViewDesignerPanel(ProListView,'DesignerPanel');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(DesignerPanel,</div><div>&nbsp; &nbsp;'{"Height":100,"Width" : 150,</div><div>&nbsp; &nbsp;"BackgroundColor":"#677b98",</div><div>&nbsp; &nbsp;"BorderColor":"#2c5696",</div><div>&nbsp; &nbsp;"BorderWidth":2,</div><div>&nbsp; &nbsp;"RoundHeight":2,</div><div>&nbsp; &nbsp;"RoundWidth":2}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ID = MyForm.AddNewProLabel(DesignerPanel,'ID','');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ID,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(ID,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Kisi = MyForm.AddNewProLabel(DesignerPanel,'Kisi','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Kisi,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Kisi,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Yer = MyForm.AddNewProLabel(DesignerPanel,'Yer','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Yer,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Yer,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Tarih = MyForm.AddNewProLabel(DesignerPanel,'Tarih','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Tarih,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Tarih,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; KmDegeri = MyForm.AddNewProLabel(DesignerPanel,'KmDegeri','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(KmDegeri,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(KmDegeri,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Konum= MyForm.AddNewProLabel(DesignerPanel,'Konum','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Konum,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Konum,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ProListView.SetDesignerPanel(DesignerPanel);&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;idLbl = MyForm.AddNewProLabel(MyForm,'idLbl','Kişi ID:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(idLbl,'{"MarginBottom":550,"MarginRight":130, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;adLbl = MyForm.AddNewProLabel(MyForm,'adLbl','Kişi İsmi:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(adLbl,'{"MarginBottom":450,"MarginRight":130, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;mekanLbl = MyForm.AddNewProLabel(MyForm,'mekanLbl','Alındığı Yer:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(mekanLbl,'{"MarginBottom":350,"MarginRight":145, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;zamanLbl = MyForm.AddNewProLabel(MyForm,'zamanLbl','Alınma Zamanı:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(zamanLbl,'{"MarginBottom":250,"MarginRight":170, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;kmLbl = MyForm.AddNewProLabel(MyForm,'kmLbl','Km Değeri:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(kmLbl,'{"MarginBottom":150,"MarginRight":140, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;konumLbl = MyForm.AddNewProLabel(MyForm,'konumLbl','Konumu:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(konumLbl,'{"MarginBottom":50,"MarginRight":135, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn1=MyForm.AddNewProButton(MyForm, 'ProBtn1', 'Ekle');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn1,'{"caption":"Ekle","MarginTop":70,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn2=MyForm.AddNewProButton(MyForm, 'ProBtn2', 'Güncelle');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn2,'{"caption":"Güncelle","MarginTop":70, "MarginLeft":110,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn3=MyForm.AddNewProButton(MyForm, 'ProBtn3', 'Sil');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn3,'{"caption":"Sil","MarginTop":70,"MarginRight":110,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;Label1 = MyForm.AddNewProLabel(MyForm,'Label1','ARAÇ TAKİP UYGULAMASI');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(Label1,'{"Align" : "Center","MarginBottom":630,"Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":20,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit1=MyForm.AddNewProEdit(MyForm, 'ProEdit1', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit1,'{"Align" : "Center","MarginBottom":450,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}')</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit2=MyForm.AddNewProEdit(MyForm, 'ProEdit2', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit2,'{"Align" : "Center","MarginBottom":350,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit3=MyForm.AddNewProEdit(MyForm, 'ProEdit3', 'Yıl-Ay-Gün');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit3,'{"Align" : "Center","MarginBottom":250,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');</div><div><br></div><div>&nbsp; &nbsp;ProEdit4=MyForm.AddNewProEdit(MyForm, 'ProEdit4', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit4,'{"Align" : "Center","MarginBottom":150,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp; &nbsp;</div><div>&nbsp; // ProEdit4.clTypeOfField=taFloat;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit5=MyForm.AddNewProEdit(MyForm, 'ProEdit5', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit5,'{"Align" : "Center","MarginBottom":50,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit6=MyForm.AddNewProEdit(MyForm, 'ProEdit6', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit6,'{"Align" : "Center","MarginBottom":550,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.AddNewEvent(ProBtn1,tbeOnClick,'InsertToDatabase');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;selectQuery = TclSqlQuery.Create(nil);</div><div>&nbsp; &nbsp;Clomosy.DBSQLServerConnect('SQL Server', 'DESKTOP-T9RHDI8\SQLEXPRESS', 'sa', '1', 'AracTakip', 1433);</div><div>&nbsp; &nbsp;selectQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;AddDataToListView;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.Run;</div><div>&nbsp;}</div></div><div></pre></td></tr></table></div><div><br></div><div>Bu şekilde dener misin?</div>]]>
   </description>
   <pubDate>Tue, 06 Aug 2024 15:32:21 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1461#1461</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : Var 	 MyForm:TclForm; Label1,a...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1438#1438</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Ağustos&nbsp;2024 Saat 01:20<br /><br /><div>Var&nbsp; &nbsp;<span style="white-space:pre">	</span></div><div>&nbsp; MyForm:TclForm;</div><div>&nbsp; Label1,adLbl,mekanLbl,zamanLbl,kmLbl,konumLbl,idLbl: TClProLabel;</div><div>&nbsp; ProBtn1,ProBtn2,ProBtn3 : TClProButton;</div><div>&nbsp; ProEdit1,ProEdit2,ProEdit3,ProEdit4,ProEdit5,ProEdit6:TclProEdit;</div><div>&nbsp; ProListView : TClProListView;</div><div>&nbsp; DesignerPanel : TClProListViewDesignerPanel;&nbsp;</div><div>&nbsp; ID,Kisi,Yer,Tarih,KmDegeri,Konum:TClProLabel;</div><div>&nbsp; selectQuery: TclSqlQuery;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;void AddDataToListView;<font color="#ff0000"> // bu fonksiyon devreye girince hata veriyor</font></div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.SQL.text = 'SELECT ID AS Kisi ID ,&nbsp; Kisi AS Kisi İsmi, Yer AS Alindigi Yer,</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Tarih AS Alinma Zamani, KmDegeri AS Km Degeri, Konum AS Konumu FROM KisiBilgileri';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.Open;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if(selectQuery.Found)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProListView.ClLoadProListViewDataFromDataset(selectQuery);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Kayıt Bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;finally</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Free;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Close;</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;void InsertToDatabase;&nbsp;<font color="#ff0000"> &nbsp;//bu fonksiyonum başarılı veritabanına ekleme yapıyor&nbsp;</font></div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.SQL.text= 'INSERT INTO KisiBilgileri (ID,Kisi,Yer,Tarih,KmDegeri,Konum) VALUES (</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit6.Text+','+QuotedStr(ProEdit1.Text)+', '+QuotedStr(ProEdit2.Text)+','+QuotedStr(ProEdit3.Text)+',</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit4.Text+',&nbsp; '+QuotedStr(ProEdit5.Text)+')';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Veri Ekleme Başarılı.');</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Exception class: '+LastExceptionClassName+' Exception Message: ' +LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp;{</div><div>&nbsp; &nbsp;MyForm = TclForm.Create(Self);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.SetFormColor('#f5f0f0', '#c3d3da', clGVertical);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;DesignerPanel=MyForm.AddNewProListViewDesignerPanel(ProListView,'DesignerPanel');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(DesignerPanel,</div><div>&nbsp; &nbsp;'{"Height":100,"Width" : 150,</div><div>&nbsp; &nbsp;"BackgroundColor":"#677b98",</div><div>&nbsp; &nbsp;"BorderColor":"#2c5696",</div><div>&nbsp; &nbsp;"BorderWidth":2,</div><div>&nbsp; &nbsp;"RoundHeight":2,</div><div>&nbsp; &nbsp;"RoundWidth":2}');</div><div>&nbsp; &nbsp;ProListView.SetDesignerPanel(DesignerPanel);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ID = MyForm.AddNewProLabel(DesignerPanel,'ID','');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ID,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(ID,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Kisi = MyForm.AddNewProLabel(DesignerPanel,'Kisi','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Kisi,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Kisi,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Yer = MyForm.AddNewProLabel(DesignerPanel,'Yer','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Yer,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Yer,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Tarih = MyForm.AddNewProLabel(DesignerPanel,'Tarih','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Tarih,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Tarih,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; KmDegeri = MyForm.AddNewProLabel(DesignerPanel,'KmDegeri','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(KmDegeri,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(KmDegeri,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Konum= MyForm.AddNewProLabel(DesignerPanel,'Konum','');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Konum,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":10,</div><div>&nbsp; &nbsp; "Width" : 100,</div><div>&nbsp; &nbsp; "BackgroundColor":"#a4a5a8",</div><div>&nbsp; &nbsp; "BorderColor":"#7a4848",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":2,</div><div>&nbsp; &nbsp; "RoundWidth":2}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Konum,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProListView=MyForm.AddNewProListView(MyForm, 'ProListView');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProListView,'{"Height" : 120 ,"Width": 150, "Align":"Client","MarginBottom":50,"MarginTop":380,</div><div>&nbsp; &nbsp;"MarginRight":20,"MarginLeft":20, "BackgroundColor":"#92a1aa", "ListType":"fluid","ItemHeight" : 50, "BorderColor":"#4c5c67",</div><div>&nbsp; &nbsp;"BorderWidth":2 , "ItemWidth":50}');</div><div>&nbsp; &nbsp; ProListView.SetDesignerPanel(DesignerPanel);&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;idLbl = MyForm.AddNewProLabel(MyForm,'idLbl','Kişi ID:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(idLbl,'{"MarginBottom":550,"MarginRight":130, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;adLbl = MyForm.AddNewProLabel(MyForm,'adLbl','Kişi İsmi:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(adLbl,'{"MarginBottom":450,"MarginRight":130, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;mekanLbl = MyForm.AddNewProLabel(MyForm,'mekanLbl','Alındığı Yer:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(mekanLbl,'{"MarginBottom":350,"MarginRight":145, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;zamanLbl = MyForm.AddNewProLabel(MyForm,'zamanLbl','Alınma Zamanı:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(zamanLbl,'{"MarginBottom":250,"MarginRight":170, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;kmLbl = MyForm.AddNewProLabel(MyForm,'kmLbl','Km Değeri:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(kmLbl,'{"MarginBottom":150,"MarginRight":140, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;konumLbl = MyForm.AddNewProLabel(MyForm,'konumLbl','Konumu:');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(konumLbl,'{"MarginBottom":50,"MarginRight":135, "Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":14,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn1=MyForm.AddNewProButton(MyForm, 'ProBtn1', 'Ekle');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn1,'{"caption":"Ekle","MarginTop":70,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn2=MyForm.AddNewProButton(MyForm, 'ProBtn2', 'Güncelle');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn2,'{"caption":"Güncelle","MarginTop":70, "MarginLeft":110,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProBtn3=MyForm.AddNewProButton(MyForm, 'ProBtn3', 'Sil');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProBtn3,'{"caption":"Sil","MarginTop":70,"MarginRight":110,</div><div>&nbsp; &nbsp;"Width" :50, "Height":35,"RoundHeight":2, "RoundWidth":2,"BorderColor":"#7A3E65","BorderWidth":2}');</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;Label1 = MyForm.AddNewProLabel(MyForm,'Label1','ARAÇ TAKİP UYGULAMASI');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(Label1,'{"Align" : "Center","MarginBottom":630,"Width" :</div><div>&nbsp; &nbsp;500, "Height":400,"TextColor":"#000000","TextSize":20,"TextVerticalAlign":"center",</div><div>&nbsp; &nbsp;"TextHorizontalAlign":"center"}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit1=MyForm.AddNewProEdit(MyForm, 'ProEdit1', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit1,'{"Align" : "Center","MarginBottom":450,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}')</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit2=MyForm.AddNewProEdit(MyForm, 'ProEdit2', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit2,'{"Align" : "Center","MarginBottom":350,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit3=MyForm.AddNewProEdit(MyForm, 'ProEdit3', 'Yıl-Ay-Gün');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit3,'{"Align" : "Center","MarginBottom":250,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');</div><div><br></div><div>&nbsp; &nbsp;ProEdit4=MyForm.AddNewProEdit(MyForm, 'ProEdit4', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit4,'{"Align" : "Center","MarginBottom":150,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp; &nbsp;</div><div>&nbsp; // ProEdit4.clTypeOfField=taFloat;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit5=MyForm.AddNewProEdit(MyForm, 'ProEdit5', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit5,'{"Align" : "Center","MarginBottom":50,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProEdit6=MyForm.AddNewProEdit(MyForm, 'ProEdit6', '');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProEdit6,'{"Align" : "Center","MarginBottom":550,"Width" :100</div><div>&nbsp; &nbsp;,"Height":30,"MarginLeft":27}');&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.AddNewEvent(ProBtn1,tbeOnClick,'InsertToDatabase');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;selectQuery = TclSqlQuery.Create(nil);</div><div>&nbsp; &nbsp;Clomosy.DBSQLServerConnect('SQL Server', 'DESKTOP-T9RHDI8\SQLEXPRESS', 'sa', '1', 'AracTakip', 1433);</div><div>&nbsp; &nbsp;selectQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;AddDataToListView;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;MyForm.Run;</div><div>&nbsp;}</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Designer panel kısmını ve üstteki fonksiyonu yorum satırına aldığımda her şey düzgünce çalışıyor.&nbsp; &nbsp;</div>]]>
   </description>
   <pubDate>Tue, 06 Aug 2024 01:20:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1438#1438</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : Merhaba Zeynep,B&#252;t&#252;n projeni payla&#351;&#305;r...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1432#1432</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 17:49<br /><br />Merhaba Zeynep,<div>Bütün projeni paylaşır mısın?</div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 17:49:37 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1432#1432</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : /* void AddDataToListView; {...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1426#1426</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 15:07<br /><br /><div><div>/*</div><div>&nbsp; &nbsp;void AddDataToListView;</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.SQL.text = 'SELECT ID AS Kisi ID ,&nbsp; Kisi AS Kisi İsmi, Yer AS Alindigi Yer,</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Tarih AS Alinma Zamani, KmDegeri AS Km Degeri, Konum AS Konumu FROM KisiBilgileri';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.Open;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if(selectQuery.Found)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProListView.ClLoadProListViewDataFromDataset(selectQuery);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Kayıt Bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;finally</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Free;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Close;</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;*/</div></div><div><br></div><div><br></div><div><br></div><div>/*DesignerPanel=MyForm.AddNewProListViewDesignerPanel(ProListView, 'DesignerPanel');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(DesignerPanel,'{"Height":100,"Width" : 150,"BackgroundColor":"#F6EDDB",</div><div>&nbsp; &nbsp;"BorderColor":"#F5BCC9","BorderWidth":2,"RoundHeight":20,"RoundWidth":20}');</div><div>&nbsp; &nbsp;ProListView.SetDesignerPanel(DesignerPanel);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ID = MyForm.AddNewProLabel(DesignerPanel,'ID','ID');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ID,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(ID,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Kisi = MyForm.AddNewProLabel(DesignerPanel,'Kisi','Kisi İsmi');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Kisi,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Kisi,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Yer = MyForm.AddNewProLabel(DesignerPanel,'Yer','Alındıgı Yer');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Yer,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Yer,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Tarih = MyForm.AddNewProLabel(DesignerPanel,'Tarih','Alınma Zamani');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Tarih,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Tarih,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; KmDegeri = MyForm.AddNewProLabel(DesignerPanel,'KmDegeri','Kilometre Degeri');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(KmDegeri,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(KmDegeri,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Konum= MyForm.AddNewProLabel(DesignerPanel,'Konum','Konumu');</div><div>&nbsp; &nbsp; clComponent.SetupComponent(Konum,&nbsp;</div><div>&nbsp; &nbsp;'{"Height":100,</div><div>&nbsp; &nbsp; "Width" : 150,</div><div>&nbsp; &nbsp; "BackgroundColor":"#f3d5aa",</div><div>&nbsp; &nbsp; "BorderColor":"#ff9b0f",</div><div>&nbsp; &nbsp; "BorderWidth":2,</div><div>&nbsp; &nbsp; "RoundHeight":20,</div><div>&nbsp; &nbsp; "RoundWidth":20}');</div><div>&nbsp; &nbsp; DesignerPanel.AddPanelObject(Konum,Cltext);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;ProListView=MyForm.AddNewProListView(MyForm, 'ProListView');</div><div>&nbsp; &nbsp;clComponent.SetupComponent(ProListView,'{"Height" : 150 ,"Width": 150, "Align":"Client","MarginBottom":50,"MarginTop":380,</div><div>&nbsp; &nbsp;"MarginRight":20,"MarginLeft":20, "ListType":"Cart","ItemHeight" : 50,</div><div>&nbsp; &nbsp;"ItemWidth":50}');</div><div>&nbsp; &nbsp;ProListView.SetDesignerPanel(DesignerPanel);</div><div>&nbsp; &nbsp;*/</div><div><br></div><div><br></div><div>Bu iki kısım yokken kodum hatasız çalışıyor. Bunları devreye soktuğumda yukarıda bahsettiğim hatayı veriyor.&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 15:07:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1426#1426</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : RUNTIME ERRORCould not convert...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1425#1425</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 15:01<br /><br /><div style=": rgb255, 255, 254; line-height: 16px;"><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">RUNTIME</span> <span style="color: #008080;">ERROR</span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">Could</span> not convert variant <span style="color: #0000ff;">of</span> type (<span style="color: #008080;">Null</span>) into type (<span style="color: #008080;">Integer</span>) when evaluating instruction <span style="color: #008080;">CallProc</span> ($FFFFFFFF,$2,$1320EA8,$6BF99A0,<span style="color: #a31515;">'AddNewProListViewDesignerPanel'</span>).</div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">Stack</span> content is: &#091;<span style="color: #008080;">Null</span>,<span style="color: #008080;">Null</span>,<span style="color: #008080;">Null</span>,<span style="color: #008080;">Null</span>...&#093;.</div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">Source</span> position: <span style="color: #098658;">49</span>,<span style="color: #098658;">85</span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">Position</span>: <span style="color: #098658;">49</span>, <span style="color: #098658;">85</span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #008080;">Clomosy</span> <span style="color: #008080;">Build</span> : <span style="color: #098658;">20240709.111531</span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #098658;"><br></span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #098658;"><br></span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><span style="color: #098658;"><br></span></div><div style="font-family: C&#111;nsolas, C&#111;nsolas, &quot;Courier New&quot;, monospace; font-size: 12px; white-space: pre;"><font color="#098658"><b>49.SATIR</b></font></div><div style=""><font color="#098658" face="C&#111;nsolas, C&#111;nsolas, Courier New, monospace"><span style="font-size: 12px; white-space: pre;">DesignerPanel=MyForm.AddNewProListViewDesignerPanel(ProListView, 'DesignerPanel'); </span></font></div><div style=""><font color="#098658" face="C&#111;nsolas, C&#111;nsolas, Courier New, monospace"><span style="font-size: 12px; white-space: pre;"><br></span></font></div><div style=""><font color="#098658" face="C&#111;nsolas, C&#111;nsolas, Courier New, monospace"><span style="font-size: 12px; white-space: pre;"><br></span></font></div><div style=""><font color="#003300" face="C&#111;nsolas, C&#111;nsolas, Courier New, monospace"><span style="font-size: 12px; white-space: pre;"><u><b>Dediğiniz gibi nesneleri tanımladım Şimdii böyle bir hata veriyor.</b></u></span></font></div></div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 15:01:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1425#1425</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : Merhaba Zeynep,Veritaban&#305;ndan...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1420#1420</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=132">Atiker01</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 14:21<br /><br />Merhaba Zeynep,<div><br></div><div>Veritabanından gelen sütun adları ile prolistview nesnesinin içerisinde oluşturulan nesnelerin isimleri aynı olmalıdır.</div><div><br></div><div>Örneğin,</div><div>tabloda "Kisi" adından bir alan adın var. ProListView içerisinde "Kisi" adında nesnen olmalıdır.&nbsp;</div><div><br></div><div>Bu şekilde düzenlemeleri yapabilirsin. Geri dönüşünü bekliyorum.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 14:21:15 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1420#1420</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : void AddDataToListView; {  try...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1415#1415</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 14:04<br /><br /><div>&nbsp;void AddDataToListView;</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp;try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.SQL.text = 'SELECT ID AS Kisi ID ,&nbsp; Kisi AS Kisi İsmi, Yer AS Alindigi Yer, Tarih AS Alinma Zamani, KmDegeri AS Km Degeri, Konum AS Konumu FROM KisiBilgileri';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;selectQuery.Open;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if(selectQuery.Found)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProListView.ClLoadProListViewDataFromDataset(selectQuery);</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else</div><div>&nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Kayıt Bulunamadı!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; &nbsp;finally</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Free;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; selectQuery.Close;</div><div>&nbsp; &nbsp;}</div><div><br></div><div>KisiBilgileri isimli tablomda ID,Kisi,Yer,Tarih,KmDegeri,Konum sütunları bulunmakta.</div><div>Bu sütunlara ekleme yaptığım bilgileri uygulamamdaki ProListView üzerinde göstermek istiyorum. Detaylı bir kullanım bulamadım. Fonksiyonum hata veriyor inceleyebilir misiniz?&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 14:04:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1415#1415</guid>
  </item> 
  <item>
   <title><![CDATA[ProListView ve SQL bağlantısı : void InsertToDatabase; {  try...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1413#1413</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 808<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 13:14<br /><br /><div>void InsertToDatabase;</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.SQL.text= 'INSERT INTO KisiBilgileri (ID,Kisi,Yer,Tarih,KmDegeri,Konum) VALUES (</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit6.Text+','+QuotedStr(ProEdit1.Text)+', '+QuotedStr(ProEdit2.Text)+','+QuotedStr(ProEdit3.Text)+',</div><div>&nbsp; &nbsp; &nbsp; &nbsp;'+ProEdit4.Text+',&nbsp; '+QuotedStr(ProEdit5.Text)+')';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Clomosy.DBSQLServerQuery.ExecSql;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Veri Ekleme Başarılı.');</div><div>&nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Exception class: '+LastExceptionClassName+' Exception Message: ' +LastExceptionMessage);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div><br></div><div><br></div><div>&nbsp; &nbsp;Bu şekilde veritabanına başarılı bit şekilde ekleme yapabiliyorum. Ama ProListView içinde bu verileri görüntüleme konusunda sıkıntı yaşıyorum.&nbsp;</div><div><br></div><div><br></div><div>selectQuery.Sql.text =&nbsp;</div><div><br></div><div>nasıl bir kullanım yapmam gerektiğini anlayamadım. Yardımcı olur musunuz ?</div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 13:14:41 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=808&amp;PID=1413#1413</guid>
  </item> 
 </channel>
</rss>