<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Access SQL - ACCESS & ADO]]></title>
		<link>https://www.access-sql.com/</link>
		<description><![CDATA[Access SQL - https://www.access-sql.com]]></description>
		<pubDate>Fri, 27 Nov 2026 21:58:33 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Access ADO CursorType ve LockType kullanımı hakkında.]]></title>
			<link>https://www.access-sql.com/Konu-Access-ADO-CursorType-ve-LockType-kullanimi-hakkinda</link>
			<pubDate>Sat, 12 Oct 2013 17:48:58 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-Access-ADO-CursorType-ve-LockType-kullanimi-hakkinda</guid>
			<description><![CDATA[Merhaba  değerli hocalarım;<br />
Konu Accesste ADO. Konu ile ilgili olarak Sn.Modalı hocamızın hazırladığı çok güzel bir Powerpoint sunumu mevcut. Benim gibi bu konuda çok yeniler için çok iyi bir başlangıç. Modalı hocamıza buradan tekrar teşekkür ederim.<br />
ADO hakkında merak ettiğim konular şunlar. Bir çok örnek inceledim. Bu örnekler EOF, BOF ve Bookmark gibi deyimler kullanılmış. EOF ve BOF hakkında biraz görüşlerim var ama Bookmark nedir niye ve ne zaman kullanılırı hiç anlamadım. Ve asıl merak ettiğim yani ADO ile asıl ilişkili olan Cursor Type ve LockType. Öğrenmek istediğim bu iki özellik içinde geçen seçeneklerin, Cursor Type (Static, ForwardOnly,Dynamic,Keyset) ve LockType(adLockReadOnly, adLockPessimistic, adLockOptimistic, adLockBatchOptimistic) kullanımları sabit midir.<br />
Yani örneğin güncelleme yapılacak ise kesin olarak CursorType olarak her zaman bu, LockType olarak her zaman bu kullanılır ve doğru olan budur, sorun çıkmaz mıdır? <br />
Yoksa her durum için güncelleme, silme, ekleme yada sadece okuma durumlarında CursorType ve LockType seçenekleri programın amacına,akışına göre değişir midir?<br />
Piyasada Access için VBA diye Türkçe bir kitap bulamadım. Bu sebeple de değerli hocalarımızdan bu konu hakkında zamanları olduğunda bir makale (ADO ile ilgili başka incelikler de olabilir) rica ederim.<br />
Saygılarımla.<br />
]]></description>
			<content:encoded><![CDATA[Merhaba  değerli hocalarım;<br />
Konu Accesste ADO. Konu ile ilgili olarak Sn.Modalı hocamızın hazırladığı çok güzel bir Powerpoint sunumu mevcut. Benim gibi bu konuda çok yeniler için çok iyi bir başlangıç. Modalı hocamıza buradan tekrar teşekkür ederim.<br />
ADO hakkında merak ettiğim konular şunlar. Bir çok örnek inceledim. Bu örnekler EOF, BOF ve Bookmark gibi deyimler kullanılmış. EOF ve BOF hakkında biraz görüşlerim var ama Bookmark nedir niye ve ne zaman kullanılırı hiç anlamadım. Ve asıl merak ettiğim yani ADO ile asıl ilişkili olan Cursor Type ve LockType. Öğrenmek istediğim bu iki özellik içinde geçen seçeneklerin, Cursor Type (Static, ForwardOnly,Dynamic,Keyset) ve LockType(adLockReadOnly, adLockPessimistic, adLockOptimistic, adLockBatchOptimistic) kullanımları sabit midir.<br />
Yani örneğin güncelleme yapılacak ise kesin olarak CursorType olarak her zaman bu, LockType olarak her zaman bu kullanılır ve doğru olan budur, sorun çıkmaz mıdır? <br />
Yoksa her durum için güncelleme, silme, ekleme yada sadece okuma durumlarında CursorType ve LockType seçenekleri programın amacına,akışına göre değişir midir?<br />
Piyasada Access için VBA diye Türkçe bir kitap bulamadım. Bu sebeple de değerli hocalarımızdan bu konu hakkında zamanları olduğunda bir makale (ADO ile ilgili başka incelikler de olabilir) rica ederim.<br />
Saygılarımla.<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bulk Insert]]></title>
			<link>https://www.access-sql.com/Konu-Bulk-Insert</link>
			<pubDate>Thu, 01 Nov 2012 11:35:23 +0200</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-Bulk-Insert</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Insert Into [TumEtaSicilBilgileri].[dbo].[EtaSicilSQL] (SELECT [ETA_00002_2010].[dbo].[BORSICIL].*, [ETA_00002_2010].[dbo].[KIMLIKLER].* FROM [ETA_00002_2010].[dbo].BORSICIL INNER JOIN [ETA_00002_2010].[dbo].KIMLIKLER ON [ETA_00002_2010].[dbo].BORSICIL.BORSCLKOD = [ETA_00002_2010].[dbo].KIMLIKLER.KIMKOD)</span><br />
TumEtaSicilBilgileri adında bir tablom var ve bu tablo<br />
<br />
BORSICIL ve KIMLIKLER veritabanının birleşmesi ile oluşturulmuş bir tablo. yani alan adları ve sayıları JOIN'lnediğinde TumEtaSicilBilgileri veritabanı oluşuyor.<br />
<br />
BORSICIL ve KIMLIKLER veritabanının JOIN'lnemiş halini  TumEtaSicilBilgileri'ne nasıl INSERT ederim.<br />
Teşekkürler.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Insert Into [TumEtaSicilBilgileri].[dbo].[EtaSicilSQL] (SELECT [ETA_00002_2010].[dbo].[BORSICIL].*, [ETA_00002_2010].[dbo].[KIMLIKLER].* FROM [ETA_00002_2010].[dbo].BORSICIL INNER JOIN [ETA_00002_2010].[dbo].KIMLIKLER ON [ETA_00002_2010].[dbo].BORSICIL.BORSCLKOD = [ETA_00002_2010].[dbo].KIMLIKLER.KIMKOD)</span><br />
TumEtaSicilBilgileri adında bir tablom var ve bu tablo<br />
<br />
BORSICIL ve KIMLIKLER veritabanının birleşmesi ile oluşturulmuş bir tablo. yani alan adları ve sayıları JOIN'lnediğinde TumEtaSicilBilgileri veritabanı oluşuyor.<br />
<br />
BORSICIL ve KIMLIKLER veritabanının JOIN'lnemiş halini  TumEtaSicilBilgileri'ne nasıl INSERT ederim.<br />
Teşekkürler.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[VBA > DAO kullanarak sorgu oluşturmak]]></title>
			<link>https://www.access-sql.com/Konu-VBA-DAO-kullanarak-sorgu-olusturmak</link>
			<pubDate>Sat, 19 May 2012 14:43:50 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-VBA-DAO-kullanarak-sorgu-olusturmak</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font">Foksiyona dönüştürülebilir ve de SQL parametre oalrak alınabilir. Hatta  kullancııya tablo ve alanlar formda gösterilip oluşturulan sorgular metin olarak tabloalra kaydedilip geerektiğinde geçici sorgu oalrak çalıştırılabilir. Hatta tabloda konu gurupması yapılarak tümü treeviewde gösterilebilir sonra konuya göre istenilen çalıştırılabilir.....  Fiki mi yok sanki! <img src="https://www.access-sql.com/images/smilies/sml2/dd.gif" alt="Dd" title="Dd" class="smilie smilie_198" /></span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'VBA &gt; DAO kullanarak sorgu oluşturma, 19.05.2012, Mehmet Eser</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #008000;">'www.eserbilisim.name.tr, .access-sql.com</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #268bd2; font-weight: bold;">GoTo</span> HataOlursa:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Dim</span> objSORGU <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span>QueryDef</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Dim</span> strSQL <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   strSQL <span style="color: #7B927B;">=</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Kisiler WHERE KisiBirim<span style="color: #7B927B;">=</span><span style="color: #008000;">'A';&quot; 'Parametre oalrak da gelebilir.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   SorguAD <span style="color: #7B927B;">=</span> InputBox<span style="color: #7B927B;">(</span>&quot;Sorgu adı ne olsun?&quot;<span style="color: #7B927B;">,</span> &quot;DAO ile VBA: Sorgu oluşturma&quot;<span style="color: #7B927B;">,</span> &quot;sorDeneme&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> objSORGU <span style="color: #7B927B;">=</span> <span style="color: #151B8D; font-weight: bold;">CurrentDb</span><span style="color: #7B927B;">.</span>CreateQueryDef<span style="color: #7B927B;">(</span>SorguAD<span style="color: #7B927B;">,</span> strSQL<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">HataOlursa:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #008000;">'eğer adı geçen nesne zaten varsa silinebilir.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">If</span> Err<span style="color: #7B927B;">.</span>Number <span style="color: #7B927B;">=</span> 3012 <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">If</span> MsgBox<span style="color: #7B927B;">(</span>&quot;Zaten varmış<span style="color: #7B927B;">,</span> eskisini silip tekrar deneyeyim mi?&quot;<span style="color: #7B927B;">,</span> vbYesNo<span style="color: #7B927B;">,</span> &quot;Kara anı!&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> vbYes <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #151B8D; font-weight: bold;">CurrentDb</span><span style="color: #7B927B;">.</span>QueryDefs<span style="color: #7B927B;">.</span>Delete <span style="color: #7B927B;">(</span>SorguAD<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #151B8D; font-weight: bold;">Resume</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">Sub</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li></ol></pre></code></div></div><br /><br />
