<?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 : Syntax hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : Syntax hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 16 Jun 2026 05:05:38 +0000</pubDate>
  <lastBuildDate>Fri, 06 Mar 2026 09:46:43 +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=1418</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[Syntax hatası : evet &#231;al&#305;&#351;t&#305;.te&#351;ekk&#252;r ederim.h...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3216#3216</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=370">sudee.tanerr</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Mart&nbsp;2026 Saat 09:46<br /><br />evet çalıştı.teşekkür ederim.<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Fri, 06 Mar 2026 09:46:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3216#3216</guid>
  </item> 
  <item>
   <title><![CDATA[Syntax hatası : Bu sefer &#231;al&#305;&#351;acakt&#305;r.void TalepGonderButon_Click;var...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3215#3215</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=345">kaanl0</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Mart&nbsp;2026 Saat 07:04<br /><br /><div>Bu sefer çalışacaktır.<br><br>void TalepGonderButon_Click;</div><div>var</div><div>&nbsp; izinRest, idRest: TclRest;</div><div>&nbsp; izinJSON, s_Hour, s_Min, e_Hour, e_Min, cekilenID: String;</div><div>&nbsp; bugun: TclDateTime;</div><div>{</div><div>&nbsp; bugun = Date;&nbsp;</div><div>&nbsp; cekilenID = '';&nbsp;</div><div><br></div><div>&nbsp; if ((Trim(izinCombo.Text) == '') || (Trim(aciklamaMemo.Text) == '')) {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen bütün bilgileri giriniz');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Date &lt; bugun) {</div><div>&nbsp; &nbsp; ShowMessage('Geçmiş bir tarihe izin talebi oluşturamazsınız!');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Date &gt; bitisDate.Date) {</div><div>&nbsp; &nbsp; ShowMessage('Başlangıç tarihi bitiş tarihinden büyük olamaz');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; s_Hour = CmbStartHour.Text;</div><div>&nbsp; s_Min = CmbStartMin.Text;</div><div>&nbsp; e_Hour = CmbEndHour.Text;</div><div>&nbsp; e_Min = CmbEndMin.Text;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ==========================================</div><div>&nbsp; // 1. AŞAMA: KULLANICI ID'SİNİ ÇEK</div><div>&nbsp; // ==========================================</div><div>&nbsp; idRest = TclRest.Create;</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp; idRest.BaseUrl = 'http://localhost:5220/api/Izin/getid-by-email/' + uLib.GirisYapanEmail;</div><div>&nbsp; &nbsp; idRest.Method = rmGet;</div><div>&nbsp; &nbsp; idRest.Execute;</div><div><br></div><div>&nbsp; &nbsp; if (idRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; // CLParseJSON ile manuel obje oluşturmadan doğrudan ID'yi çekiyoruz</div><div>&nbsp; &nbsp; &nbsp; cekilenID = Clomosy.CLParseJSON(idRest.Response, 'id');</div><div>&nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('ID API Hatası: ' + IntToStr(idRest.StatusCode));</div><div>&nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally&nbsp;</div><div>&nbsp; &nbsp; idRest.Free;</div><div>&nbsp; } // &lt;--- TRY BLOĞU SADECE SÜSLÜ PARANTEZ İLE KAPATILDI</div><div><br></div><div>&nbsp; if ((cekilenID == '') || (cekilenID == 'null')) {</div><div>&nbsp; &nbsp; ShowMessage('ID anahtarı sunucudan alınamadı.');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; // ==========================================</div><div>&nbsp; // 2. AŞAMA: İZİN KAYDETME İŞLEMİ&nbsp;</div><div>&nbsp; // ==========================================</div><div>&nbsp; izinJSON = '{' +</div><div>&nbsp; &nbsp; '"KullaniciID": ' + cekilenID + ', ' +&nbsp;</div><div>&nbsp; &nbsp; '"BaslangicTarihi": "' + DateTimeToStr(baslangicDate.Date) + '", ' +</div><div>&nbsp; &nbsp; '"BitisTarihi": "' + DateTimeToStr(bitisDate.Date) + '", ' +</div><div>&nbsp; &nbsp; '"BaslangicSaati": "' + s_Hour + ':' + s_Min + '", ' +&nbsp;</div><div>&nbsp; &nbsp; '"BitisSaati": "' + e_Hour + ':' + e_Min + '", ' +</div><div>&nbsp; &nbsp; '"IzinTuru": "' + Trim(izinCombo.Text) + '", ' +</div><div>&nbsp; &nbsp; '"Durum": "Beklemede", ' +&nbsp;</div><div>&nbsp; &nbsp; '"Aciklama": "' + Trim(aciklamaMemo.Text) + '"' +</div><div>&nbsp; '}';</div><div><br></div><div>&nbsp; izinRest = TclRest.Create;</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp; izinRest.BaseUrl = 'http://localhost:5220/api/Izin/ekle';&nbsp;</div><div>&nbsp; &nbsp; izinRest.Accept = 'application/json';</div><div>&nbsp; &nbsp; izinRest.AddBody(izinJSON, 'application/json');</div><div>&nbsp; &nbsp; izinRest.Method = rmPost;</div><div>&nbsp; &nbsp; izinRest.Execute;&nbsp;</div><div><br></div><div>&nbsp; &nbsp; if (izinRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Kayıt Başarılı ');</div><div>&nbsp; &nbsp; &nbsp; Clomosy.RunUnit('Talepler');</div><div>&nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('API Hatası! Kod: ' + IntToStr(izinRest.StatusCode));</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally&nbsp;</div><div>&nbsp; &nbsp; izinRest.Free;</div><div>&nbsp; } // &lt;--- TRY BLOĞU SADECE SÜSLÜ PARANTEZ İLE KAPATILDI</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Fri, 06 Mar 2026 07:04:52 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3215#3215</guid>
  </item> 
  <item>
   <title><![CDATA[Syntax hatası : RUNTIME ERRORFile library Izin_sayfasi:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3214#3214</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=370">sudee.tanerr</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Mart&nbsp;2026 Saat 14:37<br /><br /><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>RUNTIME ERROR</div><div><span style="color: #0000ff;">File</span> <span style="color: #0000ff;">library</span> Izin_sayfasi: <span style="color: #0000ff;">Unit</span> Talep_olustur: Syntax error.</div><div>Source position: <span style="color: #098658;">93</span>,<span style="color: #098658;">5</span> when evaluating instruction CallProc (<span style="color: rgb48, 48, 192;">$FFFFFFFF</span>,<span style="color: rgb48, 48, 192;">$1</span>,<span style="color: rgb48, 48, 192;">$1E9A270</span>,<span style="color: rgb48, 48, 192;">$0</span>,<span style="color: rgb163, 21, 21;">'RunUnit'</span>). </div><div>bu sekilde hata alıyorum su anda ve bu satır ise tam finally kısmının bittiği yere denk geliyor</div><div></div></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 05 Mar 2026 14:37:03 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3214#3214</guid>
  </item> 
  <item>
   <title><![CDATA[Syntax hatası : void TalepGonderButon_Click;var...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3213#3213</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=345">kaanl0</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Mart&nbsp;2026 Saat 13:55<br /><br /><div>void TalepGonderButon_Click;</div><div>var</div><div>&nbsp; izinRest, idRest: TclRest;</div><div>&nbsp; izinJSON, s_Hour, s_Min, e_Hour, e_Min, cekilenID: String;</div><div>&nbsp; bugun: TclDateTime;</div><div>&nbsp; idJson: TclJsonObject;</div><div>&nbsp; idPair: TclJSONPair;</div><div>{</div><div>&nbsp; bugun = Date;&nbsp;</div><div><br></div><div>&nbsp; if ((Trim(izinCombo.Text) == '') || (Trim(aciklamaMemo.Text) == '')) {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen bütün bilgileri giriniz');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Datetime &lt; bugun) {</div><div>&nbsp; &nbsp; ShowMessage('Geçmiş bir tarihe izin talebi oluşturamazsınız!');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Datetime &gt; bitisDate.Datetime) {</div><div>&nbsp; &nbsp; ShowMessage('Başlangıç tarihi bitiş tarihinden büyük olamaz');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; s_Hour = CmbStartHour.Text;</div><div>&nbsp; s_Min = CmbStartMin.Text;</div><div>&nbsp; e_Hour = CmbEndHour.Text;</div><div>&nbsp; e_Min = CmbEndMin.Text;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 1. KULLANICI ID'SINI ÇEK</div><div>&nbsp; idRest = TclRest.Create;</div><div>&nbsp; try&nbsp;</div><div>&nbsp; &nbsp; idRest.BaseUrl = 'http://localhost:5220/api/Izin/getid-by-email/' + uLib.GirisYapanEmail;</div><div>&nbsp; &nbsp; idRest.Method = rmGet;</div><div>&nbsp; &nbsp; idRest.Execute;</div><div><br></div><div>&nbsp; &nbsp; if (idRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; idJson = TclJsonObject.Create;</div><div>&nbsp; &nbsp; &nbsp; try&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idJson.Parse(idRest.Response);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idPair = idJson.GetPairByName('id');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (idPair &lt;&gt; nil) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cekilenID = idPair.Value;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('ID anahtarı JSON içinde bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; finally&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idJson.Free;</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; // 2. KAYDETME (POST) - Sadece ID başarılıysa çalışır</div><div>&nbsp; &nbsp; &nbsp; izinJSON = '{' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"KullaniciID": ' + cekilenID + ', ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BaslangicTarihi": "' + DateTimeToStr(baslangicDate.Datetime) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BitisTarihi": "' + DateTimeToStr(bitisDate.Datetime) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BaslangicSaati": "' + s_Hour + ':' + s_Min + '", ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BitisSaati": "' + e_Hour + ':' + e_Min + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"IzinTuru": "' + Trim(izinCombo.Text) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"Durum": "Beklemede", ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"Aciklama": "' + Trim(aciklamaMemo.Text) + '"' +</div><div>&nbsp; &nbsp; &nbsp; '}';</div><div><br></div><div>&nbsp; &nbsp; &nbsp; izinRest = TclRest.Create;</div><div>&nbsp; &nbsp; &nbsp; try&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.BaseUrl = 'http://localhost:5220/api/Izin/ekle';&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Accept = 'application/json';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.AddBody(izinJSON, 'application/json');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Method = rmPost;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Execute;&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (izinRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Kayıt Başarılı ');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('Talepler');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('API Hatası! Kod: ' + IntToStr(izinRest.StatusCode));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; finally&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Free;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('ID alınamadı: ' + IntToStr(idRest.StatusCode));</div><div>&nbsp; &nbsp; }</div><div>&nbsp; finally&nbsp;</div><div>&nbsp; &nbsp; idRest.Free;</div><div>&nbsp; }</div><div>}<br><br><br><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 05 Mar 2026 13:55:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3213#3213</guid>
  </item> 
  <item>
   <title><![CDATA[Syntax hatası : Merhaba s&#252;sl&#252; parantezlerle ilgili...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3212#3212</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=345">kaanl0</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Mart&nbsp;2026 Saat 13:55<br /><br />Merhaba süslü parantezlerle ilgili bir hatan olabilir. Kodu kendimde deneyemiyorum aşağıda attığım kodu deneyip geri dönüş yaparmısın<br><br>void TalepGonderButon_Click;var  izinRest, idRest: TclRest;  izinJSON, s_Hour, s_Min, e_Hour, e_Min, cekilenID: String;  bugun: TclDateTime;  idJson: TclJsonObject;  idPair: TclJSONPair;{  bugun = Date;   if ((Trim(izinCombo.Text) == '') || (Trim(aciklamaMemo.Text) == '')) {    ShowMessage('Lütfen bütün bilgileri giriniz');    exit;  }  if (baslangicDate.Datetime &lt; bugun) {    ShowMessage('Geçmiş bir tarihe izin talebi oluşturamazsınız!');    exit;   }  if (baslangicDate.Datetime &gt; bitisDate.Datetime) {    ShowMessage('Başlangıç tarihi bitiş tarihinden büyük olamaz');    exit;   }  s_Hour = CmbStartHour.Text;  s_Min = CmbStartMin.Text;  e_Hour = CmbEndHour.Text;  e_Min = CmbEndMin.Text;    // 1. KULLANICI ID'SINI ÇEK  idRest = TclRest.Create;  try     idRest.BaseUrl = 'http://localhost:5220/api/Izin/getid-by-email/' + uLib.GirisYapanEmail;    idRest.Method = rmGet;    idRest.Execute;    if (idRest.StatusCode == 200) {      idJson = TclJsonObject.Create;      try         idJson.Parse(idRest.Response);        idPair = idJson.GetPairByName('id');                if (idPair &lt;&gt; nil) {          cekilenID = idPair.Value;        } else {          ShowMessage('ID anahtarı JSON içinde bulunamadı.');          exit;        }      finally         idJson.Free;      }      // 2. KAYDETME (POST) - Sadece ID başarılıysa çalışır      izinJSON = '{' +        '"KullaniciID": ' + cekilenID + ', ' +         '"BaslangicTarihi": "' + DateTimeToStr(baslangicDate.Datetime) + '", ' +        '"BitisTarihi": "' + DateTimeToStr(bitisDate.Datetime) + '", ' +        '"BaslangicSaati": "' + s_Hour + ':' + s_Min + '", ' +         '"BitisSaati": "' + e_Hour + ':' + e_Min + '", ' +        '"IzinTuru": "' + Trim(izinCombo.Text) + '", ' +        '"Durum": "Beklemede", ' +         '"Aciklama": "' + Trim(aciklamaMemo.Text) + '"' +      '}';      izinRest = TclRest.Create;      try         izinRest.BaseUrl = 'http://localhost:5220/api/Izin/ekle';         izinRest.Accept = 'application/json';        izinRest.AddBody(izinJSON, 'application/json');        izinRest.Method = rmPost;        izinRest.Execute;         if (izinRest.StatusCode == 200) {          ShowMessage('Kayıt Başarılı ');          Clomosy.RunUnit('Talepler');        } else {          ShowMessage('API Hatası! Kod: ' + IntToStr(izinRest.StatusCode));        }      finally         izinRest.Free;      }    } else {      ShowMessage('ID alınamadı: ' + IntToStr(idRest.StatusCode));    }  finally     idRest.Free;  }}<br><br><br><br><br><br><br><br><br><br>&nbsp;<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 05 Mar 2026 13:55:21 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3212#3212</guid>
  </item> 
  <item>
   <title><![CDATA[Syntax hatası : void TalepGonderButon_Click;var...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3210#3210</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=370">sudee.tanerr</a><br /><strong>Konu:</strong> 1418<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Mart&nbsp;2026 Saat 11:58<br /><br /><div>void TalepGonderButon_Click;</div><div>var</div><div>&nbsp; izinRest, idRest: TclRest;</div><div>&nbsp; izinJSON, s_Hour, s_Min, e_Hour, e_Min, cekilenID: String;</div><div>&nbsp; bugun: TclDateTime;</div><div>&nbsp; idJson: TclJsonObject;</div><div>&nbsp; idPair: TclJSONPair;</div><div>{</div><div>&nbsp; bugun = Date;&nbsp;</div><div><br></div><div>&nbsp; if ((Trim(izinCombo.Text) == '') || (Trim(aciklamaMemo.Text) == '')) {</div><div>&nbsp; &nbsp; ShowMessage('Lütfen bütün bilgileri giriniz');</div><div>&nbsp; &nbsp; exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Datetime &lt; bugun) {</div><div>&nbsp; &nbsp; ShowMessage('Geçmiş bir tarihe izin talebi oluşturamazsınız!');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (baslangicDate.Datetime &gt; bitisDate.Datetime) {</div><div>&nbsp; &nbsp; ShowMessage('Başlangıç tarihi bitiş tarihinden büyük olamaz');</div><div>&nbsp; &nbsp; exit;&nbsp;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; s_Hour = CmbStartHour.Text;</div><div>&nbsp; s_Min = CmbStartMin.Text;</div><div>&nbsp; e_Hour = CmbEndHour.Text;</div><div>&nbsp; e_Min = CmbEndMin.Text;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // 1. KULLANICI ID'SINI ÇEK</div><div>&nbsp; idRest = TclRest.Create;</div><div>&nbsp; try {</div><div>&nbsp; &nbsp; idRest.BaseUrl = 'http://localhost:5220/api/Izin/getid-by-email/' + uLib.GirisYapanEmail;</div><div>&nbsp; &nbsp; idRest.Method = rmGet;</div><div>&nbsp; &nbsp; idRest.Execute;</div><div><br></div><div>&nbsp; &nbsp; if (idRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; idJson = TclJsonObject.Create;</div><div>&nbsp; &nbsp; &nbsp; try {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idJson.Parse(idRest.Response);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idPair = idJson.GetPairByName('id');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (idPair &lt;&gt; nil) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cekilenID = idPair.Value;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('ID anahtarı JSON içinde bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; } finally {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; idJson.Free;</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; // 2. KAYDETME (POST) - Sadece ID başarılıysa çalışır</div><div>&nbsp; &nbsp; &nbsp; izinJSON = '{' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"KullaniciID": ' + cekilenID + ', ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BaslangicTarihi": "' + DateTimeToStr(baslangicDate.Datetime) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BitisTarihi": "' + DateTimeToStr(bitisDate.Datetime) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BaslangicSaati": "' + s_Hour + ':' + s_Min + '", ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"BitisSaati": "' + e_Hour + ':' + e_Min + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"IzinTuru": "' + Trim(izinCombo.Text) + '", ' +</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"Durum": "Beklemede", ' +&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; '"Aciklama": "' + Trim(aciklamaMemo.Text) + '"' +</div><div>&nbsp; &nbsp; &nbsp; '}';</div><div><br></div><div>&nbsp; &nbsp; &nbsp; izinRest = TclRest.Create;</div><div>&nbsp; &nbsp; &nbsp; try {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.BaseUrl = 'http://localhost:5220/api/Izin/ekle';&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Accept = 'application/json';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.AddBody(izinJSON, 'application/json');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Method = rmPost;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Execute;&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (izinRest.StatusCode == 200) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Kayıt Başarılı ');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Clomosy.RunUnit('Talepler');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('API Hatası! Kod: ' + IntToStr(izinRest.StatusCode));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; } finally {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; izinRest.Free;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('ID alınamadı: ' + IntToStr(idRest.StatusCode));</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }&nbsp;</div><div>&nbsp; finally {</div><div>&nbsp; &nbsp; idRest.Free;</div><div>&nbsp; }</div><div>}&nbsp;</div><div>bu kod üzerinde sürekli syntax hatası alıyorum yardımcı olabilir misiniz ne yapmam gerek?</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Thu, 05 Mar 2026 11:58:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1418&amp;PID=3210#3210</guid>
  </item> 
 </channel>
</rss>