<?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 : Veri Tabanı Create Sorunu</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Veri Tabanı Create Sorunu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:53:04 +0000</pubDate>
  <lastBuildDate>Tue, 12 Aug 2025 18:03:16 +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=1177</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[Veri Tabanı Create Sorunu : te&#351;ekk&#252;r ediyorum , fakat &#351;&#246;yle...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2498#2498</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=341">yemreee_atmaz</a><br /><strong>Konu:</strong> 1177<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Ağustos&nbsp;2025 Saat 18:03<br /><br />teşekkür ediyorum , fakat şöyle oluyor ki ; şuan deneme amaçlı Path ile de belirttiğim Database dosyasında örnek amaçlı veriler ekledim manuel şekilde. Login kısmında giriş yaparken de bu şekilde bağlanıyorum database 'e ve orada sağlıklı bir şekilde bağlanıp kullanıcı database de kayıtlı ise giriş yapyıor.&nbsp; fakat kayıtlı ise register amaçlı oluşturduğum form sayfasında bağlantı kurup aynı şeyi yaptığımda çalışmıyor]]>
   </description>
   <pubDate>Tue, 12 Aug 2025 18:03:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2498#2498</guid>
  </item> 
  <item>
   <title><![CDATA[Veri Tabanı Create Sorunu : Merhaba EmreDBPath = &amp;#039;C:/...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2497#2497</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=306">cerenn</a><br /><strong>Konu:</strong> 1177<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Ağustos&nbsp;2025 Saat 16:48<br /><br />Merhaba Emre<div>DBPath = 'C:/StoLogProject/database/new.db3'; şeklinde göstermesen çok daha iyi olur.Koddaki en büyük şüpheli bu gözüküyor.Eğer bu klasör veya dosya mevcut değilse, Clomosy her seferinde yeni bir veri tabanı dosyası oluşturacaktır. Bunun yerine:<span style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">DBPath </span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb64, 120, 242;">=</span><span style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;"> Clomosy</span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">.</span><span style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">AppFilesPath </span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb64, 120, 242;">+</span><span style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;"> '</span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb166, 38, 164;">new</span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">.</span><span style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">db3'</span><span ="token" style=": transparent; font-family: var--font-mono; word-spacing: normal; color: rgb56, 58, 66;">;</span></div><div>kullanmanı öneriyorum. Bu, uygulamanın kendi klasöründe kalıcı bir veri tabanı oluşturacaktır.Sorun başka bir şeydende kaynaklı olabilir ama tahminim bu yönde.Eğer sorun devam ederse kodunun tam halini atar mısın?</div><div>İyi çalışmalar</div>]]>
   </description>
   <pubDate>Tue, 12 Aug 2025 16:48:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2497#2497</guid>
  </item> 
  <item>
   <title><![CDATA[Veri Tabanı Create Sorunu : Uygulamam i&#231;in olu&#351;turdu&#287;um veri...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2496#2496</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=341">yemreee_atmaz</a><br /><strong>Konu:</strong> 1177<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Ağustos&nbsp;2025 Saat 12:58<br /><br /><div><font color="#676a6c" face=" Sans"><span style="font-size: 13px; : rgb245, 245, 245;">Uygulamam için oluşturduğum veri tabanım uygulamayı her yeninden başlattığımda önceki tabloları siliyor ve yeniden oluşturuyor. Aşağıda kodu paylaştım. Bunun sebebi nedir ?&nbsp;</span></font></div><font color="#676a6c" face=" Sans"><span style="font-size: 13px; : rgb245, 245, 245;"><div><font color="#676a6c" face=" Sans"><span style="font-size: 13px; : rgb245, 245, 245;"><br></span></font></div><b>DBPath, DBPassword : String;</b></span></font><div><span style=": rgb245, 245, 245; font-size: 13px;"><font color="#676a6c" face=" Sans"><b><div style="">void ConnectAndInitDB;</div><div style="">{</div><div style="">&nbsp; DBPassword = '';</div><div style="">&nbsp; DBPath = 'C:/StoLogProject/database/new.db3';</div><div style=""><br></div><div style="">&nbsp; // DBPath = Clomosy.AppFilesPath + 'new.db3';</div><div style=""><br></div><div style="">&nbsp; ShowMessage('Bağlanılan veritabanı: ' + DBPath);</div><div style=""><br></div><div style="">&nbsp; try</div><div style="">&nbsp; &nbsp; Clomosy.DBSQLiteConnect(DBPath, DBPassword);</div><div style=""><br></div><div style="">&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text =</div><div style="">&nbsp; &nbsp; &nbsp; 'CREATE TABLE IF NOT EXISTS users (' +</div><div style="">&nbsp; &nbsp; &nbsp; 'id INTEGER PRIMARY KEY AUTOINCREMENT, ' +</div><div style="">&nbsp; &nbsp; &nbsp; 'username TEXT NOT NULL UNIQUE, ' +</div><div style="">&nbsp; &nbsp; &nbsp; 'pswrd TEXT NOT NULL)';</div><div style="">&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div style=""><br></div><div style="">&nbsp; &nbsp; ShowMessage('Veritabanı bağlantısı başarılı ve tablo hazır!');</div><div style="">&nbsp; except</div><div style="">&nbsp; &nbsp; ShowMessage('Hata: ' + LastExceptionClassName + ' - ' + LastExceptionMessage);</div><div style="">&nbsp; }</div><div style="">}</div><div style=""><br></div><div style="">void VerifyUser;{</div><div style="">&nbsp; Clomosy.DBSQLiteConnect(DBPath, DBPassword);</div><div style="">&nbsp; Clomosy.DBSQLiteQuery.Sql.Text =</div><div style="">&nbsp; &nbsp; 'SELECT * FROM users WHERE username = "' + usernameEdit.Text +</div><div style="">&nbsp; &nbsp; '" AND pswrd = "' + passwordEdit.Text + '"';</div><div style="">&nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div style=""><br></div><div style="">&nbsp; if (Clomosy.DBSQLiteQuery.RecordCount &gt; 0)</div><div style="">&nbsp; {</div><div style="">&nbsp; &nbsp; ShowMessage('Giriş başarılı! Hoş geldiniz ' + usernameEdit);</div><div style="">&nbsp; &nbsp; GoToHomeStockUnit;</div><div style="">&nbsp; }</div><div style="">&nbsp; else</div><div style="">&nbsp; {</div><div style="">&nbsp; &nbsp; ShowMessage('Kullanıcı adı veya şifre hatalı!');</div><div style="">&nbsp; }</div><div style="">}</div></b></font></span></div>]]>
   </description>
   <pubDate>Tue, 12 Aug 2025 12:58:47 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1177&amp;PID=2496#2496</guid>
  </item> 
 </channel>
</rss>