<?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 databaseden veri çekme sorunu</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : proListView databaseden veri çekme sorunu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 18:13:21 +0000</pubDate>
  <lastBuildDate>Thu, 19 Sep 2024 15:39:58 +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=934</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 databaseden veri çekme sorunu : Merhaba K&#252;r&#351;at,Show message ile...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1829#1829</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 934<br /><strong>Gönderim Zamanı:</strong> 19&nbsp;Eylül&nbsp;2024 Saat 15:39<br /><br />Merhaba Kürşat,<div>Show message ile sql de oluşan sorrguyu Sql Server da kontrol eder misin;</div><div>ShowMessages(<span style=": rgb251, 251, 253;">&nbsp; showListQuery.sql.Text</span>); dönen sonucu kontrol edebilirsin</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 19 Sep 2024 15:39:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1829#1829</guid>
  </item> 
  <item>
   <title><![CDATA[proListView databaseden veri çekme sorunu : getData prosed&#252;r&#252;ndeif(cmb_cari_type.ItemIndex...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1825#1825</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=184">kursat</a><br /><strong>Konu:</strong> 934<br /><strong>Gönderim Zamanı:</strong> 17&nbsp;Eylül&nbsp;2024 Saat 18:50<br /><br />getData prosedüründe&nbsp;<div>if(cmb_cari_type.ItemIndex &lt;&gt; 0 ) //eğer cari tipi seçiliyse&nbsp;</div><div>&nbsp;strCariTip='and CARI_TIPI='+QuotedStr (cmb_cari_type.GetValueIndex(cmb_cari_type.ItemIndex));&nbsp;</div><div><br></div><div>&nbsp;else                              //eğer cari tip hepsi ise&nbsp;</div><div>&nbsp;strCariTip='and 1=1';<br><br>şeklinde tanımlama yapmıştım. sorgu tcllistview compenentinde doğru şekilde çalışıyor. yani strCariTip değişkeninde sorun yok gibi.</div>]]>
   </description>
   <pubDate>Tue, 17 Sep 2024 18:50:27 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1825#1825</guid>
  </item> 
  <item>
   <title><![CDATA[proListView databaseden veri çekme sorunu : Merhaba K&#252;r&#351;at,SELECT     CARI_ADI...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1819#1819</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 934<br /><strong>Gönderim Zamanı:</strong> 17&nbsp;Eylül&nbsp;2024 Saat 16:46<br /><br />Merhaba Kürşat,<div><div style=": rgb251, 251, 253;">SELECT&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; as lblCariName,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_KODU&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariCode,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_IL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariSehir,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ILCE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariIlce,</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ALACAK_TOPLAM-BORC_TOPLAM AS lblToplamBakiye</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; FROM&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TBLCARISB with(nolock)</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WHERE&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1=1'</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +strCariTip+ //Burasında hata var&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'ORDER BY&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI';</div></div><div style=": rgb251, 251, 253;"><br></div><div style=": rgb251, 251, 253;">Aşağıdaki şekilde olması gerekiyor.</div><div style=": rgb251, 251, 253;"><div>SELECT&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; as lblCariName,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_KODU&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariCode,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_IL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariSehir,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ILCE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariIlce,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ALACAK_TOPLAM-BORC_TOPLAM AS lblToplamBakiye</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FROM&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TBLCARISB with(nolock)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WHERE&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1=1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORDER BY&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI';</div></div>]]>
   </description>
   <pubDate>Tue, 17 Sep 2024 16:46:52 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1819#1819</guid>
  </item> 
  <item>
   <title><![CDATA[proListView databaseden veri çekme sorunu : databaseden veri &#231;ekerken sadece...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1817#1817</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=184">kursat</a><br /><strong>Konu:</strong> 934<br /><strong>Gönderim Zamanı:</strong> 17&nbsp;Eylül&nbsp;2024 Saat 14:13<br /><br />databaseden veri çekerken sadece en sondaki veriyi çekiyor. kodlar aşağıdaki gibidir.<div><br></div><div><br></div><div><div>&nbsp; void createListView;</div><div>&nbsp; {</div><div>&nbsp; <span style="white-space:pre">	</span>lst_cari_guide = cariMainForm.AddNewProListView(pnl_cari_list,'lst_cari_guide');</div><div>&nbsp; <span style="white-space:pre">	</span>lst_cari_guide.Properties.ItemSpace = 10;</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lst_cari_guide,'{"Align":"Client","MarginBottom":10,"MarginTop":10,"MarginRight":20,"MarginLeft":20, "ItemColumnCount" : 1,"ItemHeight" :'+IntToStr(pnl_cari_list.height*0.27)+',&nbsp;</div><div>&nbsp; <span style="white-space:pre">	</span>"BorderWidth":2,"RoundWidth":5, "RoundHeight":5}');</div><div>&nbsp; <span style="white-space:pre">	</span>clRTMethod(lst_cari_guide, 'SendToBack');</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; void createDesignerPanel;</div><div>&nbsp; {</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel = cariMainForm.AddNewProListViewDesignerPanel(lst_cari_guide,'belgeDesignerPanel');&nbsp;</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(belgeDesignerPanel,'{"Height":300,"BackgroundColor":"#ffffff","RoundHeight":20,"RoundWidth":20,"BorderColor":"#1F8FEA","BorderWidth":2,</div><div>&nbsp; <span style="white-space:pre">	</span>"Align":"Top"}');</div><div>&nbsp; <span style="white-space:pre">	</span></div><div>&nbsp; <span style="white-space:pre">	</span>lst_cari_guide.SetDesignerPanel(belgeDesignerPanel);</div><div>&nbsp; }</div><div>&nbsp; void createLabels;</div><div>&nbsp; {</div><div>&nbsp; <span style="white-space:pre">	</span>lblCariName = cariMainForm.AddNewProLabel(belgeDesignerPanel,'lblCariName','cari Name');</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lblCariName,'{"Align":"center","MarginRight":'+IntToStr(belgeDesignerPanel.Width*0.45)+',"MarginBottom":'+IntToStr(belgeDesignerPanel.Height*0.15)+</div><div>&nbsp; <span style="white-space:pre">	</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ',"MarginTop":10,"TextBold":"yes","TextSize":22,"TextHorizontalAlign":"left","TextVerticalAlign":"left","AutoSize":"horizontal"}');</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel.AddPanelObject(lblCariName,clText);</div><div>&nbsp; <span style="white-space:pre">	</span></div><div>&nbsp; <span style="white-space:pre">	</span>lblCariCode = cariMainForm.AddNewProLabel(belgeDesignerPanel,'lblCariCode','cari code');</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lblCariCode,'{"Align":"center","MarginRight":'+IntToStr(belgeDesignerPanel.Width*0.45)+',"MarginTop":'+IntToStr(belgeDesignerPanel.Height*0.12)+</div><div>&nbsp; <span style="white-space:pre">	</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ',"TextBold":"no","TextSize":16,"TextHorizontalAlign":"left","TextVerticalAlign":"left","AutoSize":"horizontal"}');</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel.AddPanelObject(lblCariCode,clText);</div><div>&nbsp; <span style="white-space:pre">	</span></div><div>&nbsp; <span style="white-space:pre">	</span>lblCariSehir = cariMainForm.AddNewProLabel(belgeDesignerPanel,'lblCariSehir','cari il');</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lblCariSehir,'{"Align":"center","MarginLeft":'+IntToStr(belgeDesignerPanel.Width*0.45)+',"MarginBottom":'+IntToStr(belgeDesignerPanel.Height*0.15)+</div><div>&nbsp; <span style="white-space:pre">	</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ',"TextBold":"no","TextSize":16,"TextHorizontalAlign":"left","TextVerticalAlign":"left","AutoSize":"horizontal"}');</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel.AddPanelObject(lblCariSehir,clText);</div><div>&nbsp; <span style="white-space:pre">	</span></div><div>&nbsp; <span style="white-space:pre">	</span>lblCariIlce = cariMainForm.AddNewProLabel(belgeDesignerPanel,'lblCariIlce','cari ilce');</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lblCariIlce,'{"Align":"center","MarginLeft":'+IntToStr(belgeDesignerPanel.Width*0.45)+',"MarginBottom":'+IntToStr(belgeDesignerPanel.Height*0.01)+</div><div>&nbsp; <span style="white-space:pre">	</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ',"TextBold":"no","TextSize":16,"TextHorizontalAlign":"left","TextVerticalAlign":"left","AutoSize":"horizontal"}');</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel.AddPanelObject(lblCariIlce,clText);</div><div>&nbsp; <span style="white-space:pre">	</span></div><div>&nbsp; <span style="white-space:pre">	</span>lblToplamBakiye = cariMainForm.AddNewProLabel(belgeDesignerPanel,'lblToplamBakiye','cari bakiye');</div><div>&nbsp; <span style="white-space:pre">	</span>clComponent.SetupComponent(lblToplamBakiye,'{"Align":"center","MarginLeft":'+IntToStr(belgeDesignerPanel.Width*0.45)+',"MarginTop":'+IntToStr(belgeDesignerPanel.Height*0.13)+</div><div>&nbsp; <span style="white-space:pre">	</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ',"TextBold":"no","TextSize":16,"TextHorizontalAlign":"left","TextVerticalAlign":"left","AutoSize":"horizontal"}');</div><div>&nbsp; <span style="white-space:pre">	</span>belgeDesignerPanel.AddPanelObject(lblToplamBakiye,clText);</div><div>&nbsp; }<br><div>&nbsp; void getData;</div><div>&nbsp; var</div><div>&nbsp; &nbsp; showListQuery: TClSqlQuery;</div><div>&nbsp; &nbsp; strCariTip : String;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; lst_cari_guide.ClearList;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if(cmb_cari_type.ItemIndex &lt;&gt; 0 ) //eğer cari tipi seçiliyse</div><div>&nbsp; &nbsp; &nbsp; strCariTip='and CARI_TIPI='+QuotedStr (cmb_cari_type.GetValueIndex(cmb_cari_type.ItemIndex));</div><div>&nbsp; &nbsp; else&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //eğer cari tip hepsi ise</div><div>&nbsp; &nbsp; &nbsp; strCariTip='and 1=1';</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; showListQuery = TClSqlQuery.Create(nil);</div><div>&nbsp; &nbsp; showListQuery.Connection = Clomosy.DBSQLServerConnection;</div><div>&nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; &nbsp; showListQuery.sql.Text =&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'SELECT&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; as lblCariName,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_KODU&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariCode,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_IL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariSehir,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ILCE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AS lblCariIlce,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ALACAK_TOPLAM-BORC_TOPLAM AS lblToplamBakiye</div><div>&nbsp; &nbsp; &nbsp; &nbsp; FROM&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TBLCARISB with(nolock)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WHERE&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1=1'</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +strCariTip+</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'ORDER BY&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CARI_ADI';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; showListQuery.Open;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (showListQuery.Found)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lst_cari_guide.clLoadProListViewDataFromDataset(showListQuery);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lst_cari_guide.ClearList;</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('AddDataToListView1 '+'Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; finally</div><div>&nbsp; &nbsp; &nbsp; showListQuery.Free;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }<br><br><br><div>&nbsp; &nbsp; createListView;</div><div>&nbsp; &nbsp; createDesignerPanel;</div><div>&nbsp; &nbsp; createLabels;</div><div>&nbsp; &nbsp; getData;</div><div><br></div><div><br></div><div><img src="uploads/184/Ekran_görüntüsü_2024-09-17_141009.png" height="639" width="703" border="0" /></div></div></div></div>]]>
   </description>
   <pubDate>Tue, 17 Sep 2024 14:13:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=934&amp;PID=1817#1817</guid>
  </item> 
 </channel>
</rss>