<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.access-sql.com/images/attachtypes/zip.png" title="Zip File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=10457" target="_blank" title="">VBA DAO Sorgu Olustur ME.zip</a> (Boyut: 46,92 KB / İndirilme: 200)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font">Foksiyona dönüştürülebilir ve de SQL parametre oalrak alınabilir. Hatta  kullancııya tablo ve alanlar formda gösterilip oluşturulan sorgular metin olarak tabloalra kaydedilip geerektiğinde geçici sorgu oalrak çalıştırılabilir. Hatta tabloda konu gurupması yapılarak tümü treeviewde gösterilebilir sonra konuya göre istenilen çalıştırılabilir.....  Fiki mi yok sanki! <img src="https://www.access-sql.com/images/smilies/sml2/dd.gif" alt="Dd" title="Dd" class="smilie smilie_198" /></span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'VBA &gt; DAO kullanarak sorgu oluşturma, 19.05.2012, Mehmet Eser</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #008000;">'www.eserbilisim.name.tr, .access-sql.com</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #268bd2; font-weight: bold;">GoTo</span> HataOlursa:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Dim</span> objSORGU <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span>QueryDef</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Dim</span> strSQL <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   strSQL <span style="color: #7B927B;">=</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Kisiler WHERE KisiBirim<span style="color: #7B927B;">=</span><span style="color: #008000;">'A';&quot; 'Parametre oalrak da gelebilir.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   SorguAD <span style="color: #7B927B;">=</span> InputBox<span style="color: #7B927B;">(</span>&quot;Sorgu adı ne olsun?&quot;<span style="color: #7B927B;">,</span> &quot;DAO ile VBA: Sorgu oluşturma&quot;<span style="color: #7B927B;">,</span> &quot;sorDeneme&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> objSORGU <span style="color: #7B927B;">=</span> <span style="color: #151B8D; font-weight: bold;">CurrentDb</span><span style="color: #7B927B;">.</span>CreateQueryDef<span style="color: #7B927B;">(</span>SorguAD<span style="color: #7B927B;">,</span> strSQL<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">HataOlursa:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #008000;">'eğer adı geçen nesne zaten varsa silinebilir.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">If</span> Err<span style="color: #7B927B;">.</span>Number <span style="color: #7B927B;">=</span> 3012 <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">If</span> MsgBox<span style="color: #7B927B;">(</span>&quot;Zaten varmış<span style="color: #7B927B;">,</span> eskisini silip tekrar deneyeyim mi?&quot;<span style="color: #7B927B;">,</span> vbYesNo<span style="color: #7B927B;">,</span> &quot;Kara anı!&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> vbYes <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #151B8D; font-weight: bold;">CurrentDb</span><span style="color: #7B927B;">.</span>QueryDefs<span style="color: #7B927B;">.</span>Delete <span style="color: #7B927B;">(</span>SorguAD<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #151B8D; font-weight: bold;">Resume</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">         <span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">Sub</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li></ol></pre></code></div></div><br /><br />
<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.access-sql.com/images/attachtypes/zip.png" title="Zip File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=10457" target="_blank" title="">VBA DAO Sorgu Olustur ME.zip</a> (Boyut: 46,92 KB / İndirilme: 200)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SiralaME() Sıra numarası oluşturma (ADO/Acces/SQL(işlevsiz)'in diz çöküşü!)]]></title>
			<link>https://www.access-sql.com/Konu-SiralaME-Sira-numarasi-olusturma-ADO-Acces-SQL-islevsiz-in-diz-cokusu</link>
			<pubDate>Mon, 07 May 2012 17:29:48 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-SiralaME-Sira-numarasi-olusturma-ADO-Acces-SQL-islevsiz-in-diz-cokusu</guid>
			<description><![CDATA[<span style="color: #800080;" class="mycode_color"><span style="font-size: medium;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font"><br />
SiralaME Sorgular için sıra numarası oluşturma (SQL'in diz çöküşü!) <br />
<br />
<img src="https://www.access-sql.com/images/smilies/sml2/gg.gif" alt="Gg" title="Gg" class="smilie smilie_189" /> <a href="http://dl.dropbox.com/u/79396533/Access.ME/SiralaME.zip" target="_blank" rel="noopener" class="mycode_url">http://dl.dropbox.com/u/79396533/Access.ME/SiralaME.zip</a><br />
<br />
Her şey ektedir. en az ve öz kodla ve sağlam yapıyla hızlıca sıra numarası verdirmeye çalıştım. SQL,ADO,DAO,SQL(Dcount) yarıştırıldı. Uzun denemeler sonucu oluşturduğum Dcount ile olan fonksiyon açık ara öne geçti ama bu sefer de sorgu sonuçlarını gösteriminde takılma oluyor! Yine de gayet iyi oldu. Sorguda oalcaksa saydırma rakibi yok bence!<br />
<br />
Kazanan da Sürekli form oluyor. İlla sorguda oalcaksa sonuç ortada. Ben sürekli formu tercih ederim. Bir başk denememde de bariz üstün gelmişti.<br />
<br />
En büyük sorun şu oldu: Access 2010 63000 kayıtla baş edemiyor! Hata nerde anlamadım?<br />
<br />
Aynı işi yapan  tekniklerin hız farkı! Bir de aynı sorguyu iki ayrı sorgu gibi düşünüp sinir sıçramasından koruyan okunabilirliği ve de yazmayı kolaylaştıran çözümler var!<br />
<br />
<img src="https://www.access-sql.com/images/smilies/trz4/bomb.png" alt="Bomb" title="Bomb" class="smilie smilie_177" /><img src="https://www.access-sql.com/images/smilies/trz4/timebomb.gif" alt="Timebomb" title="Timebomb" class="smilie smilie_172" /><img src="https://www.access-sql.com/images/smilies/trz4/mstickle.gif" alt="Mstickle" title="Mstickle" class="smilie smilie_180" /><br />
<br />
Ucu bucağı geleceği yok gibiydi zorlamayla geldi. Genelde SQL kullanılıyor bu iş için... Artık değişmeli bence durum!</span></span></span><br />
<br />
Güncelleme: 17.05.2012 V2 <img src="https://www.access-sql.com/images/smilies/trz2/biglaugh.gif" alt="Biglaugh" title="Biglaugh" class="smilie smilie_73" /><br />
Güncelleme: 19.05.2012 Final ]]></description>
			<content:encoded><![CDATA[<span style="color: #800080;" class="mycode_color"><span style="font-size: medium;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font"><br />
SiralaME Sorgular için sıra numarası oluşturma (SQL'in diz çöküşü!) <br />
<br />
<img src="https://www.access-sql.com/images/smilies/sml2/gg.gif" alt="Gg" title="Gg" class="smilie smilie_189" /> <a href="http://dl.dropbox.com/u/79396533/Access.ME/SiralaME.zip" target="_blank" rel="noopener" class="mycode_url">http://dl.dropbox.com/u/79396533/Access.ME/SiralaME.zip</a><br />
<br />
Her şey ektedir. en az ve öz kodla ve sağlam yapıyla hızlıca sıra numarası verdirmeye çalıştım. SQL,ADO,DAO,SQL(Dcount) yarıştırıldı. Uzun denemeler sonucu oluşturduğum Dcount ile olan fonksiyon açık ara öne geçti ama bu sefer de sorgu sonuçlarını gösteriminde takılma oluyor! Yine de gayet iyi oldu. Sorguda oalcaksa saydırma rakibi yok bence!<br />
<br />
Kazanan da Sürekli form oluyor. İlla sorguda oalcaksa sonuç ortada. Ben sürekli formu tercih ederim. Bir başk denememde de bariz üstün gelmişti.<br />
<br />
En büyük sorun şu oldu: Access 2010 63000 kayıtla baş edemiyor! Hata nerde anlamadım?<br />
<br />
Aynı işi yapan  tekniklerin hız farkı! Bir de aynı sorguyu iki ayrı sorgu gibi düşünüp sinir sıçramasından koruyan okunabilirliği ve de yazmayı kolaylaştıran çözümler var!<br />
<br />
<img src="https://www.access-sql.com/images/smilies/trz4/bomb.png" alt="Bomb" title="Bomb" class="smilie smilie_177" /><img src="https://www.access-sql.com/images/smilies/trz4/timebomb.gif" alt="Timebomb" title="Timebomb" class="smilie smilie_172" /><img src="https://www.access-sql.com/images/smilies/trz4/mstickle.gif" alt="Mstickle" title="Mstickle" class="smilie smilie_180" /><br />
<br />
Ucu bucağı geleceği yok gibiydi zorlamayla geldi. Genelde SQL kullanılıyor bu iş için... Artık değişmeli bence durum!</span></span></span><br />
<br />
Güncelleme: 17.05.2012 V2 <img src="https://www.access-sql.com/images/smilies/trz2/biglaugh.gif" alt="Biglaugh" title="Biglaugh" class="smilie smilie_73" /><br />
Güncelleme: 19.05.2012 Final ]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[DAO SayME() : İstenilen Yerdeki Kayıt Sayısını Bulmak]]></title>
			<link>https://www.access-sql.com/Konu-DAO-SayME-Istenilen-Yerdeki-Kayit-Sayisini-Bulmak</link>
			<pubDate>Thu, 03 May 2012 21:42:26 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-DAO-SayME-Istenilen-Yerdeki-Kayit-Sayisini-Bulmak</guid>
			<description><![CDATA[<span style="color: #800080;" class="mycode_color"><span style="font-size: medium;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font"><br />
SayME: Beni say anlamında bir terimdir VBA'da <img src="https://www.access-sql.com/images/smilies/sml2/dd.gif" alt="Dd" title="Dd" class="smilie smilie_198" /><br />
<br />
Örnek kullanım:<br />
<span style="font-weight: bold;" class="mycode_b">SayME("Kisiler")</span> : Kisiler Tablsunun kayıt sayısını verir.<br />
<span style="font-weight: bold;" class="mycode_b">SayME("Select * Form Kisiler Where Ad='Mehmet'")</span> : Adı Mehmet olan verisetinin sayısını verir.<br />
<span style="font-weight: bold;" class="mycode_b">SayME(yordam)</span> : İlgili yodam sonucu seçilen kayıt sayısını verir.<br />
</span></span></span><br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> SayME<span style="color: #7B927B;">(</span>strSQL <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'ME: AVTdeki istediğiniz tabloların kayıt sayısını döndüren fonksiyondur.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'03.05.2012 21:35</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Mehmet Eser : eserbilisim.name.tr   -   access-sql.com</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'AVT: Access Veri Tabanı</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'strSQL yerine tablo adı, yordam veya SQL cümlesi yazabilirsiniz. </span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Fakat bu içerik verileri seçmeye yarayan bir şey olmalıdır.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> AVT <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span>Database</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> veriseti <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #268bd2; font-weight: bold;">GoTo</span> <span style="color: #3EA99F; font-weight: bold;">ErrorHandler</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> AVT <span style="color: #7B927B;">=</span> <span style="color: #151B8D; font-weight: bold;">CurrentDb</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> veriseti <span style="color: #7B927B;">=</span> AVT<span style="color: #7B927B;">.</span>OpenRecordset<span style="color: #7B927B;">(</span>strSQL<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">If</span> veriseti<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      SayME <span style="color: #7B927B;">=</span> 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      veriseti<span style="color: #7B927B;">.</span>MoveLast</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      SayME <span style="color: #7B927B;">=</span> veriseti<span style="color: #7B927B;">.</span>RecordCount</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      MsgBox SayME <span style="color: #7B927B;">,</span> vbOKCancel</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   veriseti<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   AVT<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> veriseti <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> AVT <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3EA99F; font-weight: bold;">ErrorHandler</span>:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   MsgBox &quot;<span style="color: #151B8D; font-weight: bold;">Error</span> #: &quot; &amp; Err<span style="color: #7B927B;">.</span>Number &amp; vbCrLf &amp; vbCrLf &amp; Err<span style="color: #7B927B;">.</span>Description</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></description>
			<content:encoded><![CDATA[<span style="color: #800080;" class="mycode_color"><span style="font-size: medium;" class="mycode_size"><span style="font-family: Times New Roman;" class="mycode_font"><br />
SayME: Beni say anlamında bir terimdir VBA'da <img src="https://www.access-sql.com/images/smilies/sml2/dd.gif" alt="Dd" title="Dd" class="smilie smilie_198" /><br />
<br />
Örnek kullanım:<br />
<span style="font-weight: bold;" class="mycode_b">SayME("Kisiler")</span> : Kisiler Tablsunun kayıt sayısını verir.<br />
<span style="font-weight: bold;" class="mycode_b">SayME("Select * Form Kisiler Where Ad='Mehmet'")</span> : Adı Mehmet olan verisetinin sayısını verir.<br />
<span style="font-weight: bold;" class="mycode_b">SayME(yordam)</span> : İlgili yodam sonucu seçilen kayıt sayısını verir.<br />
</span></span></span><br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> SayME<span style="color: #7B927B;">(</span>strSQL <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'ME: AVTdeki istediğiniz tabloların kayıt sayısını döndüren fonksiyondur.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'03.05.2012 21:35</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Mehmet Eser : eserbilisim.name.tr   -   access-sql.com</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'AVT: Access Veri Tabanı</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'strSQL yerine tablo adı, yordam veya SQL cümlesi yazabilirsiniz. </span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Fakat bu içerik verileri seçmeye yarayan bir şey olmalıdır.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> AVT <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span>Database</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> veriseti <span style="color: #151B8D; font-weight: bold;">As</span> DAO<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #268bd2; font-weight: bold;">GoTo</span> <span style="color: #3EA99F; font-weight: bold;">ErrorHandler</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> AVT <span style="color: #7B927B;">=</span> <span style="color: #151B8D; font-weight: bold;">CurrentDb</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> veriseti <span style="color: #7B927B;">=</span> AVT<span style="color: #7B927B;">.</span>OpenRecordset<span style="color: #7B927B;">(</span>strSQL<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">If</span> veriseti<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      SayME <span style="color: #7B927B;">=</span> 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      veriseti<span style="color: #7B927B;">.</span>MoveLast</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      SayME <span style="color: #7B927B;">=</span> veriseti<span style="color: #7B927B;">.</span>RecordCount</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">      MsgBox SayME <span style="color: #7B927B;">,</span> vbOKCancel</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   veriseti<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   AVT<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> veriseti <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   <span style="color: #151B8D; font-weight: bold;">Set</span> AVT <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3EA99F; font-weight: bold;">ErrorHandler</span>:</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">   MsgBox &quot;<span style="color: #151B8D; font-weight: bold;">Error</span> #: &quot; &amp; Err<span style="color: #7B927B;">.</span>Number &amp; vbCrLf &amp; vbCrLf &amp; Err<span style="color: #7B927B;">.</span>Description</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ADO & Schemas]]></title>
			<link>https://www.access-sql.com/Konu-ADO-Schemas</link>
			<pubDate>Sat, 02 Jan 2010 11:36:26 +0200</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-ADO-Schemas</guid>
			<description><![CDATA[Merhaba,<br />
<br />
Prosedurun oluşturacağı text dosyası ayraç karakteri "<span style="font-weight: bold;" class="mycode_b">|</span>" <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Explicit</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> Base 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Sub</span> ACCESS_DB_ANALIZ<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'==== ZEKİ GÜRSOY 2010 © ====</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> con   <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs    <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> props <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> prop  <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> arr&#36;<span style="color: #7B927B;">(),</span> byt <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Byte</span><span style="color: #7B927B;">,</span> j%</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">con<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    &quot;provider<span style="color: #7B927B;">=</span>microsoft<span style="color: #7B927B;">.</span>jet<span style="color: #7B927B;">.</span>oledb<span style="color: #7B927B;">.</span>4<span style="color: #7B927B;">.</span>0;data source<span style="color: #7B927B;">=</span>&quot; &amp; _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    &quot;C:&#092;Program Files&#092;Microsoft Office&#092;OFFICE11&#092;SAMPLES&#092;Northwind<span style="color: #7B927B;">.</span>mdb&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Open</span> CurrentProject<span style="color: #7B927B;">.</span>Path &amp; &quot;&#092;props<span style="color: #7B927B;">.</span>txt&quot; <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #151B8D; font-weight: bold;">Output</span> <span style="color: #151B8D; font-weight: bold;">As</span> #1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">====|</span>ZEKİ<span style="color: #7B927B;">|</span>GÜRSOY 2010 ©<span style="color: #7B927B;">|====</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;PROPERTIES&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;NAME&quot; &amp; &quot;<span style="color: #7B927B;">|</span>&quot; &amp; &quot;VALUE&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> prop <span style="color: #268bd2; font-weight: bold;">In</span> con<span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> prop<span style="color: #7B927B;">.</span>Name &amp; &quot;<span style="color: #7B927B;">|</span>&quot; &amp; prop<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;ŞEMALAR<span style="color: #7B927B;">...</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> byt <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> 39</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> con<span style="color: #7B927B;">.</span>OpenSchema<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> Err <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;ŞEMA_ID_&quot; &amp; <span style="color: #3EA99F; font-weight: bold;">Format</span>&#36;<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">,</span> &quot;00&quot;<span style="color: #7B927B;">)</span> &amp; &quot; <span style="color: #7B927B;">=</span> &quot; &amp; Sema_Adi<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">ReDim</span> arr&#36;<span style="color: #7B927B;">(</span>rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">For</span> j <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                arr<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> rs<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">).</span>Name</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> Join<span style="color: #7B927B;">(</span>arr<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">|</span>&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Do</span> <span style="color: #268bd2; font-weight: bold;">Until</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #268bd2; font-weight: bold;">For</span> j <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                    arr<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;&quot; &amp; rs<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">).</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> Join<span style="color: #7B927B;">(</span>arr<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">|</span>&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveNext</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Loop</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Err<span style="color: #7B927B;">.</span>Clear</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Close</span> #1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    con<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Erase arr: byt <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Empty</span>: j <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Empty</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Sub</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Private</span> <span style="color: #268bd2; font-weight: bold;">Function</span> Sema_Adi<span style="color: #7B927B;">(</span>arg <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Byte</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Select</span> <span style="color: #268bd2; font-weight: bold;">Case</span> arg</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaColumns <span style="color: #008000;">'4</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaColumns&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaCheckConstraints <span style="color: #008000;">'5</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaCheckConstraints&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaConstraintColumnUsage <span style="color: #008000;">'6</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaConstraintColumnUsage&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaKeyColumnUsage <span style="color: #008000;">'8</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaKeyColumnUsage&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaReferentialConstraints <span style="color: #008000;">'9</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;AdSchemaReferentialConstraints&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaTableConstraints <span style="color: #008000;">'10</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaTableConstraints&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaIndexes <span style="color: #008000;">'12</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaIndexes&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaProcedures <span style="color: #008000;">'16</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaProcedures&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaStatistics <span style="color: #008000;">'19</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaStatistics&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaTables <span style="color: #008000;">'20</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaTables&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaProviderTypes <span style="color: #008000;">'22</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaProviderTypes&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaViews <span style="color: #008000;">'23</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaViews&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaForeignKeys <span style="color: #008000;">'27</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaForeignKeys&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaPrimaryKeys <span style="color: #008000;">'28</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaPrimaryKeys&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaDBInfoKeywords <span style="color: #008000;">'30</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaDBInfoKeywords&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaDBInfoLiterals <span style="color: #008000;">'31</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaDBInfoLiterals&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;Sürpriz olur<span style="color: #7B927B;">...</span> ;<span style="color: #7B927B;">-</span>D&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Select</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></description>
			<content:encoded><![CDATA[Merhaba,<br />
<br />
Prosedurun oluşturacağı text dosyası ayraç karakteri "<span style="font-weight: bold;" class="mycode_b">|</span>" <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Explicit</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> Base 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Sub</span> ACCESS_DB_ANALIZ<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'==== ZEKİ GÜRSOY 2010 © ====</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> con   <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs    <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> props <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> prop  <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> arr&#36;<span style="color: #7B927B;">(),</span> byt <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Byte</span><span style="color: #7B927B;">,</span> j%</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">con<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    &quot;provider<span style="color: #7B927B;">=</span>microsoft<span style="color: #7B927B;">.</span>jet<span style="color: #7B927B;">.</span>oledb<span style="color: #7B927B;">.</span>4<span style="color: #7B927B;">.</span>0;data source<span style="color: #7B927B;">=</span>&quot; &amp; _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    &quot;C:&#092;Program Files&#092;Microsoft Office&#092;OFFICE11&#092;SAMPLES&#092;Northwind<span style="color: #7B927B;">.</span>mdb&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Open</span> CurrentProject<span style="color: #7B927B;">.</span>Path &amp; &quot;&#092;props<span style="color: #7B927B;">.</span>txt&quot; <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #151B8D; font-weight: bold;">Output</span> <span style="color: #151B8D; font-weight: bold;">As</span> #1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">====|</span>ZEKİ<span style="color: #7B927B;">|</span>GÜRSOY 2010 ©<span style="color: #7B927B;">|====</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;PROPERTIES&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;NAME&quot; &amp; &quot;<span style="color: #7B927B;">|</span>&quot; &amp; &quot;VALUE&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> prop <span style="color: #268bd2; font-weight: bold;">In</span> con<span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> prop<span style="color: #7B927B;">.</span>Name &amp; &quot;<span style="color: #7B927B;">|</span>&quot; &amp; prop<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;ŞEMALAR<span style="color: #7B927B;">...</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> byt <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> 39</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> con<span style="color: #7B927B;">.</span>OpenSchema<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> Err <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;ŞEMA_ID_&quot; &amp; <span style="color: #3EA99F; font-weight: bold;">Format</span>&#36;<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">,</span> &quot;00&quot;<span style="color: #7B927B;">)</span> &amp; &quot; <span style="color: #7B927B;">=</span> &quot; &amp; Sema_Adi<span style="color: #7B927B;">(</span>byt<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">ReDim</span> arr&#36;<span style="color: #7B927B;">(</span>rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">For</span> j <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                arr<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> rs<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">).</span>Name</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> Join<span style="color: #7B927B;">(</span>arr<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">|</span>&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Do</span> <span style="color: #268bd2; font-weight: bold;">Until</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #268bd2; font-weight: bold;">For</span> j <span style="color: #7B927B;">=</span> 0 <span style="color: #268bd2; font-weight: bold;">To</span> rs<span style="color: #7B927B;">.</span>Fields<span style="color: #7B927B;">.</span>Count <span style="color: #7B927B;">-</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                    arr<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;&quot; &amp; rs<span style="color: #7B927B;">(</span>j<span style="color: #7B927B;">).</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> Join<span style="color: #7B927B;">(</span>arr<span style="color: #7B927B;">,</span> &quot;<span style="color: #7B927B;">|</span>&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveNext</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Loop</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Print</span> #1<span style="color: #7B927B;">,</span> &quot;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Err<span style="color: #7B927B;">.</span>Clear</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Close</span> #1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    con<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Erase arr: byt <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Empty</span>: j <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Empty</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Sub</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Private</span> <span style="color: #268bd2; font-weight: bold;">Function</span> Sema_Adi<span style="color: #7B927B;">(</span>arg <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Byte</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Select</span> <span style="color: #268bd2; font-weight: bold;">Case</span> arg</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaColumns <span style="color: #008000;">'4</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaColumns&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaCheckConstraints <span style="color: #008000;">'5</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaCheckConstraints&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaConstraintColumnUsage <span style="color: #008000;">'6</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaConstraintColumnUsage&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaKeyColumnUsage <span style="color: #008000;">'8</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaKeyColumnUsage&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaReferentialConstraints <span style="color: #008000;">'9</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;AdSchemaReferentialConstraints&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaTableConstraints <span style="color: #008000;">'10</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaTableConstraints&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaIndexes <span style="color: #008000;">'12</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaIndexes&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaProcedures <span style="color: #008000;">'16</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaProcedures&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaStatistics <span style="color: #008000;">'19</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaStatistics&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaTables <span style="color: #008000;">'20</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaTables&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaProviderTypes <span style="color: #008000;">'22</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaProviderTypes&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaViews <span style="color: #008000;">'23</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaViews&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaForeignKeys <span style="color: #008000;">'27</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaForeignKeys&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaPrimaryKeys <span style="color: #008000;">'28</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaPrimaryKeys&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaDBInfoKeywords <span style="color: #008000;">'30</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaDBInfoKeywords&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> adSchemaDBInfoLiterals <span style="color: #008000;">'31</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;adSchemaDBInfoLiterals&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Sema_Adi <span style="color: #7B927B;">=</span> &quot;Sürpriz olur<span style="color: #7B927B;">...</span> ;<span style="color: #7B927B;">-</span>D&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Select</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ADOX ile Programlama Kod Örnekleri]]></title>
			<link>https://www.access-sql.com/Konu-ADOX-ile-Programlama-Kod-Ornekleri</link>
			<pubDate>Wed, 15 Jul 2009 22:47:09 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-ADOX-ile-Programlama-Kod-Ornekleri</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">ADOX ile Programlama kod örnekleri</span></span><br />
Bu yazımızda veritabanı programcılarına başvuru niteliğinde olabilecek ve ADOX kütüphanesini kullanarak program içinden Access nesnelerinin (tablo, alan, indexleme ve ilişkilendirme, sorgu ve veritabanı) nasıl oluşturulabileceği, silineceği, değiştirilebileceği ve listelenebileceği veya özelliklerinin nasıl değiştirilebileceği ele alınacaktır.<br />
ADOX ADO kütüphanesinin bir uzantısıdır. Veritabanı nesnelerinin bir listesini vermektedir. Bu kütüphaneyi kullanabilmek için aşağıdaki referansı eklemek gerekir.<br />
 <br />
    Microsoft ADO Ext x.x for DDL and Security<br />
<br />
Genel olarak DAO kütüphanesi bu gibi işlemler için daha uygundur ve sadece Access için üretilmiştir. Fakat bazı işlemler DAO ile yapılamaktadır. Örneğin bir tanesi kod ile otomatik sayı başlangıcının yapılamamasıdır. ADOX DAO ya göre daha az stabildir ve versiyonlar arasında sorunlar yaratabilmektedir.<br />
Aşağıda ADOX ile kullanılabilecek bazı özel fonksiyonlar yer almaktadır. Kodları bir modüle kopyalayıp kullanabilirsiniz.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Fonksiyonlar	           Açıklama</span><br />
<span style="font-weight: bold;" class="mycode_b">SetSeed()	</span>                   Otomatik sayının başlangıç sayısını ayarlar.<br />
<span style="font-weight: bold;" class="mycode_b">ShowAllTables()</span>	           Tabloları listeler (Alan listelemesi de yapılabilir)<br />
<span style="font-weight: bold;" class="mycode_b">ShowPropsADOX()</span>	   Tablonun sütunlarını gösterir ve istenirse özelliklerini değiştirebilir.<br />
<span style="font-weight: bold;" class="mycode_b">CreateTableAdox()</span>	   Çeşitli alan tipli tablo oluşturur.<br />
<span style="font-weight: bold;" class="mycode_b">ModifyTableAdox()</span>	   Tabloya alan ekler veya siler.<br />
<span style="font-weight: bold;" class="mycode_b">ModifyFieldPropAdox()</span>	   Alan özelliklerinin nasıl değiştirilebileceğini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteTableAdox()</span>	   Tablo siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateIndexesAdox()</span>	   Nasıl index oluşturulacağını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteIndexAdox()</span>	   İndexlerin nasıl silinebileceğini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">CreateKeyAdox()	</span>           İlişkilendirmenin nasıl yapılacağını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">ShowKeyAdox()</span>	           İlişkilerin listesini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteKeyAdox()</span>           İlişkileri siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateViewAdox()</span>	   Sorgu oluşturur<br />
<span style="font-weight: bold;" class="mycode_b">CreateProcedureAdox()</span>	   Parametre sorgusu veya aksiyon sorgusu oluşturur. <br />
<span style="font-weight: bold;" class="mycode_b">ShowProx()	</span>                   Sorguları listeler<br />
<span style="font-weight: bold;" class="mycode_b">ExecuteProcedureAdox()</span>  Execute a parameter query<br />
<span style="font-weight: bold;" class="mycode_b">DeleteProcedureAdox()</span>	  Sorguları siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateDatabaseAdox()</span>  Veritabanı oluşturur<br />
<span style="font-weight: bold;" class="mycode_b">DeleteAllAndResetAutoNum()</span>	Bir tablonun tüm verilerini siler ve otomatik sayıyı sıfırlar.<br />
<span style="font-weight: bold;" class="mycode_b">GetSeedADOX()</span>	           Otomatik sayının başlangıç sayısını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">ResetSeed()</span>	           Otomatik sayıyı sıfırlar<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Compare</span> Database</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Explicit</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> SetSeed<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> strAutoNum <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> lngID <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX kullanarak otomatik sayıyı sıfırlamak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">).</span>Columns<span style="color: #7B927B;">(</span>strAutoNum<span style="color: #7B927B;">).</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> lngID</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    SetSeed <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowAllTables<span style="color: #7B927B;">(</span><span style="color: #151B8D; font-weight: bold;">Optional</span> bShowFieldsToo <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tabloları listeler.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablolar içinde her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablo içindeki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm tablolar üstünde döngü.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> tbl <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Tables</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> tbl<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> tbl<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> bShowFieldsToo <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Tüm sütunlar üstünde döngü.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> <span style="color: #7B927B;">,</span> col<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> col<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;<span style="color: #7B927B;">--------------------------------</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Stop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowPropsADOX<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> <span style="color: #151B8D; font-weight: bold;">Optional</span> bShowPropertiesToo <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tüm sütunları ve istenirse özelliklerini gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablolar içinde her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablodaki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> prp <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> col<span style="color: #7B927B;">.</span>Name        <span style="color: #008000;">', col.Properties(&quot;Fixed length&quot;), col.Type</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> bShowPropertiesToo <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> prp <span style="color: #268bd2; font-weight: bold;">In</span> col<span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> <span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span><span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;<span style="color: #7B927B;">--------------------------------</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #008000;">'Stop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX kullanarak veritabanı oluşturmak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tablo oluşturucuya ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxContractor&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütunları oluşturma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;<span style="color: #7B927B;">,</span> adInteger   <span style="color: #008000;">'Number (Long Integer)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Surname&quot;<span style="color: #7B927B;">,</span> adVarWChar<span style="color: #7B927B;">,</span> 30   <span style="color: #008000;">'Text (30 max)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;FirstName&quot;<span style="color: #7B927B;">,</span> adVarWChar<span style="color: #7B927B;">,</span> 20 <span style="color: #008000;">'Text (20 max)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Inactive&quot;<span style="color: #7B927B;">,</span> adBoolean       <span style="color: #008000;">'Yes/No</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;HourlyFee&quot;<span style="color: #7B927B;">,</span> adCurrency     <span style="color: #008000;">'Currency</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;PenaltyRate&quot;<span style="color: #7B927B;">,</span> adDouble     <span style="color: #008000;">'Number (Double)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BirthDate&quot;<span style="color: #7B927B;">,</span> adDate         <span style="color: #008000;">'Date/Time</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Notes&quot;<span style="color: #7B927B;">,</span> adLongVarWChar     <span style="color: #008000;">'Memo</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Web&quot;<span style="color: #7B927B;">,</span> adLongVarWChar       <span style="color: #008000;">'Memo (for hyperlink)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Sütun özelliklerini oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Otomatik sayı</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !ContractorID</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span>     <span style="color: #008000;">'Otomatik sayı</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Description&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Automatically &quot; &amp; _</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;generated unique identifier <span style="color: #268bd2; font-weight: bold;">for</span> this record<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Gerekli alan</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !Surname</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span>         <span style="color: #008000;">'Gerekli.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Allow Zero Length&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Set a validation rule.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BirthDate</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Column Validation Rule&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;<span style="color: #268bd2; font-weight: bold;">Is</span> <span style="color: #718c00; font-weight: bold;">Null</span> <span style="color: #268bd2; font-weight: bold;">Or</span> <span style="color: #7B927B;">&lt;=</span><span style="color: #F660AB; font-weight: bold;">Date</span><span style="color: #7B927B;">()</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Column Validation Text&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;Birth <span style="color: #F660AB; font-weight: bold;">date</span> cannot be future<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hyperlink alanı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !Web</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Hyperlink&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #008000;">'Hyperlink.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloyu kataloga kaydetme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Append tbl</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxContractor created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloya ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütunlara ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingID&quot;<span style="color: #7B927B;">,</span> adInteger</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingDate&quot;<span style="color: #7B927B;">,</span> adDate</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;<span style="color: #7B927B;">,</span> adInteger</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingFee&quot;<span style="color: #7B927B;">,</span> adCurrency</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingNote&quot;<span style="color: #7B927B;">,</span> adWChar<span style="color: #7B927B;">,</span> 255</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Alan özelliklerini oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BookingID                             <span style="color: #008000;">'Otomatik sayı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BookingNote                           <span style="color: #008000;">'Gerekli.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Allow Zero Length&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloyu kaydetme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Append tbl</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxBooking created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ModifyTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile alan ekleme ve silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni sütun ekleme</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> col</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;MyDecimal&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adNumeric   <span style="color: #008000;">'ondalık tip.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Precision <span style="color: #7B927B;">=</span> 28     <span style="color: #008000;">'28 basamaklı.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>NumericScale <span style="color: #7B927B;">=</span> 8   <span style="color: #008000;">'8 ondalıklı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append col</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Column added<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütun silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Delete &quot;MyDecimal&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Column deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ModifyFieldPropAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sütun özelliklerini değiştirme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Not:      Alan boyutunu değiştiremezsiniz.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> prp <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;MyTable&quot;<span style="color: #7B927B;">).</span>Columns<span style="color: #7B927B;">(</span>&quot;MyField&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'col.ParentCatalog = cat</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Özelliği okumak</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> prp<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Value<span style="color: #7B927B;">,</span> <span style="color: #7B927B;">(</span>prp<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adBoolean<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Özelliği değiştirmek</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    prp<span style="color: #7B927B;">.</span>Value <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">Not</span> prp<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tablo silmek.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Delete &quot;MyTable&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateIndexesAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile indexleme yapmak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ind <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Anahtar alan oluşturmak</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;PrimaryKey&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>PrimaryKey <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Bir sütuna index oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Çoklu alanı indexleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;FullName&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> ind<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Surname&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;FirstName&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxContractor indexes created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteIndexAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile indexleri silmek.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">).</span>Indexes<span style="color: #7B927B;">.</span>Delete &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateKeyAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkilendirme oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ky <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Key</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxBooking&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">' tblAdoxContractor.ContractorID alanına yabancı anahtar oluşturmak</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adKeyForeign</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxContractortblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>RelatedTable <span style="color: #7B927B;">=</span> &quot;tblAdoxContractor&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;      <span style="color: #008000;">'Tek alan.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">(</span>&quot;ContractorID&quot;<span style="color: #7B927B;">).</span>RelatedColumn <span style="color: #7B927B;">=</span> &quot;ContractorID&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>DeleteRule <span style="color: #7B927B;">=</span> adRISetNull   </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Keys<span style="color: #7B927B;">.</span>Append ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ky <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowKeyAdox<span style="color: #7B927B;">(</span>strTableName <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkileri gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ky <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Key</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strRIName <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTableName<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> ky <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Keys</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Select</span> <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #7B927B;">.</span>DeleteRule</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRINone</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;No delete rule&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRICascade</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade delete&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRISetNull</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade <span style="color: #268bd2; font-weight: bold;">to</span> null&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRISetDefault</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade <span style="color: #268bd2; font-weight: bold;">to</span> default&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;DeleteRule of &quot; &amp; <span style="color: #7B927B;">.</span>DeleteRule &amp; &quot; unknown<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Select</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key: &quot; &amp; <span style="color: #7B927B;">.</span>Name &amp; &quot;<span style="color: #7B927B;">,</span> <span style="color: #268bd2; font-weight: bold;">to</span> table: &quot; &amp; <span style="color: #7B927B;">.</span>RelatedTable &amp; &quot;<span style="color: #7B927B;">,</span> <span style="color: #268bd2; font-weight: bold;">with</span>: &quot; &amp; strRIName</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ky <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteKeyAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkileri silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxBooking&quot;<span style="color: #7B927B;">).</span>Keys<span style="color: #7B927B;">.</span>Delete &quot;tblAdoxContractortblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateViewAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorgu oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Komut cümlesi özelliğine sql cümlesi yükleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> BookingID<span style="color: #7B927B;">,</span> BookingDate FROM tblDaoBooking;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>CommandText <span style="color: #7B927B;">=</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Komutu koleksiyon listesine ekleme.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Views<span style="color: #7B927B;">.</span>Append &quot;qryAdoxBooking&quot;<span style="color: #7B927B;">,</span> cmd</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;View created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX parametre veya fonksiyon sorgusu oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'SQL cümlesini Komut cümlesi özelliğine atama.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;PARAMETERS StartDate DateTime<span style="color: #7B927B;">,</span> EndDate DateTime; &quot; &amp; _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        &quot;DELETE FROM tblAdoxBooking &quot; &amp; _</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        &quot;WHERE BookingDate Between StartDate <span style="color: #268bd2; font-weight: bold;">And</span> EndDate;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>CommandText <span style="color: #7B927B;">=</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">	<span style="color: #008000;">'Komutu koleksiyon listesine ekleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Append &quot;qryAdoxDeleteBooking&quot;<span style="color: #7B927B;">,</span> cmd</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme<span style="color: #7B927B;">.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Procedure created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowProx<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorguları listeleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> proc <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Procedure</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> vw <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>View</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Procedures: &quot; &amp; cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Count</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> proc <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Procedures</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> proc<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Count &amp; &quot; procedure<span style="color: #7B927B;">(</span>s<span style="color: #7B927B;">)</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Views &quot; &amp; cat<span style="color: #7B927B;">.</span>Views<span style="color: #7B927B;">.</span>Count</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> vw <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Views</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> vw<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ExecuteProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile parametre sorgusu çalıştırma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngCount <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">(</span>&quot;qryAdoxDeleteBooking&quot;<span style="color: #7B927B;">).</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Parametreleri oluşturma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>Parameters<span style="color: #7B927B;">(</span>&quot;StartDate&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> #1<span style="color: #7B927B;">/</span>1<span style="color: #7B927B;">/</span>2004#</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>Parameters<span style="color: #7B927B;">(</span>&quot;EndDate&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> #12<span style="color: #7B927B;">/</span>31<span style="color: #7B927B;">/</span>2004#</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Olayı çalıştırma</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> lngCount</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> lngCount &amp; &quot; record<span style="color: #7B927B;">(</span>s<span style="color: #7B927B;">)</span> deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Alternatif: parametreleri matrisle verme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'cmd.Execute , Array(#1/1/2004#, #12/31/2004#)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorgu silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngCount <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Delete &quot;qryAdoxDeleteBooking&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateDatabaseAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile veritabanı oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strFile <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strFile <span style="color: #7B927B;">=</span> &quot;C:&#092;SampleADOX<span style="color: #7B927B;">.</span>mdb&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Create &quot;Provider<span style="color: #7B927B;">=</span><span style="color: #008000;">'Microsoft.Jet.OLEDB.4.0';&quot; &amp; _</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&nbsp;       &quot;Data Source='&quot; &amp; strFile &amp; &quot;'&quot;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> strFile &amp; &quot; created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteAllAndResetAutoNum<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tüm verileri silme ve otomatik sayıyı sıfırlama.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'           Otomatik sayı alanına nasıl ulaşışldığını gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Argüman:  Tablo adını değiştirme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Geriye dönen:    İşlem tamam ise doğru.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm verileri silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;DELETE FROM [&quot; &amp; strTable &amp; &quot;];&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm otomatik sayılı alanları bulup sıfırlama.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            DeleteAllAndResetAutoNum <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> GetSeedADOX<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> <span style="color: #151B8D; font-weight: bold;">Optional</span> <span style="color: #151B8D; font-weight: bold;">ByRef</span> strCol <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   Otomatik sayı kökünü okuma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Arguman: strTable kontrol edilen tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'           strCol = Alan adı. Eğer var ise kod onu bulup çıkarıyor.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Geriye dönen:    Kök sayısı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablo içindeki her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablo içindeki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Otomatik sayılı alanı bulana kadar dön.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strCol <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            GetSeedADOX <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">For</span>    <span style="color: #008000;">'There can be only one AutoNum.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ResetSeed<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile otomatik sayı kökünü sıfırlama.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strAutoNum <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span>    <span style="color: #008000;">'Otomatik sayı tipli alan adı.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngSeed <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span>         <span style="color: #008000;">'Kökün halıhazırdaki değeri.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngNext <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span>         <span style="color: #008000;">'Kullanılmayın sonraki değer.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strResult <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    lngSeed <span style="color: #7B927B;">=</span> GetSeedADOX<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">,</span> strAutoNum<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">If</span> strAutoNum <span style="color: #7B927B;">=</span> vbNullString <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        strResult <span style="color: #7B927B;">=</span> &quot;AutoNumber <span style="color: #268bd2; font-weight: bold;">not</span> found<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        lngNext <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nz</span><span style="color: #7B927B;">(</span><span style="color: #718c00; font-weight: bold;">DMax</span><span style="color: #7B927B;">(</span>strAutoNum<span style="color: #7B927B;">,</span> strTable<span style="color: #7B927B;">),</span> 0<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">+</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> lngSeed <span style="color: #7B927B;">=</span> lngNext <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strResult <span style="color: #7B927B;">=</span> strAutoNum &amp; &quot; already correctly <span style="color: #151B8D; font-weight: bold;">set</span> <span style="color: #268bd2; font-weight: bold;">to</span> &quot; &amp; lngSeed &amp; &quot;<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> lngNext<span style="color: #7B927B;">,</span> lngSeed</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strSql <span style="color: #7B927B;">=</span> &quot;ALTER TABLE [&quot; &amp; strTable &amp; &quot;] ALTER COLUMN [&quot; &amp; strAutoNum &amp; &quot;] COUNTER<span style="color: #7B927B;">(</span>&quot; &amp; lngNext &amp; &quot;<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">)</span>;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strResult <span style="color: #7B927B;">=</span> strAutoNum &amp; &quot; reset from &quot; &amp; lngSeed &amp; &quot; <span style="color: #268bd2; font-weight: bold;">to</span> &quot; &amp; lngNext</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ResetSeed <span style="color: #7B927B;">=</span> strResult</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">ADOX ile Programlama kod örnekleri</span></span><br />
Bu yazımızda veritabanı programcılarına başvuru niteliğinde olabilecek ve ADOX kütüphanesini kullanarak program içinden Access nesnelerinin (tablo, alan, indexleme ve ilişkilendirme, sorgu ve veritabanı) nasıl oluşturulabileceği, silineceği, değiştirilebileceği ve listelenebileceği veya özelliklerinin nasıl değiştirilebileceği ele alınacaktır.<br />
ADOX ADO kütüphanesinin bir uzantısıdır. Veritabanı nesnelerinin bir listesini vermektedir. Bu kütüphaneyi kullanabilmek için aşağıdaki referansı eklemek gerekir.<br />
 <br />
    Microsoft ADO Ext x.x for DDL and Security<br />
<br />
Genel olarak DAO kütüphanesi bu gibi işlemler için daha uygundur ve sadece Access için üretilmiştir. Fakat bazı işlemler DAO ile yapılamaktadır. Örneğin bir tanesi kod ile otomatik sayı başlangıcının yapılamamasıdır. ADOX DAO ya göre daha az stabildir ve versiyonlar arasında sorunlar yaratabilmektedir.<br />
Aşağıda ADOX ile kullanılabilecek bazı özel fonksiyonlar yer almaktadır. Kodları bir modüle kopyalayıp kullanabilirsiniz.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Fonksiyonlar	           Açıklama</span><br />
<span style="font-weight: bold;" class="mycode_b">SetSeed()	</span>                   Otomatik sayının başlangıç sayısını ayarlar.<br />
<span style="font-weight: bold;" class="mycode_b">ShowAllTables()</span>	           Tabloları listeler (Alan listelemesi de yapılabilir)<br />
<span style="font-weight: bold;" class="mycode_b">ShowPropsADOX()</span>	   Tablonun sütunlarını gösterir ve istenirse özelliklerini değiştirebilir.<br />
<span style="font-weight: bold;" class="mycode_b">CreateTableAdox()</span>	   Çeşitli alan tipli tablo oluşturur.<br />
<span style="font-weight: bold;" class="mycode_b">ModifyTableAdox()</span>	   Tabloya alan ekler veya siler.<br />
<span style="font-weight: bold;" class="mycode_b">ModifyFieldPropAdox()</span>	   Alan özelliklerinin nasıl değiştirilebileceğini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteTableAdox()</span>	   Tablo siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateIndexesAdox()</span>	   Nasıl index oluşturulacağını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteIndexAdox()</span>	   İndexlerin nasıl silinebileceğini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">CreateKeyAdox()	</span>           İlişkilendirmenin nasıl yapılacağını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">ShowKeyAdox()</span>	           İlişkilerin listesini gösterir<br />
<span style="font-weight: bold;" class="mycode_b">DeleteKeyAdox()</span>           İlişkileri siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateViewAdox()</span>	   Sorgu oluşturur<br />
<span style="font-weight: bold;" class="mycode_b">CreateProcedureAdox()</span>	   Parametre sorgusu veya aksiyon sorgusu oluşturur. <br />
<span style="font-weight: bold;" class="mycode_b">ShowProx()	</span>                   Sorguları listeler<br />
<span style="font-weight: bold;" class="mycode_b">ExecuteProcedureAdox()</span>  Execute a parameter query<br />
<span style="font-weight: bold;" class="mycode_b">DeleteProcedureAdox()</span>	  Sorguları siler<br />
<span style="font-weight: bold;" class="mycode_b">CreateDatabaseAdox()</span>  Veritabanı oluşturur<br />
<span style="font-weight: bold;" class="mycode_b">DeleteAllAndResetAutoNum()</span>	Bir tablonun tüm verilerini siler ve otomatik sayıyı sıfırlar.<br />
<span style="font-weight: bold;" class="mycode_b">GetSeedADOX()</span>	           Otomatik sayının başlangıç sayısını gösterir<br />
<span style="font-weight: bold;" class="mycode_b">ResetSeed()</span>	           Otomatik sayıyı sıfırlar<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Compare</span> Database</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Option</span> <span style="color: #268bd2; font-weight: bold;">Explicit</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> SetSeed<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> strAutoNum <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> lngID <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX kullanarak otomatik sayıyı sıfırlamak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">).</span>Columns<span style="color: #7B927B;">(</span>strAutoNum<span style="color: #7B927B;">).</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> lngID</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    SetSeed <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowAllTables<span style="color: #7B927B;">(</span><span style="color: #151B8D; font-weight: bold;">Optional</span> bShowFieldsToo <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tabloları listeler.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablolar içinde her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablo içindeki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm tablolar üstünde döngü.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> tbl <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Tables</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> tbl<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> tbl<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> bShowFieldsToo <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Tüm sütunlar üstünde döngü.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> <span style="color: #7B927B;">,</span> col<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> col<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;<span style="color: #7B927B;">--------------------------------</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Stop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowPropsADOX<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> <span style="color: #151B8D; font-weight: bold;">Optional</span> bShowPropertiesToo <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tüm sütunları ve istenirse özelliklerini gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablolar içinde her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablodaki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> prp <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> col<span style="color: #7B927B;">.</span>Name        <span style="color: #008000;">', col.Properties(&quot;Fixed length&quot;), col.Type</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> bShowPropertiesToo <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> prp <span style="color: #268bd2; font-weight: bold;">In</span> col<span style="color: #7B927B;">.</span>Properties</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> <span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span><span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;<span style="color: #7B927B;">--------------------------------</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #008000;">'Stop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX kullanarak veritabanı oluşturmak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tablo oluşturucuya ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxContractor&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütunları oluşturma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;<span style="color: #7B927B;">,</span> adInteger   <span style="color: #008000;">'Number (Long Integer)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Surname&quot;<span style="color: #7B927B;">,</span> adVarWChar<span style="color: #7B927B;">,</span> 30   <span style="color: #008000;">'Text (30 max)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;FirstName&quot;<span style="color: #7B927B;">,</span> adVarWChar<span style="color: #7B927B;">,</span> 20 <span style="color: #008000;">'Text (20 max)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Inactive&quot;<span style="color: #7B927B;">,</span> adBoolean       <span style="color: #008000;">'Yes/No</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;HourlyFee&quot;<span style="color: #7B927B;">,</span> adCurrency     <span style="color: #008000;">'Currency</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;PenaltyRate&quot;<span style="color: #7B927B;">,</span> adDouble     <span style="color: #008000;">'Number (Double)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BirthDate&quot;<span style="color: #7B927B;">,</span> adDate         <span style="color: #008000;">'Date/Time</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Notes&quot;<span style="color: #7B927B;">,</span> adLongVarWChar     <span style="color: #008000;">'Memo</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Web&quot;<span style="color: #7B927B;">,</span> adLongVarWChar       <span style="color: #008000;">'Memo (for hyperlink)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Sütun özelliklerini oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Otomatik sayı</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !ContractorID</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span>     <span style="color: #008000;">'Otomatik sayı</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Description&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Automatically &quot; &amp; _</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;generated unique identifier <span style="color: #268bd2; font-weight: bold;">for</span> this record<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Gerekli alan</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !Surname</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span>         <span style="color: #008000;">'Gerekli.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Allow Zero Length&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Set a validation rule.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BirthDate</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Column Validation Rule&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;<span style="color: #268bd2; font-weight: bold;">Is</span> <span style="color: #718c00; font-weight: bold;">Null</span> <span style="color: #268bd2; font-weight: bold;">Or</span> <span style="color: #7B927B;">&lt;=</span><span style="color: #F660AB; font-weight: bold;">Date</span><span style="color: #7B927B;">()</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Column Validation Text&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                &quot;Birth <span style="color: #F660AB; font-weight: bold;">date</span> cannot be future<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hyperlink alanı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !Web</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Hyperlink&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #008000;">'Hyperlink.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloyu kataloga kaydetme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Append tbl</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxContractor created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloya ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütunlara ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingID&quot;<span style="color: #7B927B;">,</span> adInteger</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingDate&quot;<span style="color: #7B927B;">,</span> adDate</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;<span style="color: #7B927B;">,</span> adInteger</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingFee&quot;<span style="color: #7B927B;">,</span> adCurrency</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;BookingNote&quot;<span style="color: #7B927B;">,</span> adWChar<span style="color: #7B927B;">,</span> 255</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Alan özelliklerini oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BookingID                             <span style="color: #008000;">'Otomatik sayı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> !BookingNote                           <span style="color: #008000;">'Gerekli.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>ParentCatalog <span style="color: #7B927B;">=</span> cat</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Jet OLEDB:Allow Zero Length&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">False</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni tabloyu kaydetme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Append tbl</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxBooking created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ModifyTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile alan ekleme ve silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Yeni sütun ekleme</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> col</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;MyDecimal&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adNumeric   <span style="color: #008000;">'ondalık tip.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Precision <span style="color: #7B927B;">=</span> 28     <span style="color: #008000;">'28 basamaklı.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>NumericScale <span style="color: #7B927B;">=</span> 8   <span style="color: #008000;">'8 ondalıklı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append col</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Column added<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Sütun silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Delete &quot;MyDecimal&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Column deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ModifyFieldPropAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sütun özelliklerini değiştirme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Not:      Alan boyutunu değiştiremezsiniz.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> prp <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Property</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;MyTable&quot;<span style="color: #7B927B;">).</span>Columns<span style="color: #7B927B;">(</span>&quot;MyField&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'col.ParentCatalog = cat</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Nullable&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Özelliği okumak</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> prp<span style="color: #7B927B;">.</span>Name<span style="color: #7B927B;">,</span> prp<span style="color: #7B927B;">.</span>Value<span style="color: #7B927B;">,</span> <span style="color: #7B927B;">(</span>prp<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adBoolean<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Özelliği değiştirmek</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    prp<span style="color: #7B927B;">.</span>Value <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">Not</span> prp<span style="color: #7B927B;">.</span>Value</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> prp <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteTableAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tablo silmek.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">.</span>Delete &quot;MyTable&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateIndexesAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile indexleme yapmak.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ind <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Anahtar alan oluşturmak</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;PrimaryKey&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>PrimaryKey <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Bir sütuna index oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Çoklu alanı indexleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Index</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ind<span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;FullName&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> ind<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;Surname&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Append &quot;FirstName&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Indexes<span style="color: #7B927B;">.</span>Append ind</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ind <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;tblAdoxContractor indexes created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteIndexAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile indexleri silmek.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxContractor&quot;<span style="color: #7B927B;">).</span>Indexes<span style="color: #7B927B;">.</span>Delete &quot;Inactive&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateKeyAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkilendirme oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ky <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Key</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxBooking&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">' tblAdoxContractor.ContractorID alanına yabancı anahtar oluşturmak</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">With</span> ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Type</span> <span style="color: #7B927B;">=</span> adKeyForeign</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Name <span style="color: #7B927B;">=</span> &quot;tblAdoxContractortblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>RelatedTable <span style="color: #7B927B;">=</span> &quot;tblAdoxContractor&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">.</span>Append &quot;ContractorID&quot;      <span style="color: #008000;">'Tek alan.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>Columns<span style="color: #7B927B;">(</span>&quot;ContractorID&quot;<span style="color: #7B927B;">).</span>RelatedColumn <span style="color: #7B927B;">=</span> &quot;ContractorID&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #7B927B;">.</span>DeleteRule <span style="color: #7B927B;">=</span> adRISetNull   </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    tbl<span style="color: #7B927B;">.</span>Keys<span style="color: #7B927B;">.</span>Append ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ky <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowKeyAdox<span style="color: #7B927B;">(</span>strTableName <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkileri gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> ky <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Key</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strRIName <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTableName<span style="color: #7B927B;">)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> ky <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Keys</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">With</span> ky</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Select</span> <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #7B927B;">.</span>DeleteRule</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRINone</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;No delete rule&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRICascade</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade delete&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRISetNull</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade <span style="color: #268bd2; font-weight: bold;">to</span> null&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> adRISetDefault</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;Cascade <span style="color: #268bd2; font-weight: bold;">to</span> default&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Case</span> <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">                strRIName <span style="color: #7B927B;">=</span> &quot;DeleteRule of &quot; &amp; <span style="color: #7B927B;">.</span>DeleteRule &amp; &quot; unknown<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Select</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key: &quot; &amp; <span style="color: #7B927B;">.</span>Name &amp; &quot;<span style="color: #7B927B;">,</span> <span style="color: #268bd2; font-weight: bold;">to</span> table: &quot; &amp; <span style="color: #7B927B;">.</span>RelatedTable &amp; &quot;<span style="color: #7B927B;">,</span> <span style="color: #268bd2; font-weight: bold;">with</span>: &quot; &amp; strRIName</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">With</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> ky <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteKeyAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile ilişkileri silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>&quot;tblAdoxBooking&quot;<span style="color: #7B927B;">).</span>Keys<span style="color: #7B927B;">.</span>Delete &quot;tblAdoxContractortblAdoxBooking&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Key deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateViewAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorgu oluşturma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Komut cümlesi özelliğine sql cümlesi yükleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> BookingID<span style="color: #7B927B;">,</span> BookingDate FROM tblDaoBooking;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>CommandText <span style="color: #7B927B;">=</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Komutu koleksiyon listesine ekleme.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Views<span style="color: #7B927B;">.</span>Append &quot;qryAdoxBooking&quot;<span style="color: #7B927B;">,</span> cmd</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;View created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX parametre veya fonksiyon sorgusu oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'SQL cümlesini Komut cümlesi özelliğine atama.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;PARAMETERS StartDate DateTime<span style="color: #7B927B;">,</span> EndDate DateTime; &quot; &amp; _</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        &quot;DELETE FROM tblAdoxBooking &quot; &amp; _</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        &quot;WHERE BookingDate Between StartDate <span style="color: #268bd2; font-weight: bold;">And</span> EndDate;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>CommandText <span style="color: #7B927B;">=</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">	<span style="color: #008000;">'Komutu koleksiyon listesine ekleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Append &quot;qryAdoxDeleteBooking&quot;<span style="color: #7B927B;">,</span> cmd</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        ‘Hafızadaki bilgileri temizleme<span style="color: #7B927B;">.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Procedure created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ShowProx<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorguları listeleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> proc <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Procedure</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> vw <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>View</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Procedures: &quot; &amp; cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Count</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> proc <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Procedures</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> proc<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Count &amp; &quot; procedure<span style="color: #7B927B;">(</span>s<span style="color: #7B927B;">)</span>&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> &quot;Views &quot; &amp; cat<span style="color: #7B927B;">.</span>Views<span style="color: #7B927B;">.</span>Count</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> vw <span style="color: #268bd2; font-weight: bold;">In</span> cat<span style="color: #7B927B;">.</span>Views</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> vw<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ExecuteProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile parametre sorgusu çalıştırma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngCount <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">(</span>&quot;qryAdoxDeleteBooking&quot;<span style="color: #7B927B;">).</span>Command</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Parametreleri oluşturma</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>Parameters<span style="color: #7B927B;">(</span>&quot;StartDate&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> #1<span style="color: #7B927B;">/</span>1<span style="color: #7B927B;">/</span>2004#</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span>Parameters<span style="color: #7B927B;">(</span>&quot;EndDate&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> #12<span style="color: #7B927B;">/</span>31<span style="color: #7B927B;">/</span>2004#</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Olayı çalıştırma</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cmd<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> lngCount</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> lngCount &amp; &quot; record<span style="color: #7B927B;">(</span>s<span style="color: #7B927B;">)</span> deleted<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Alternatif: parametreleri matrisle verme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'cmd.Execute , Array(#1/1/2004#, #12/31/2004#)</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cmd <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteProcedureAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile sorgu silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cmd <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Command</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngCount <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Ulaşma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Procedures<span style="color: #7B927B;">.</span>Delete &quot;qryAdoxDeleteBooking&quot;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> CreateDatabaseAdox<span style="color: #7B927B;">()</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile veritabanı oluşturma.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strFile <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strFile <span style="color: #7B927B;">=</span> &quot;C:&#092;SampleADOX<span style="color: #7B927B;">.</span>mdb&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>Create &quot;Provider<span style="color: #7B927B;">=</span><span style="color: #008000;">'Microsoft.Jet.OLEDB.4.0';&quot; &amp; _</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">&nbsp;       &quot;Data Source='&quot; &amp; strFile &amp; &quot;'&quot;</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> strFile &amp; &quot; created<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> DeleteAllAndResetAutoNum<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Boolean</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile tüm verileri silme ve otomatik sayıyı sıfırlama.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'           Otomatik sayı alanına nasıl ulaşışldığını gösterme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Argüman:  Tablo adını değiştirme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Geriye dönen:    İşlem tamam ise doğru.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm verileri silme.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    strSql <span style="color: #7B927B;">=</span> &quot;DELETE FROM [&quot; &amp; strTable &amp; &quot;];&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Tüm otomatik sayılı alanları bulup sıfırlama.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            DeleteAllAndResetAutoNum <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> GetSeedADOX<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">,</span> <span style="color: #151B8D; font-weight: bold;">Optional</span> <span style="color: #151B8D; font-weight: bold;">ByRef</span> strCol <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   Otomatik sayı kökünü okuma.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Arguman: strTable kontrol edilen tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'           strCol = Alan adı. Eğer var ise kod onu bulup çıkarıyor.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Geriye dönen:    Kök sayısı.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> cat <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> ADOX<span style="color: #7B927B;">.</span>Catalog <span style="color: #008000;">'ADOX un kök nesnesi.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> tbl <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Table       <span style="color: #008000;">'Tablo içindeki her tablo.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> col <span style="color: #151B8D; font-weight: bold;">As</span> ADOX<span style="color: #7B927B;">.</span>Column      <span style="color: #008000;">'Tablo içindeki her sütun.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Hâlihazırdaki veritabanının listesini işaretliyoruz.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat<span style="color: #7B927B;">.</span>ActiveConnection <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> cat<span style="color: #7B927B;">.</span>Tables<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Otomatik sayılı alanı bulana kadar dön.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">For</span> <span style="color: #268bd2; font-weight: bold;">Each</span> col <span style="color: #268bd2; font-weight: bold;">In</span> tbl<span style="color: #7B927B;">.</span>Columns</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Autoincrement&quot;<span style="color: #7B927B;">)</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strCol <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Name</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            GetSeedADOX <span style="color: #7B927B;">=</span> col<span style="color: #7B927B;">.</span>Properties<span style="color: #7B927B;">(</span>&quot;Seed&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            <span style="color: #268bd2; font-weight: bold;">Exit</span> <span style="color: #268bd2; font-weight: bold;">For</span>    <span style="color: #008000;">'There can be only one AutoNum.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Next</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #008000;">'Hafızadaki bilgileri temizleme</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> col <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> tbl <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Set</span> cat <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Function</span> ResetSeed<span style="color: #7B927B;">(</span>strTable <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span><span style="color: #7B927B;">)</span> <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #008000;">'Amaç:   ADOX ile otomatik sayı kökünü sıfırlama.</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strAutoNum <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span>    <span style="color: #008000;">'Otomatik sayı tipli alan adı.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngSeed <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span>         <span style="color: #008000;">'Kökün halıhazırdaki değeri.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> lngNext <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Long</span>         <span style="color: #008000;">'Kullanılmayın sonraki değer.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strSql <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #151B8D; font-weight: bold;">Dim</span> strResult <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    lngSeed <span style="color: #7B927B;">=</span> GetSeedADOX<span style="color: #7B927B;">(</span>strTable<span style="color: #7B927B;">,</span> strAutoNum<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">If</span> strAutoNum <span style="color: #7B927B;">=</span> vbNullString <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        strResult <span style="color: #7B927B;">=</span> &quot;AutoNumber <span style="color: #268bd2; font-weight: bold;">not</span> found<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        lngNext <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nz</span><span style="color: #7B927B;">(</span><span style="color: #718c00; font-weight: bold;">DMax</span><span style="color: #7B927B;">(</span>strAutoNum<span style="color: #7B927B;">,</span> strTable<span style="color: #7B927B;">),</span> 0<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">+</span> 1</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">If</span> lngSeed <span style="color: #7B927B;">=</span> lngNext <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strResult <span style="color: #7B927B;">=</span> strAutoNum &amp; &quot; already correctly <span style="color: #151B8D; font-weight: bold;">set</span> <span style="color: #268bd2; font-weight: bold;">to</span> &quot; &amp; lngSeed &amp; &quot;<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> lngNext<span style="color: #7B927B;">,</span> lngSeed</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strSql <span style="color: #7B927B;">=</span> &quot;ALTER TABLE [&quot; &amp; strTable &amp; &quot;] ALTER COLUMN [&quot; &amp; strAutoNum &amp; &quot;] COUNTER<span style="color: #7B927B;">(</span>&quot; &amp; lngNext &amp; &quot;<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">)</span>;&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            Debug<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Print</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> strSql</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">            strResult <span style="color: #7B927B;">=</span> strAutoNum &amp; &quot; reset from &quot; &amp; lngSeed &amp; &quot; <span style="color: #268bd2; font-weight: bold;">to</span> &quot; &amp; lngNext</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">        <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    <span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">    ResetSeed <span style="color: #7B927B;">=</span> strResult</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">Function</span></div></li></ol></pre></code></div></div><br /><br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ADO ile Başlangıç]]></title>
			<link>https://www.access-sql.com/Konu-ADO-ile-Baslangic</link>
			<pubDate>Fri, 03 Jul 2009 23:01:18 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-ADO-ile-Baslangic</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
<br />
<span style="color: #FF0000;" class="mycode_color">ADO İLE BAŞLANGIÇ </span><br />
<br />
ADO ile bir tabloyu kullanmak için aktif proje dosyasının Connection nesnesine bir başvuru yapılıyor. <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span> </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li></ol></pre></code></div></div><br /><br />
Bir tabloyu ya da veri kümesini açmak ve kullanmak için alternatif var. ADO’da bu alternatifleri iyi bilmemiz gerekiyor. <br />
<br />
Bir tabloyu sadece okunabilir olarak açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockReadOnly</div></li></ol></pre></code></div></div><br /><br />
Bir tabloyu kayıt ekleme, silme ya da değiştirme için açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
Sadece okunabilir bir SQL kodu açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">...</span>&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockReadOnly</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt eklenebilecek, silinebilecek ya da değiştirilebilecek şekilde bir SQL kodu açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">...</span>&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">KAYIT DEĞİŞİKLİKLERİ</span><br />
Kayıt ekleme yapılabilmesi için tablo açılırken adLockOptimistic parametresi kullanılmalı.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>AddNew</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field1&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Test&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field2&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1234</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Update</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt silme: <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Delete</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt değiştirmek doğrudan değişikliğe geçiliyor.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> <span style="color: #7B927B;">...</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field1&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Test&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field2&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1234</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Update</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">ADO İLE SQL KODU ÇALIŞTIRMAK</span><br />
<br />
. CurrentProject.Connection deyimini kullanarak bir SQL kodunu çalıştırmak için  (Execute) deneyin.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> conn <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> conn <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">conn<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> &quot;UPDATE Table1 <span style="color: #151B8D; font-weight: bold;">SET</span> ad <span style="color: #7B927B;">=</span> 'deneme' WHERE <span style="color: #7B927B;">(</span>ID<span style="color: #7B927B;">=</span>'1'<span style="color: #7B927B;">)</span>;&quot;</div></li></ol></pre></code></div></div><br /><br />
<br />
ya da<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> &quot;UPDATE Table1 <span style="color: #151B8D; font-weight: bold;">SET</span> ad <span style="color: #7B927B;">=</span> 'deneme' WHERE <span style="color: #7B927B;">(</span>ID<span style="color: #7B927B;">=</span>'1'<span style="color: #7B927B;">)</span>;&quot;</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">SQL İLE ARAMA YAPMAK</span><br />
<br />
SQL kodu içinde arama yapmak için WHERE dışında LIKE deyiminin de kullanılabileceğini biliyorsunuzdur. Eskiden LIKE deyiminde metin alanlarında ayrıntılı arama için * işareti kullanılırdı. Şimdiyse bunun yerine % işareti kullanılıyor. (SELECT deyiminin yanında * işareti kullanılır. Bu değişiklik sadece LIKE deyimi için geçerli.)<br />
<br />
Şu deyim ile bir SQL kodunu kayıt değişiklikleri yapılabilecek şekilde açabilirsiniz:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">(</span>AdiSoyadi <span style="color: #268bd2; font-weight: bold;">Like</span> 'A%'<span style="color: #7B927B;">))</span>;&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
En sondaki adLockOptimistic deyimini adLockReadOnly yaparsanız kayıt kümesi sadece okunur olacaktır.<br />
<br />
LIKE deyiminin yanındaki ‘A%’ ifadesi ile AdiSoyadi alanında ‘A’ ile başlayan kayıtlar seçiliyor. Değiştirip ‘[A-K,U-Z]%’ şeklinde kullanmanız da mümkün. Yani hem A-K arası, hem de U-Z arası değerlerin olduğu kayıtlar elde ediliyor. <br />
<br />
LIKE deyiminden sonra bir de şunu yazmayı deneyin:<br />
<br />
‘%A_[M,T]%’<br />
<br />
Bu şekilde yapıldığında herhangi bir yerinde ‘A’ ve yanında herhangi bir karakter olup onun yanında da ‘M’ veya ‘T’ olan değerlerin bulunduğu kayıtlar listelenecektir. Mütevazı LIKE deyiminin eskiden kalma daha birçok yeteneği var. <br />
<br />
<span style="color: #FF0000;" class="mycode_color">TABLO YA DA KAYIT KÜMESİ ÜZERİNDE ARAMA YAPMAK</span><br />
<br />
Kayıt kümesinde arama yapmaktan kasıt, SQL kodu kullanmadan, elde ettiğimiz kayıt kümesi (RecordSet) açıldıktan sonra arama yapılması. Bu komutların tümü Find adlı yeni komut altında toplanmış. Find komutu değişik parametreler alarak eski komutların işini yapabiliyor.<br />
<br />
Arama işlemini başlatmadan önce tabloda kayıt olup olmadığı kontrol ediliyor. Zira kayıt yoksa MOVEFIRST komutu hata verir. Zaten herhangi bir anda ilk kaydı bulmak için tablonun başına gidilmesi gerekli.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs <span style="color: #151B8D; font-weight: bold;">as</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Kisiler&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">If</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Tabloda kayıt yok<span style="color: #7B927B;">.</span>&quot; </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveFirst</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find Kriter<span style="color: #7B927B;">,</span> 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">If</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Kayıt bulunamadı<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Tüm kayıtları sırayla bul ve mesaj göster.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Do</span> <span style="color: #268bd2; font-weight: bold;">While</span> <span style="color: #268bd2; font-weight: bold;">Not</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Kayıt bulundu<span style="color: #7B927B;">.</span>&quot; &amp; vbCr &amp; vbCr &amp; rs<span style="color: #7B927B;">(</span>&quot;ID&quot;<span style="color: #7B927B;">)</span> &amp; &quot; &quot; &amp; rs<span style="color: #7B927B;">(</span>&quot;Ad&quot;<span style="color: #7B927B;">)</span> &amp; &quot; &quot; &amp; rs<span style="color: #7B927B;">(</span>&quot;Soyad&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Sonraki kayıttan itibaren tekrar ara.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find Kriter<span style="color: #7B927B;">,</span> 1</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Loop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li></ol></pre></code></div></div><br /><br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">İlk kaydı bul (FindFirst):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveFirst</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 0<span style="color: #7B927B;">,</span> adSearchForward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Sonrakini bul (FindNext):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">,</span> adSearchForward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Öncekini bul (FindPrevious):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">,</span> adSearchBackward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Son kaydı bul (FindLast):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>MoveLast</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 0<span style="color: #7B927B;">,</span> adSearchBackward</div></li></ol></pre></code></div></div><br /><br />
<br />
 Aradığınız kaydın bulunup bulunamadığını anlamak için, eğer ileri doğru arama yapıyorsanız kümenin sonunda (rs.EOF=True ? ) olup olmadığınızı, geri doğru arama yapıyorsanız kümenin başında (rs.BOF=True ? ) olup olmadığınızı kontrol etmelisiniz.<br />
<br />
<span style="color: #FF0000;" class="mycode_color">BOŞ KAYITLAR GELSİN</span><br />
<br />
NULL deyimi boş değerleri yani ‘hiçbirşey’i ifade ediyor. ADO’nun SQL kodlarında bu deyimle beraber eşitlik işaretleri kullanılıyor.<br />
<br />
 <div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">‘VeriAlani1 <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">NULL</span>’</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">‘VeriAlani1 <span style="color: #7B927B;">&lt;&gt;</span> <span style="color: #718c00; font-weight: bold;">NULL</span>’</div></li></ol></pre></code></div></div><br /><br />
<br />
Son olarak NEW ya da CREATEOBJECT deyimi ile oluşturduğunuz Connection ve Recordset nesnelerini NOTHING ile silmeyi unutmayın.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> conn <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li></ol></pre></code></div></div><br /><br />
<br />
ADO o kadar ayrıntılı ki tam olarak anlatana kadar daha çok örnek yapmamız gerekiyor. <br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Yazının Temeli alıntıdır. Üstünde değişiklikler yapılmıştır. modalı</span></span></span>]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
<br />
<span style="color: #FF0000;" class="mycode_color">ADO İLE BAŞLANGIÇ </span><br />
<br />
ADO ile bir tabloyu kullanmak için aktif proje dosyasının Connection nesnesine bir başvuru yapılıyor. <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span> </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li></ol></pre></code></div></div><br /><br />
Bir tabloyu ya da veri kümesini açmak ve kullanmak için alternatif var. ADO’da bu alternatifleri iyi bilmemiz gerekiyor. <br />
<br />
Bir tabloyu sadece okunabilir olarak açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockReadOnly</div></li></ol></pre></code></div></div><br /><br />
Bir tabloyu kayıt ekleme, silme ya da değiştirme için açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
Sadece okunabilir bir SQL kodu açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">...</span>&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockReadOnly</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt eklenebilecek, silinebilecek ya da değiştirilebilecek şekilde bir SQL kodu açmak:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">...</span>&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">KAYIT DEĞİŞİKLİKLERİ</span><br />
Kayıt ekleme yapılabilmesi için tablo açılırken adLockOptimistic parametresi kullanılmalı.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Table1&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>AddNew</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field1&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Test&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field2&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1234</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Update</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt silme: <br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Delete</div></li></ol></pre></code></div></div><br /><br />
<br />
Kayıt değiştirmek doğrudan değişikliğe geçiliyor.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> <span style="color: #7B927B;">...</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field1&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> &quot;Test&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">(</span>&quot;Field2&quot;<span style="color: #7B927B;">)</span> <span style="color: #7B927B;">=</span> 1234</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Update</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">ADO İLE SQL KODU ÇALIŞTIRMAK</span><br />
<br />
. CurrentProject.Connection deyimini kullanarak bir SQL kodunu çalıştırmak için  (Execute) deneyin.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> conn <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> conn <span style="color: #7B927B;">=</span> CurrentProject<span style="color: #7B927B;">.</span>Connection</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">conn<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> &quot;UPDATE Table1 <span style="color: #151B8D; font-weight: bold;">SET</span> ad <span style="color: #7B927B;">=</span> 'deneme' WHERE <span style="color: #7B927B;">(</span>ID<span style="color: #7B927B;">=</span>'1'<span style="color: #7B927B;">)</span>;&quot;</div></li></ol></pre></code></div></div><br /><br />
<br />
ya da<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Execute</span> &quot;UPDATE Table1 <span style="color: #151B8D; font-weight: bold;">SET</span> ad <span style="color: #7B927B;">=</span> 'deneme' WHERE <span style="color: #7B927B;">(</span>ID<span style="color: #7B927B;">=</span>'1'<span style="color: #7B927B;">)</span>;&quot;</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="color: #FF0000;" class="mycode_color">SQL İLE ARAMA YAPMAK</span><br />
<br />
SQL kodu içinde arama yapmak için WHERE dışında LIKE deyiminin de kullanılabileceğini biliyorsunuzdur. Eskiden LIKE deyiminde metin alanlarında ayrıntılı arama için * işareti kullanılırdı. Şimdiyse bunun yerine % işareti kullanılıyor. (SELECT deyiminin yanında * işareti kullanılır. Bu değişiklik sadece LIKE deyimi için geçerli.)<br />
<br />
Şu deyim ile bir SQL kodunu kayıt değişiklikleri yapılabilecek şekilde açabilirsiniz:<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;<span style="color: #268bd2; font-weight: bold;">SELECT</span> <span style="color: #7B927B;">*</span> FROM Table1 WHERE <span style="color: #7B927B;">(</span>AdiSoyadi <span style="color: #268bd2; font-weight: bold;">Like</span> 'A%'<span style="color: #7B927B;">))</span>;&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li></ol></pre></code></div></div><br /><br />
<br />
En sondaki adLockOptimistic deyimini adLockReadOnly yaparsanız kayıt kümesi sadece okunur olacaktır.<br />
<br />
LIKE deyiminin yanındaki ‘A%’ ifadesi ile AdiSoyadi alanında ‘A’ ile başlayan kayıtlar seçiliyor. Değiştirip ‘[A-K,U-Z]%’ şeklinde kullanmanız da mümkün. Yani hem A-K arası, hem de U-Z arası değerlerin olduğu kayıtlar elde ediliyor. <br />
<br />
LIKE deyiminden sonra bir de şunu yazmayı deneyin:<br />
<br />
‘%A_[M,T]%’<br />
<br />
Bu şekilde yapıldığında herhangi bir yerinde ‘A’ ve yanında herhangi bir karakter olup onun yanında da ‘M’ veya ‘T’ olan değerlerin bulunduğu kayıtlar listelenecektir. Mütevazı LIKE deyiminin eskiden kalma daha birçok yeteneği var. <br />
<br />
<span style="color: #FF0000;" class="mycode_color">TABLO YA DA KAYIT KÜMESİ ÜZERİNDE ARAMA YAPMAK</span><br />
<br />
Kayıt kümesinde arama yapmaktan kasıt, SQL kodu kullanmadan, elde ettiğimiz kayıt kümesi (RecordSet) açıldıktan sonra arama yapılması. Bu komutların tümü Find adlı yeni komut altında toplanmış. Find komutu değişik parametreler alarak eski komutların işini yapabiliyor.<br />
<br />
Arama işlemini başlatmadan önce tabloda kayıt olup olmadığı kontrol ediliyor. Zira kayıt yoksa MOVEFIRST komutu hata verir. Zaten herhangi bir anda ilk kaydı bulmak için tablonun başına gidilmesi gerekli.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Dim</span> rs <span style="color: #151B8D; font-weight: bold;">as</span> <span style="color: #268bd2; font-weight: bold;">New</span> <span style="color: #151B8D; font-weight: bold;">ADODB</span><span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Recordset</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #151B8D; font-weight: bold;">Open</span> &quot;Kisiler&quot;<span style="color: #7B927B;">,</span> CurrentProject<span style="color: #7B927B;">.</span>Connection<span style="color: #7B927B;">,</span> adOpenKeyset<span style="color: #7B927B;">,</span> adLockOptimistic</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">If</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Tabloda kayıt yok<span style="color: #7B927B;">.</span>&quot; </div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveFirst</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find Kriter<span style="color: #7B927B;">,</span> 0</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">If</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span> <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">True</span> <span style="color: #268bd2; font-weight: bold;">Then</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Kayıt bulunamadı<span style="color: #7B927B;">.</span>&quot;</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Else</span></div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Tüm kayıtları sırayla bul ve mesaj göster.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Do</span> <span style="color: #268bd2; font-weight: bold;">While</span> <span style="color: #268bd2; font-weight: bold;">Not</span> rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">EOF</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">MsgBox &quot;Kayıt bulundu<span style="color: #7B927B;">.</span>&quot; &amp; vbCr &amp; vbCr &amp; rs<span style="color: #7B927B;">(</span>&quot;ID&quot;<span style="color: #7B927B;">)</span> &amp; &quot; &quot; &amp; rs<span style="color: #7B927B;">(</span>&quot;Ad&quot;<span style="color: #7B927B;">)</span> &amp; &quot; &quot; &amp; rs<span style="color: #7B927B;">(</span>&quot;Soyad&quot;<span style="color: #7B927B;">)</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #008000;">'Sonraki kayıttan itibaren tekrar ara.</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find Kriter<span style="color: #7B927B;">,</span> 1</div></li><li style="font-weight: bold; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">Loop</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #268bd2; font-weight: bold;">End</span> <span style="color: #268bd2; font-weight: bold;">If</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #268bd2; font-weight: bold;">Close</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li></ol></pre></code></div></div><br /><br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">İlk kaydı bul (FindFirst):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span><span style="color: #3EA99F; font-weight: bold;">MoveFirst</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 0<span style="color: #7B927B;">,</span> adSearchForward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Sonrakini bul (FindNext):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">,</span> adSearchForward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Öncekini bul (FindPrevious):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 1<span style="color: #7B927B;">,</span> adSearchBackward</div></li></ol></pre></code></div></div><br /><br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Son kaydı bul (FindLast):</span></span><br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>MoveLast</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">rs<span style="color: #7B927B;">.</span>Find “Kriter”<span style="color: #7B927B;">,</span> 0<span style="color: #7B927B;">,</span> adSearchBackward</div></li></ol></pre></code></div></div><br /><br />
<br />
 Aradığınız kaydın bulunup bulunamadığını anlamak için, eğer ileri doğru arama yapıyorsanız kümenin sonunda (rs.EOF=True ? ) olup olmadığınızı, geri doğru arama yapıyorsanız kümenin başında (rs.BOF=True ? ) olup olmadığınızı kontrol etmelisiniz.<br />
<br />
<span style="color: #FF0000;" class="mycode_color">BOŞ KAYITLAR GELSİN</span><br />
<br />
NULL deyimi boş değerleri yani ‘hiçbirşey’i ifade ediyor. ADO’nun SQL kodlarında bu deyimle beraber eşitlik işaretleri kullanılıyor.<br />
<br />
 <div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">‘VeriAlani1 <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">NULL</span>’</div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">‘VeriAlani1 <span style="color: #7B927B;">&lt;&gt;</span> <span style="color: #718c00; font-weight: bold;">NULL</span>’</div></li></ol></pre></code></div></div><br /><br />
<br />
Son olarak NEW ya da CREATEOBJECT deyimi ile oluşturduğunuz Connection ve Recordset nesnelerini NOTHING ile silmeyi unutmayın.<br />
<br />
<div class="codeblock"><div class="title">Visual Basic</div><div class="body"><code><pre class="vba" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> rs <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #151B8D; font-weight: bold;">Set</span> conn <span style="color: #7B927B;">=</span> <span style="color: #718c00; font-weight: bold;">Nothing</span></div></li></ol></pre></code></div></div><br /><br />
<br />
ADO o kadar ayrıntılı ki tam olarak anlatana kadar daha çok örnek yapmamız gerekiyor. <br />
<br />
<br />
<span style="text-decoration: underline;" class="mycode_u"><span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Yazının Temeli alıntıdır. Üstünde değişiklikler yapılmıştır. modalı</span></span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ADO nun Access te kullanımı.]]></title>
			<link>https://www.access-sql.com/Konu-ADO-nun-Access-te-kullanimi</link>
			<pubDate>Sat, 27 Jun 2009 18:42:02 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-ADO-nun-Access-te-kullanimi</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
ADO nun Access te nasıl kullanıldığı ile ilgili bir PowerPoint sunumu hazırladım.<br />
<br />
Herkese iyi çalışmalar.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.access-sql.com/images/attachtypes/rar.png" title="" border="0" alt=".rar" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1967" target="_blank" title="">ADO VBA accesste programlama.rar</a> (Boyut: 136,53 KB / İndirilme: 1592)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
ADO nun Access te nasıl kullanıldığı ile ilgili bir PowerPoint sunumu hazırladım.<br />
<br />
Herkese iyi çalışmalar.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.access-sql.com/images/attachtypes/rar.png" title="" border="0" alt=".rar" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1967" target="_blank" title="">ADO VBA accesste programlama.rar</a> (Boyut: 136,53 KB / İndirilme: 1592)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ADO nedir? Neden ADO?]]></title>
			<link>https://www.access-sql.com/Konu-ADO-nedir-Neden-ADO</link>
			<pubDate>Sat, 27 Jun 2009 16:25:36 +0300</pubDate>
			<guid isPermaLink="false">https://www.access-sql.com/Konu-ADO-nedir-Neden-ADO</guid>
			<description><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">ADO nedir? </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"> Neden ADO? </span><br />
<br />
(ActiveX Data Object( X Microsoft ürünlerinin çalışması için bir simge, çalışır Veri Nesnesi) <br />
 <br />
“ADO” basit olarak; Veriye erişebilmek için seçilen yoldur.” . Bu teknoloji yeni bir teknoloji değildir, uzun zamandır kullanılmakta olan ve gelecekte de kullanılacak olan bir teknolojidir. <br />
<br />
Object Oriented (Nesne yönelimli) program geliştirme araçlarında genellikle nesnelerin metot'larından faydalanılır. Özellikle Microsoft ürünleriyle geliştirilen yazılımlarda nesne kullanımı program geliştirmeyi kolaylaştırmıştır.<br />
<br />
Bu çerçevede ADO da veri tabanı işlemleri için geliştirilmiş bir nesnedir ve metot'ları sayesinde veri tabanı üzerinde işler yapılır. <br />
Veri tabanlarına bağlanmak için bir nesne ve bir provider (sağlayıcı) seçmek gerekir. <br />
<br />
Nesneler(Object):<br />
<br />
DAO= Data Object= Veri nesnesi özellikle visual basic eski sürümlerinde kullanılan bir nesnedir. Kısıtlı bağlantı sağladığından artık kullanılmamaktadır.<br />
<br />
RDO= Remote Data Object= uzak Veri nesnesi ODBC veri kaynağı sağlayıcısı ile birlikte yine eski yazılımlarda kullanılan bir objeydi. ADO'ya daha yakın ve ActiveX (microsoftun dinamik nesneleri) bir nesneydi. Ancak daha çok Windows tabanlı yazılımlarda kullanılıp, web tabanlı yazılımlar için kullanılmamaktaydı.<br />
<br />
ADO= ActiveX Data Object "X Microsoft ürünlerinin çalışması için bir simge" , (çalışır Veri Nesnesi):<br />
 ADO gerek OLEDB gerekse ODBC ile ve gerek Windows tabanlı gerekse web tabanlı tüm uygulamalarda kullanılan en son geliştirilmiş veri işlemleri için ideal bir nesnedir.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Veri sağlayıcılar(Provider):</span><br />
ODBC= Open Database Connectivity=Açık Veri tabanına bağlanabilme bir Aplication Programing Interface(Sunucu Ara Yüzü -API) olup, Windows yönetimsel araçların bir alt ürünüdür. Özellikle server tabanlı Windows sürümlerinde datalara erişimi sağlamak için kullanılır. Dataya erişim için kullanıcı DSN = (Database System Name= Sistem Veri Kaynağı) kısmında tanım yapmalıdır. ODBC ile daha çok  Windows tabanlı uygulamalarda veri erişimi sağlamaktaydı. Özellikle de nesne olarak RDO yu kullanmaktaydı. Ancak son zamanlarda ADO'yu da kullanmaktadır.<br />
<br />
OLEDB= (Object Linking and Embedding Database= Nesneler arası haberleşen veri tabanı)<br />
OLEDB de bir veri kaynağı sağlayıcısıdır. Yalnız kullanılabileceği gibi, ADO ile de kullanılır. Oysa ODBC mutlaka bir nesne ile kullanılır. OLEDB nesnesiz de kullanılabilir. <br />
<br />
 	Bir uygulama geliştirirken en üst seviyede uygulamalarımız yer almaktadır (bir Web veya Windows uygulaması olması hiç fark etmez). Bu katmanın hemen altında ADO ve/veya OLEDB, veri kaynağından alınan verileri uygulamaya iletmek için yer alırlar.<br />
Fakat OLEDB tüm programlama dilleri ile beraber çalışabilecek şekilde değildir bundan dolayı ADO, OLEDB üzerinde bir geçiş katmanı görevi yapmaktadır. ADO OLEDB ile OLEDB’nin desteklemediği diller arasında bir arabirim görevi yapmaktadır. ADO OLEDB ye göre çok daha kolay bir programlama arabirimine sahiptir bu sebepten dolayı direkt OLEDB erişimi (kullanımı) olabilen programlama dilleri (C++ ve Java gibi) veri kaynağına erişimlerini daha kolay hale getirebilmek için ADO kullanabilmektedirler.<br />
<br />
 	ADO sadece Microsoft programlama dilleri ile değil, bir COM bileşeni (component) olduğu düşünüldüğünde, diğer COM destekli programlama dillerinde de (Delphi veya Active Scripting Interface destekleyen Script dilleri) kullanılabilmektedir. Elbette VBScript ve Jscript içeren ASP sayfalarımızda da ADO bileşenini kullanabiliriz.<br />
 Genel anlamda OLE DB ile ODBC’yi ve ADO ile RDO’yu eşleştirebiliriz.<br />
<br />
<br />
Data erişimi için OLEDB ve ADO kullanılabileceğini öğrendik. Peki ya neden? Eski metotları neden kullanmıyoruz? Bunun iki büyük sebebi var.<br />
 <br />
Birinci sebep OLEDB ve ADO’nun bir “Veri Kaynağına” erişmek için tasarlanmış<br />
Veri tabanları en çok kullanılan veri kaynağı da olsa birçok uygulama (mesajlaşma sistemleri, Microsoft Exchange Server, Dizin Hizmetleri ve tabi ki Web Sunucuları) veritabanı dışında bir yapı kullanmaktadırlar.<br />
 <br />
İkinci sebep ise İnternet uygulamalarının hızla yaygınlaşmasıdır. Eski data erişim metodları webden data erişimi için geliştirilmemiştir.<br />
 <br />
 <br />
<span style="font-weight: bold;" class="mycode_b">ADO Obje Modeli (method'ları)</span><br />
 <br />
ADO obje yapısı bir classtır. Bu class'ın method'ları vardır.. <br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Connection(bağlantı) Objesi</span><br />
“Connection” objesi data kaynağına veya veri tabanına direk bağlanmak için kullanılmaktadır. <br />
 <br />
 <span style="font-weight: bold;" class="mycode_b">Command(Komut) Objesi</span><br />
Command objesi data kaynağı üzerinden komutlar çalıştırmak için tasarlanmıştır.<br />
Command objesi geriye kayıt döndürmeyen komutların kullanımı içinde uygundur.(yeni kayıt eklemek veya kayıt güncellemek için kullanılan SQL sorguları buna örnektir.)<br />
 <br />
 <span style="font-weight: bold;" class="mycode_b">Recordset(Kayıt seti) Objesi</span><br />
Recordset objesi ADO içerisinde en çok kullanılan objedir. Bu obje data kaynağından aldığı veriyi bir dizi şeklinde bize sunar. Bu obje sayesinde ADO bize veriler üzerinde değişiklik yapmamıza, kayıtları taşımamıza ve kayıtları filtrelememize izin verir.<br />
Recordset objesi “Fields” koleksiyonunu içerir. Bu koleksiyon sayesinde veri kaynağındaki tüm alanlara (kolonlara) erişebiliriz.]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;" class="mycode_align"><img src="http://www.access-sql.com/resim/spbanner7.png" alt="[Resim: spbanner7.png]" class="mycode_img" /></div>
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">ADO nedir? </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b"> Neden ADO? </span><br />
<br />
(ActiveX Data Object( X Microsoft ürünlerinin çalışması için bir simge, çalışır Veri Nesnesi) <br />
 <br />
“ADO” basit olarak; Veriye erişebilmek için seçilen yoldur.” . Bu teknoloji yeni bir teknoloji değildir, uzun zamandır kullanılmakta olan ve gelecekte de kullanılacak olan bir teknolojidir. <br />
<br />
Object Oriented (Nesne yönelimli) program geliştirme araçlarında genellikle nesnelerin metot'larından faydalanılır. Özellikle Microsoft ürünleriyle geliştirilen yazılımlarda nesne kullanımı program geliştirmeyi kolaylaştırmıştır.<br />
<br />
Bu çerçevede ADO da veri tabanı işlemleri için geliştirilmiş bir nesnedir ve metot'ları sayesinde veri tabanı üzerinde işler yapılır. <br />
Veri tabanlarına bağlanmak için bir nesne ve bir provider (sağlayıcı) seçmek gerekir. <br />
<br />
Nesneler(Object):<br />
<br />
DAO= Data Object= Veri nesnesi özellikle visual basic eski sürümlerinde kullanılan bir nesnedir. Kısıtlı bağlantı sağladığından artık kullanılmamaktadır.<br />
<br />
RDO= Remote Data Object= uzak Veri nesnesi ODBC veri kaynağı sağlayıcısı ile birlikte yine eski yazılımlarda kullanılan bir objeydi. ADO'ya daha yakın ve ActiveX (microsoftun dinamik nesneleri) bir nesneydi. Ancak daha çok Windows tabanlı yazılımlarda kullanılıp, web tabanlı yazılımlar için kullanılmamaktaydı.<br />
<br />
ADO= ActiveX Data Object "X Microsoft ürünlerinin çalışması için bir simge" , (çalışır Veri Nesnesi):<br />
 ADO gerek OLEDB gerekse ODBC ile ve gerek Windows tabanlı gerekse web tabanlı tüm uygulamalarda kullanılan en son geliştirilmiş veri işlemleri için ideal bir nesnedir.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Veri sağlayıcılar(Provider):</span><br />
ODBC= Open Database Connectivity=Açık Veri tabanına bağlanabilme bir Aplication Programing Interface(Sunucu Ara Yüzü -API) olup, Windows yönetimsel araçların bir alt ürünüdür. Özellikle server tabanlı Windows sürümlerinde datalara erişimi sağlamak için kullanılır. Dataya erişim için kullanıcı DSN = (Database System Name= Sistem Veri Kaynağı) kısmında tanım yapmalıdır. ODBC ile daha çok  Windows tabanlı uygulamalarda veri erişimi sağlamaktaydı. Özellikle de nesne olarak RDO yu kullanmaktaydı. Ancak son zamanlarda ADO'yu da kullanmaktadır.<br />
<br />
OLEDB= (Object Linking and Embedding Database= Nesneler arası haberleşen veri tabanı)<br />
OLEDB de bir veri kaynağı sağlayıcısıdır. Yalnız kullanılabileceği gibi, ADO ile de kullanılır. Oysa ODBC mutlaka bir nesne ile kullanılır. OLEDB nesnesiz de kullanılabilir. <br />
<br />
 	Bir uygulama geliştirirken en üst seviyede uygulamalarımız yer almaktadır (bir Web veya Windows uygulaması olması hiç fark etmez). Bu katmanın hemen altında ADO ve/veya OLEDB, veri kaynağından alınan verileri uygulamaya iletmek için yer alırlar.<br />
Fakat OLEDB tüm programlama dilleri ile beraber çalışabilecek şekilde değildir bundan dolayı ADO, OLEDB üzerinde bir geçiş katmanı görevi yapmaktadır. ADO OLEDB ile OLEDB’nin desteklemediği diller arasında bir arabirim görevi yapmaktadır. ADO OLEDB ye göre çok daha kolay bir programlama arabirimine sahiptir bu sebepten dolayı direkt OLEDB erişimi (kullanımı) olabilen programlama dilleri (C++ ve Java gibi) veri kaynağına erişimlerini daha kolay hale getirebilmek için ADO kullanabilmektedirler.<br />
<br />
 	ADO sadece Microsoft programlama dilleri ile değil, bir COM bileşeni (component) olduğu düşünüldüğünde, diğer COM destekli programlama dillerinde de (Delphi veya Active Scripting Interface destekleyen Script dilleri) kullanılabilmektedir. Elbette VBScript ve Jscript içeren ASP sayfalarımızda da ADO bileşenini kullanabiliriz.<br />
 Genel anlamda OLE DB ile ODBC’yi ve ADO ile RDO’yu eşleştirebiliriz.<br />
<br />
<br />
Data erişimi için OLEDB ve ADO kullanılabileceğini öğrendik. Peki ya neden? Eski metotları neden kullanmıyoruz? Bunun iki büyük sebebi var.<br />
 <br />
Birinci sebep OLEDB ve ADO’nun bir “Veri Kaynağına” erişmek için tasarlanmış<br />
Veri tabanları en çok kullanılan veri kaynağı da olsa birçok uygulama (mesajlaşma sistemleri, Microsoft Exchange Server, Dizin Hizmetleri ve tabi ki Web Sunucuları) veritabanı dışında bir yapı kullanmaktadırlar.<br />
 <br />
İkinci sebep ise İnternet uygulamalarının hızla yaygınlaşmasıdır. Eski data erişim metodları webden data erişimi için geliştirilmemiştir.<br />
 <br />
 <br />
<span style="font-weight: bold;" class="mycode_b">ADO Obje Modeli (method'ları)</span><br />
 <br />
ADO obje yapısı bir classtır. Bu class'ın method'ları vardır.. <br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Connection(bağlantı) Objesi</span><br />
“Connection” objesi data kaynağına veya veri tabanına direk bağlanmak için kullanılmaktadır. <br />
 <br />
 <span style="font-weight: bold;" class="mycode_b">Command(Komut) Objesi</span><br />
Command objesi data kaynağı üzerinden komutlar çalıştırmak için tasarlanmıştır.<br />
Command objesi geriye kayıt döndürmeyen komutların kullanımı içinde uygundur.(yeni kayıt eklemek veya kayıt güncellemek için kullanılan SQL sorguları buna örnektir.)<br />
 <br />
 <span style="font-weight: bold;" class="mycode_b">Recordset(Kayıt seti) Objesi</span><br />
Recordset objesi ADO içerisinde en çok kullanılan objedir. Bu obje data kaynağından aldığı veriyi bir dizi şeklinde bize sunar. Bu obje sayesinde ADO bize veriler üzerinde değişiklik yapmamıza, kayıtları taşımamıza ve kayıtları filtrelememize izin verir.<br />
Recordset objesi “Fields” koleksiyonunu içerir. Bu koleksiyon sayesinde veri kaynağındaki tüm alanlara (kolonlara) erişebiliriz.]]></content:encoded>
		</item>
	</channel>
</rss>