<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6661976832519798599</id><updated>2024-08-28T13:19:58.726+07:00</updated><category term="การใช้โปรแกรม Access"/><category term="Access Form"/><category term="Access Table"/><category term="การสร้างฟอร์ม"/><category term="Access Code"/><category term="Table Database"/><category term="ตารางฐานข้อมูล"/><category term="Access Password"/><category term="การทำรหัสผ่าน access"/><category term="รหัสผ่านฐานข้อมูล"/><category term="Access Macro"/><category term="การสร้างมาโคร"/><category term="MS Access คือ"/><category term="microsoft access คืออะไร"/><category term="รู้จัก Access"/><category term="เมนูคำสั่ง access"/><category term="menubar"/><category term="การออกแบบฐานข้อมูล"/><category term="คำสั่ง Access"/><category term="แถบเมนูบาร์"/><category term="Access Database"/><category term="Download access"/><category term="การเขียน Code Access Basic"/><category term="ความสัมพันธ์ access"/><category term="ดาวน์โหลด access"/><category term="install program"/><category term="setup program"/><category term="ติดตั้งโปรแกรม"/><title type='text'>เทคนิคการเขียนโปรแกรม Access</title><subtitle type='html'>Microsoft-access-guidebook.blogspot.com (คู่มือ Microsoft Access เว็บบล็อกนี้ เมือศึกษาแล้ว สามารถที่จะนำไปประยุกต์ใช้ได้กับ MS Office Access ทุกเวอร์ชั่น)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-922703843237214729</id><published>2011-07-19T11:51:00.004+07:00</published><updated>2011-07-19T13:04:18.811+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Download access"/><category scheme="http://www.blogger.com/atom/ns#" term="ดาวน์โหลด access"/><title type='text'>โหลดตัวอย่างโปรแกรม Access (Update19-07-54)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Download MS access database&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;color: #9e5205; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; letter-spacing: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Download โปรแกรม Microsoft Access&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 14px; font-weight: normal; letter-spacing: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;color: #9e5205; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 14px; font-weight: normal; letter-spacing: normal;&quot;&gt;เป็นตัวอย่างโปรแกรมที่กำลังเขียน ไปพร้อมกับการสอนในเวบไซต์ ขณะนี้ครับ ท่านสามารถดาวส์โหลด(Download Ms Access Database)ตามลิ้งนี้ครับ จะเป็นตัวอย่างที่ท่านสามารถนำไปแก้ไขและต่อยอดได้เลย แต่ตอนนี้ยังไม่เสร็จนะครับ ผมสอนถึงใหนโปรแกรมนี้ ก็จะทำถึงนั่น เราจะได้ทำไปพร้อมๆ กันครับ ส่วนตัวสมบูรณ์ ผมจะ Upload ให้ในคราวต่อๆ ไปครับ&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 14px; font-weight: normal; letter-spacing: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://docs.google.com/leaf?id=0BzA6sE1XCy8kN2M2MWZhZDAtODVhYS00ODg1LTk5ZmEtMGJlYzNjZDBkZTBm&amp;amp;hl=th&quot;target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;87&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidM0Mig-8xMyNhuju5dgJBSroFtmTOjtSJhGSF2GOy_rCxdetzSuRctYmnABo_aYa-Y8e1TkFcvEnzlqk8oSawjOq6dIOA6lA8GrbxSiGjoZYqLHkmc59PpM6BlietlbDBG9k_FdwiWJ4/s320/download.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;ขอบคุณทุกท่านนะครับที่เข้าเยี่ยมชมเวบเรา และให้การสนับสนุน ผู้สนันสนุนเวบเรา กำลังใจในการทำงานเผยแพร่ความรู้นี้ จะอยู่ไม่ได้ถ้าท่านไม่เยี่ยมชมเวบเรา&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/922703843237214729/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/922703843237214729' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/922703843237214729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/922703843237214729'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/download-ms-access-database.html' title='โหลดตัวอย่างโปรแกรม Access (Update19-07-54)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidM0Mig-8xMyNhuju5dgJBSroFtmTOjtSJhGSF2GOy_rCxdetzSuRctYmnABo_aYa-Y8e1TkFcvEnzlqk8oSawjOq6dIOA6lA8GrbxSiGjoZYqLHkmc59PpM6BlietlbDBG9k_FdwiWJ4/s72-c/download.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-3018490930324047915</id><published>2011-07-13T10:12:00.011+07:00</published><updated>2015-10-18T21:41:02.299+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Download access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="ดาวน์โหลด access"/><title type='text'>โหลดตัวอย่างโปรแกรม Access (Update15-06-54)</title><content type='html'>&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;color: #9e5205; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; letter-spacing: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Download โปรแกรม Microsoft Access&lt;/span&gt; &lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 14px; font-weight: normal; letter-spacing: normal;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;color: #9e5205; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 14px; font-weight: normal; letter-spacing: normal;&quot;&gt;เป็นตัวอย่างโปรแกรมที่กำลังเขียน ไปพร้อมกับการสอนในเวบไซต์ ขณะนี้ครับ ท่านสามารถดาวส์โหลด(Download Ms Access Database)ตามลิ้งนี้ครับ จะเป็นตัวอย่างที่ท่านสามารถนำไปแก้ไขและต่อยอดได้เลย แต่ตอนนี้ยังไม่เสร็จนะครับ ผมสอนถึงใหนโปรแกรมนี้ ก็จะทำถึงนั่น เราจะได้ทำไปพร้อมๆ กันครับ ส่วนตัวสมบูรณ์ ผมจะ Upload ให้ในคราวต่อๆ ไปครับ&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-7978353690541467740&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://docs.google.com/leaf?id=0BzA6sE1XCy8kMzUxODA5YTktYjk5NS00Nzg1LWFiOTYtNmNjMjViYmJhNjhi&amp;amp;sort=name&amp;amp;layout=list&amp;amp;num=50&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSftBdXL9Sl70Jd3QjiWUblsJNKD52d5HUmslW9q3UAfK5PyZTrMf5hYMtxiGHSzSUd2F-l2KOQwjTZKxZv7BvwPHSEPP1qZsyzjjLMJz2YcWTkCDIDyEZdEouQYiKYMf69JGorZMyW7k/s400/download.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Update วันที่ 15 พฤษภาคม 2554&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Download ได้ที่นี่ครับ คลิ๊กที่ ดาวส์โหลดข้างบนข้อความนี้ครับ&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
สำหรับโปรแกรมที่ทำรหัสผ่านเข้าโปรแกรม(ยังไม่สมบูรณ์ครับ) อยู่ระหว่างดำเนินการ ก็เลยยังไม่ได้ up ให้ คิดว่าคงอีกไม่นานเกินรอครับ ผมจะให้ท่านได้ดาวน์โหลดแน่นอน&lt;br /&gt;
&lt;br /&gt;
ขอบคุณทุกท่านนะครับที่เข้าเยี่ยมชมเวบเรา และให้การสนับสนุน ผู้สนันสนุนเวบเรา กำลังใจในการทำงานเผยแพร่ความรู้นี้ จะอยู่ไม่ได้ถ้าท่านไม่เยี่ยมชมเวบเรา&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://boonyfx.blogspot.com/&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNTRbDxRE4afveAJ_IFhwQjT6PMDXNrdAzyeX-CqN_SYA0q26qr60a3xW04Z7TF70XaY2FLZPgCHUz7rx6bw5tseyJge1hZ5fvuwabT7BOYayA-Kfejv8sLxFtyVG7YBmmqQoFS6b8kl0/s400/grcbanner600x188.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span id=&quot;goog_992088068&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_992088069&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/3018490930324047915/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/3018490930324047915' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/3018490930324047915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/3018490930324047915'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/download-program-microsoft-access.html' title='โหลดตัวอย่างโปรแกรม Access (Update15-06-54)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSftBdXL9Sl70Jd3QjiWUblsJNKD52d5HUmslW9q3UAfK5PyZTrMf5hYMtxiGHSzSUd2F-l2KOQwjTZKxZv7BvwPHSEPP1qZsyzjjLMJz2YcWTkCDIDyEZdEouQYiKYMf69JGorZMyW7k/s72-c/download.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-2214791989618920415</id><published>2011-06-28T11:36:00.005+07:00</published><updated>2011-07-22T11:12:37.059+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Macro"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างมาโคร"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 6</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;มาถึงขั้นตอนนี้ก็เป็นขั้นตอนสุดท้ายของการสร้างรหัสผ่านการเข้าใช้งานโปรแกรมฐานข้อมูลที่เราเขียนขึ้น ก็คือเป็นการเขียน มาโคร Code คำสั่งให้ทำการตรวจสอบชื่อผู้ใช้และรหัสผ่านที่ผู้ใช้กรอก ว่าถูกต้องและได้รับอนุญาตให้เข้าใช้งานโปรแกรมหรือไม่&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;access visual basic code&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OtS3uHZ87vma4z-1EM4i6ewh0rhECQXtbn64hBpfixU5xzpPZ7Ut63b4g4BYDsMvz7a28rXx0XqckejAdO0upybPZtXqqBs4L7LsT49vxJbzleNN83bnGJC3Y9UpXhGgCXH73GNYvXI/s1600/CodePassword01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OtS3uHZ87vma4z-1EM4i6ewh0rhECQXtbn64hBpfixU5xzpPZ7Ut63b4g4BYDsMvz7a28rXx0XqckejAdO0upybPZtXqqBs4L7LsT49vxJbzleNN83bnGJC3Y9UpXhGgCXH73GNYvXI/s320/CodePassword01.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 1 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
1.เลือกที่ แมโคร (ดูภาพประกอบครับ)&lt;br /&gt;
2.เลือกที่สร้างแมโคร ก็จะได้แมโครในมุมมองออกแบบ&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMcbVRiZHIDuzF_P5g2hSUnqp07wz2Pj1L-eyV8uHNXi5HhYsuMkyf_bJOqHsKLInPG9RfgqZ_eFUvI75Pf-JSSepr4q_ZpkSwBQ5Q0XVYZVLqS5kKgM42MjCKjWaBbn3f2j-cunlgnSg/s1600/CodePassword02.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMcbVRiZHIDuzF_P5g2hSUnqp07wz2Pj1L-eyV8uHNXi5HhYsuMkyf_bJOqHsKLInPG9RfgqZ_eFUvI75Pf-JSSepr4q_ZpkSwBQ5Q0XVYZVLqS5kKgM42MjCKjWaBbn3f2j-cunlgnSg/s320/CodePassword02.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 2 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
3.เลือกแถบเมนูรูปภาพด้านบน ตรงปุ่มเงื่่อนไข&lt;br /&gt;
4.เลือกแอคชั่น (action) OpenForm&lt;br /&gt;
5.กำหนดคุณสมบัติของฟอร์ม ชื่อฟอร์ม Main_frm&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAMDBYUTV4yfAnK9Zy4pXXfdv5VYC1zvfE6uyx9FEba_GVCw0jT9_s40tIUnBLVdFBAcocC-4_sslYQ-SJwlATFzzaMukoefwtMOwWbtyuyFwhlt7njeYPgzz8CHCwBbBeB3mU29PGAlA/s1600/CodePassword03.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;167&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAMDBYUTV4yfAnK9Zy4pXXfdv5VYC1zvfE6uyx9FEba_GVCw0jT9_s40tIUnBLVdFBAcocC-4_sslYQ-SJwlATFzzaMukoefwtMOwWbtyuyFwhlt7njeYPgzz8CHCwBbBeB3mU29PGAlA/s320/CodePassword03.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 3 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
ุ6.เลือกแอคชั่น close&lt;br /&gt;
ึ7.เลือกชื่อฟอร์มที่จะให้ปิด คือ PassUser_frm&lt;br /&gt;
8.เลือกแอคชั่น stopallmacros&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh74xVSS8iZLZNPus7NJlWueCyBHG4-0rjnvQW5CWZdv0JGtOe_KxUAGRBD56bHyjWJoPGPx_Wd9xEP2DLFKzz0dC6JhP0sPdKoUVFOytYIFJX9b0vYcQUCLGuXWdRqCQMVs1cnagQxDbY/s1600/CodePassword04.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh74xVSS8iZLZNPus7NJlWueCyBHG4-0rjnvQW5CWZdv0JGtOe_KxUAGRBD56bHyjWJoPGPx_Wd9xEP2DLFKzz0dC6JhP0sPdKoUVFOytYIFJX9b0vYcQUCLGuXWdRqCQMVs1cnagQxDbY/s320/CodePassword04.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 4 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
9.เลือกแอคชั่น MsgBox&lt;br /&gt;
10.กำหนดคุณสมบัติของ MsgBox ตรงข้อความ &quot;ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง&quot;&lt;br /&gt;
11.เลือแอคชั่น stopmacro&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipyC5EWOHmVpzfjb_gtFb8hySkrHHlaV5seIywu_91A8QUi0uspOb7yT61CVVFJ4ErzsPBK0iHHv618pi6aF_1c8gUBXET3s3SgmCFk7XhIFpBa6MbyFwvdTYsQhpZad1jr_z4kJCgVnI/s1600/CodePassword05.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;221&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipyC5EWOHmVpzfjb_gtFb8hySkrHHlaV5seIywu_91A8QUi0uspOb7yT61CVVFJ4ErzsPBK0iHHv618pi6aF_1c8gUBXET3s3SgmCFk7XhIFpBa6MbyFwvdTYsQhpZad1jr_z4kJCgVnI/s320/CodePassword05.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 5 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
12.ในขั้นตอนนี้จะเป็นการเขียน code คำสั่งที่เป็นเงือนไขให้กับแมโครนี้ เพื่อนำไปใช้กับฟอร์มรหัสผ่านเข้าโปรแกรมนี้ครับ &lt;br /&gt;
&lt;br /&gt;
โดยหลัการก็คือว่าเมื่อเปิดโปรแกรมขึ้นมาเราจะต้องใส่ชื่อผู้ใช้ และรหัสผ่านเข้าโปรแกรม เมื่อเรากรอกแล้วก็กดปุ่มตกลง จากนั้นระบบก็จะทำการตรวจสอบข้อมูลว่าตรงกับในโปรแกรมหรือเปล่า หากตรงกัน ก็จะทำการสั่งเปิดฟอร์มเมนฟอร์ม ถ้าไม่ตรงกันระบบก็จะบอกให้กรอกข้อมูลใหม่ โปรแกรมจะทำงานวนอย่างนี้ จนกว่าชื่อผู้ใช้และรหัสผ่านจะถูกต้อง&lt;br /&gt;
&lt;br /&gt;
เรามาดูว่าเงื่อนไขในแต่ละบันทัดคืออะไร รูปแบบการเขียนยังไง&lt;br /&gt;
&lt;br /&gt;
12.1บันทัดที่ 1 ครับ คือสั่งให้ทำการตรวจสอบ ชื่อผู้ใช้ที่กรอก(user2) รหัสผ่านที่กรอก(pass2) ว่าตรงกับที่มีในโปรแกรมหรือไม่ User1 และ Pass1 (คิดว่าท่านคงยังไม่ลืมนะครับที่ผมได้พาท่านตั้งชื่อฟิลด์ในตอนที่ผ่านมา) รูปแบบคำสั่งดังนี้ครับ&lt;br /&gt;
&lt;br /&gt;
[user2]=[Forms]![passuser_frm].[user1] And [pass2]=[Forms]![passuser_frm].[pass1]&lt;br /&gt;
&lt;br /&gt;
12.2.บันทัดที่ 2 ใสแค่จุดสามจุดครับ ... หมายความว่า ใช้เงื่อนไขเหมือนกับบันทัดข้างบน&lt;br /&gt;
12.3.บันทัดที่ 3 ใสแค่จุดสามจุดครับ ... หมายความว่า ใช้เงื่อนไขเหมือนกับบันทัดข้างบน&lt;br /&gt;
12.4.บันทัดที่ 4 ใสเงื่อนไขตามบรรทัดข้างล่างนีครับ ความหมายคือหากชื่อผู้ใช้หรือรหัสผ่านไม่ถูกท่านต้องใส่ข้อมูลใหม่ครับ&lt;br /&gt;
&lt;br /&gt;
[pass2]&amp;lt;&amp;gt;[Forms]![passuser_frm].[pass1] Or [user2]&amp;lt;&amp;gt;[Forms]![passuser_frm].[user1]&lt;br /&gt;
&lt;br /&gt;
12.5.บันทัดที่ 5 ใสแค่จุดสามจุดครับ ... หมายความว่า ใช้เงื่อนไขเหมือนกับบันทัดข้างบน&lt;br /&gt;
&lt;br /&gt;
เมื่อทำตามขั้นตอนเสร็จแล้วก็ทำการบันทึกแมโครครับ ตั้งชื่อว่า pass ก็ได้ครับจำง่าย&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj94AdeBt14lN80KMOrlf9axO_1A1zKFi0O_bAPhj4ggGQDz-e8k5yNrXdJzNX9X8MgsdB8XkyYMTMrgstWbr2LVIlJ9tZIJhCwriiGro4yVscxJEbNYt429M453fcw9prUAvDPnMdn42M/s1600/CodePassword06.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj94AdeBt14lN80KMOrlf9axO_1A1zKFi0O_bAPhj4ggGQDz-e8k5yNrXdJzNX9X8MgsdB8XkyYMTMrgstWbr2LVIlJ9tZIJhCwriiGro4yVscxJEbNYt429M453fcw9prUAvDPnMdn42M/s320/CodePassword06.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 6 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;br /&gt;
13.ขั้นตอนนี้เป็นการกำหนดว่าเมื่อกดปุ่มตกลงแล้วให้ดำเนินการตามคำสั้งในแมโคร pass ที่เราได้ทำไปแล้วข้างต้น เปิดฟอร์ม passuser_frm ในมุมมองออกแบบ เลือที่ปุ่มตกลง&lt;br /&gt;
14.เลือกที่แทบ event&lt;br /&gt;
15.เลือกที่ เมื่อคลิ๊ก แล้วเลือกแมโคร pass ครับ&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Q0KPFhfcCVuRVgnIGwrRqrdyGtzbScdhSqqA7ZzXzC4VoSYqfJpW6-5r8NjRTytBz8oDHS6d03rbPk2mlAY7KQjvuN2KAM0oSollWkbeG57uF-GgBy9-uyvjTdZzelI5So1Lviggdqc/s1600/CodePassword07.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Q0KPFhfcCVuRVgnIGwrRqrdyGtzbScdhSqqA7ZzXzC4VoSYqfJpW6-5r8NjRTytBz8oDHS6d03rbPk2mlAY7KQjvuN2KAM0oSollWkbeG57uF-GgBy9-uyvjTdZzelI5So1Lviggdqc/s320/CodePassword07.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;ภาพที่ 7 การสร้างแมโคร รหัสผ่าน เข้าใช้งานโปรแกรม Access&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;บันทึกฟอร์มให้เรียบร้อย แล้วก็ปิดโปรแกรมแล้วเปิดใหม่ดูครับ ดาวน์โหลดโปรแกรมไปดูเป็นตัวอย่างได้ที่นี้ครับ &lt;a href=&quot;http://microsoft-access-guidebook.blogspot.com/2011/07/download-ms-access-database.html&quot;&gt;Download Ms Access Program Database&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/2214791989618920415/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/2214791989618920415' title='3 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2214791989618920415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2214791989618920415'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/access-visual-basic-code.html' title='การทำ รหัสผ่าน Access - ตอน 6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OtS3uHZ87vma4z-1EM4i6ewh0rhECQXtbn64hBpfixU5xzpPZ7Ut63b4g4BYDsMvz7a28rXx0XqckejAdO0upybPZtXqqBs4L7LsT49vxJbzleNN83bnGJC3Y9UpXhGgCXH73GNYvXI/s72-c/CodePassword01.JPG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-6410596530826878648</id><published>2011-06-22T11:35:00.019+07:00</published><updated>2011-07-19T11:02:12.553+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 5</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;การตั้งค่าเริ่มต้นให้ ฟอร์ม รหัสผ่านเข้าใช้งานโปรแกรม&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;MS Access Function for Begin Program&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;ครับก่อนที่จะถึงการเขียนคำสั่งให้ฟอร์ม PassUser_frm เราจะมาตั้งค่าเริ่มต้นให้โปรแกรมนี้กันก่อน คือเมื่อเปิดโปรแกรมขึ้นมาให้ขึ้นที่หน้ากรุณาใส่ ชื่อผู้ใช้ และใส่รหัสผ่าน ก่อน แล้วค่อยเข้าสู่โปรแกรมเพื่อทำงานกันต่อครับ สำหรับการตั้งค่าเริ่มต้นโปรแกรม &lt;a href=&quot;http://microsoft-access-guidebook.blogspot.com/2011/02/ms-access.html&quot;&gt;ผมก็ได้อธิบายไว้ในตอนที่ผ่านมา&lt;/a&gt; ค่อนข้างละเอียดว่า คำอธิบายตัวใหนมีหน้าที่ยังไง ในตอนนี้ผมจะไม่ขออธิบายเพิ่มนะครับ&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHtGo4xgfy_GL4l_NgOg07kU9Cf_K4p1CIJZxRtSANdZIBL___LB3ZG6fjRYSNbvoq8wv34eQmJkUETtYAQW5RguuZjRdskp8NzmwXzJreetkIaMbP-0EnMJj4UQXWUSFfz4lfOEnRJ1c/s1600/beginformpass01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHtGo4xgfy_GL4l_NgOg07kU9Cf_K4p1CIJZxRtSANdZIBL___LB3ZG6fjRYSNbvoq8wv34eQmJkUETtYAQW5RguuZjRdskp8NzmwXzJreetkIaMbP-0EnMJj4UQXWUSFfz4lfOEnRJ1c/s320/beginformpass01.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 1 การตั้งค่าเริมต้นโปรแกรม Ms access&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
1.เลือกที่แถบเมนูบาร์ เครื่องมือ&lt;br /&gt;
2.เลือกที่ เริ่มต้น&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpBiA4qXccjdgHbRsQXcTEuKeVOxMeyqHFBr5UHg63wOUhbtcHx4usPGv7fSNgz5mJOkNxLIhbi-ovkpgvO-9HQRC_EOqDmfEaIxTZGCMyESGU0U9C9kWLgaEUNld-V8pxZkRcZWZAUic/s1600/beginformpass02.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;156&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpBiA4qXccjdgHbRsQXcTEuKeVOxMeyqHFBr5UHg63wOUhbtcHx4usPGv7fSNgz5mJOkNxLIhbi-ovkpgvO-9HQRC_EOqDmfEaIxTZGCMyESGU0U9C9kWLgaEUNld-V8pxZkRcZWZAUic/s320/beginformpass02.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;ภาพที่ 2 การตั้งค่าเริมต้นโปรแกรม Ms access&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
3.เลือก ฟอร์ม PassUser_frm&lt;br /&gt;
4.กดที่ปุ่มตกลง&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrmXkmdLYYUVWy_6NbRAIX3kIXSTQcO6Vw2wTFg7AhisSIubgsE83Fxgr82oYdLr940IaR9gxpgJBpUcsNmqXiP_8lyhsP8bGkcwxNyr6VVGrVOrYRUyOd95d5E9N8Hq0zjjVR0W3LpTA/s1600/beginformpass03.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrmXkmdLYYUVWy_6NbRAIX3kIXSTQcO6Vw2wTFg7AhisSIubgsE83Fxgr82oYdLr940IaR9gxpgJBpUcsNmqXiP_8lyhsP8bGkcwxNyr6VVGrVOrYRUyOd95d5E9N8Hq0zjjVR0W3LpTA/s320/beginformpass03.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 3 การตั้งค่าเริมต้นโปรแกรม Ms access&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;5.เมื่อท่านตั้งค่าเริ่มต้นโปรแกรมเสร็จ ลองปิดโปรแกรม แล้วเปิดใหม่ดูครับว่าผลเป้นยังไง&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;พบกันในตอนต่อไปการเขียนคำสั่งให้ตรวจสอบชื่อผู้ใช้ และรหัสผ่าน ก่อนเข้าใช้งานโปรแกรมครับ&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/6410596530826878648/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/6410596530826878648' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6410596530826878648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6410596530826878648'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/ms-access-function-for-begin-program-5.html' title='การทำ รหัสผ่าน Access - ตอน 5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHtGo4xgfy_GL4l_NgOg07kU9Cf_K4p1CIJZxRtSANdZIBL___LB3ZG6fjRYSNbvoq8wv34eQmJkUETtYAQW5RguuZjRdskp8NzmwXzJreetkIaMbP-0EnMJj4UQXWUSFfz4lfOEnRJ1c/s72-c/beginformpass01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-6611778709825673978</id><published>2011-06-20T13:44:00.022+07:00</published><updated>2011-07-19T11:02:12.556+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 4</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Visual Basic Code For Form access password&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
หลังจากที่เราได้กำหนดคุณสมบัติให้ฟอร์มรหัสผ่านกันแล้วในตอนที่แล้ว &amp;nbsp;สำหรับตอนนี้ก็จะเป็นการกำหนดคุณสมบัติให้ฟอร์มนี้เพิ่มเติม ในส่วนของการเขียน code visual access ให้กับปุ่มยกเลิก เพื่อให้ผู้ใช้งานกดปุ่มนี้แล้วปิดโปรแกรม &amp;nbsp;และอีกคำสั่งหนึ่งก็คือ code คำสั่งให้เมื่อเปิดโปรแกรมขึ้นมาให้ฟอร์มนี้ขยายขนาดเต็มหน้าจอคอมพิวเตอร์ตลอด&lt;br /&gt;
&lt;br /&gt;
ซึ่งการเขียนโค๊ดคำสั่งทั้งสองตัวที่กล่าวมาข้างต้น ผมก็ได้เขียนไว้แล้วในบทที่ผ่านมา แต่วันนี้เราจะมาทบทวนกันอีกรอบครับ เพื่อท่านจะได้คล่องขึ้น ซึ่งเราก็เปิดฟอร์ม PassUser_frm ขึ้นมาในมุมมองออกแบบ เหมือนเดิมครับ อ้อท่านคงยังไม่ลืมการสร้างปุ่มคำสั่งนะครับ สร้างปุ่มขึ้นมา 2 ปุ่มนะครับ ปุ่มแรกคือปุ่มตกลง &amp;nbsp;ปุ่มที่ 2 คือปุ่มยกเลิก&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4WKCJBCtRKG_xdtyZK5lwdtUbG__IDtnOf7abx7EIoDTTjvPSVQX1pVN6HgE_BUNboEIoP7KMZhaaEs8kZFFn3rqQeYuJae8gDO9b0hey95aXmXGxLoY3VMHojiAAHgoeTRa4kux91AU/s1600/passcode01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4WKCJBCtRKG_xdtyZK5lwdtUbG__IDtnOf7abx7EIoDTTjvPSVQX1pVN6HgE_BUNboEIoP7KMZhaaEs8kZFFn3rqQeYuJae8gDO9b0hey95aXmXGxLoY3VMHojiAAHgoeTRa4kux91AU/s320/passcode01.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 1 การเขียนโค๊ดคำสั่งให้ฟอร์ม access password&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
1.คลิ๊กเลือกที่ปุ่มยกเลิก ดูภาพที่ 1 ประกอบนะครับ&lt;br /&gt;
2.เลือกที่แทบ Event ในหน้าต่าง properties&lt;br /&gt;
3.เลือกที่ เมื่อคลิ๊ก เลือก event procedure กดที่ ... เพื่อไปหน้าต่างเขียน code คำสั่ง&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjit4FwUan6VVErvhttcVvHrv6bhw5sPomDHlUpoPOiwwksfMTf-sTjuytcKub8aatjXx2Owc5jdIC18H-noks9Qo-y7agGiIbAkVM04o-AyO8XK_45CTbiZ5zIvEzWX-gMqBCrtIcbzm0/s1600/passcode02.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjit4FwUan6VVErvhttcVvHrv6bhw5sPomDHlUpoPOiwwksfMTf-sTjuytcKub8aatjXx2Owc5jdIC18H-noks9Qo-y7agGiIbAkVM04o-AyO8XK_45CTbiZ5zIvEzWX-gMqBCrtIcbzm0/s320/passcode02.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp;ภาพที่ 2 การเขียนโค๊ดคำสั่งให้ฟอร์ม access password&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
4.เขียนคำสั่ง &quot;Docmd.Quite&quot; &amp;nbsp;เสร็จแล้วก็กด save แล้วปิดหน้าต่างนี้ได้เลย&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ltDlR-auISlr9XO885Qo6W24xVO-RlJD3z_jY4jg4XWVWoQMAwREou0aNV0E_gkhtfOxs3HZbzMfOsoNGAsCwj10Ui6wlmscHz1JemPrfMfhKfqmicHqFkAL2kWrrOljmUH6mMlBakA/s1600/passcode03.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0ltDlR-auISlr9XO885Qo6W24xVO-RlJD3z_jY4jg4XWVWoQMAwREou0aNV0E_gkhtfOxs3HZbzMfOsoNGAsCwj10Ui6wlmscHz1JemPrfMfhKfqmicHqFkAL2kWrrOljmUH6mMlBakA/s320/passcode03.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp;ภาพที่ 3 การเขียนโค๊ดคำสั่งให้ฟอร์ม access password&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;5.ขั้นตอนนี้จะเป็นการเขียน code คำสั่งให้ฟอร์ม maximize ตลอด เลือกที่หน้าต่างคุณสมบัติ ที่ของฟอร์ม&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;6.เลือกที่แทบ Event ในหน้าต่าง properties&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;7.เลือกที่ เมื่อคลิ๊ก เลือก event procedure กดที่ ... เพื่อไปหน้าต่างเขียน code คำสั่ง&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUS9AYAoZCqMtqlQWGmZFoceeOHhOuwbi1vxCygxufdBePnGBn9WeyJRygjJ0uAlO3BKsPKs2-ZlhGgrfupL8P_QVp2nK2X9b20HnxqM9sezBt9-A_Z1yhaAaT8W0sBpbk1bCfEdRwHVo/s1600/passcode04.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUS9AYAoZCqMtqlQWGmZFoceeOHhOuwbi1vxCygxufdBePnGBn9WeyJRygjJ0uAlO3BKsPKs2-ZlhGgrfupL8P_QVp2nK2X9b20HnxqM9sezBt9-A_Z1yhaAaT8W0sBpbk1bCfEdRwHVo/s320/passcode04.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;ภาพที่ 4 การเขียนโค๊ดคำสั่งให้ฟอร์ม access password&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;8.เขียนคำสั่ง &quot;Docmd.Maximize&quot; &amp;nbsp;เสร็จแล้วก็กด save แล้วปิดหน้าต่างนี้ได้เลย&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;เมื่อท่านทำมาถึงขั้นตอนนี้แล้วก็ค่อนทางของการสร้าง ฟอร์ม User Password แล้วละครับ ยังเหลือขั้นตอนสุดท้ายคือการเขียน Code คำสั่งในที่นี้ผมจะสอนโดยใช้แมโครเขียนก่อน ติดตามในตอนต่อไปนะครับ&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/6611778709825673978/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/6611778709825673978' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6611778709825673978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6611778709825673978'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/visual-basic-code-for-form-access.html' title='การทำ รหัสผ่าน Access - ตอน 4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4WKCJBCtRKG_xdtyZK5lwdtUbG__IDtnOf7abx7EIoDTTjvPSVQX1pVN6HgE_BUNboEIoP7KMZhaaEs8kZFFn3rqQeYuJae8gDO9b0hey95aXmXGxLoY3VMHojiAAHgoeTRa4kux91AU/s72-c/passcode01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-3514774705025294753</id><published>2011-06-16T09:20:00.005+07:00</published><updated>2011-07-19T11:02:12.560+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 3</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Form for access password&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;ต่อจากตอนที่แล้วครับ หลังจากที่เรากำหนดคุณสมบัติของกล่องข้อความ ต่างๆ จากตอนที่ 2 เป็นที่เรียบร้อยแล้ว ในตอนนี้เราจะมากำหนดคุณสมบัติหน้าตาของฟอร์ม username and password กัน สาเหตุที่เราต้องกำหนดตัวนี้ เพราะว่าเราต้องการจะเอารูปแบบบางตัวออก เอาบางตัวเพิ่ม เพื่อให้ฟอร์นี้ ดูดี มีมาตรฐาน หรือน่าเชื่อถือยิ่งขึ้นครับ 1...2...3...GO&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4uWjODnncm5LpHmaAmAdctjC-S7UtMpfEftGtF-CU6XOwDjaiiNa8qY1gRL_0XLWH33ZXbNjnYcdtjI5xcTJg7BuwpAOXLRYCbGrAR3YXQ4Sdz25VHJW2KJf92_mZJzFwm8DCL0xXOI/s1600/proform01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4uWjODnncm5LpHmaAmAdctjC-S7UtMpfEftGtF-CU6XOwDjaiiNa8qY1gRL_0XLWH33ZXbNjnYcdtjI5xcTJg7BuwpAOXLRYCbGrAR3YXQ4Sdz25VHJW2KJf92_mZJzFwm8DCL0xXOI/s320/proform01.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 1 กำหนดคุณสมบัติให้ฟอร์ม Username and Password&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
1.เปิดฟอร์ม passuser_frm ที่เราได้บันทึกไว้คราวที่แล้ว เปิดในมุมมองออกแบบนะครับ คลิ๊กที่หมายเลข 1&lt;br /&gt;
2.เลือกที่ปุ่มคุณสมบัติ เราก็จะได้กล่องสำหรับกำหนดคุณสมบัติของฟอร์ม&lt;br /&gt;
3.เลือกที่แทบ format&lt;br /&gt;
4.กำหนดคุณลักษณะของฟอร์ม ดังนี้&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;ป้ายคำอธิบาย เป็น &quot;กรุณาใส่ชื่อผู้ใช้และรหัสผ่านก่อนครับ&quot;&lt;/li&gt;
&lt;li&gt;แถบเลื่อน เป็น neither&lt;/li&gt;
&lt;li&gt;ตัวเลือกระเบียน เป็น no&lt;/li&gt;
&lt;li&gt;ปุ่มนำทาง เป็น no&lt;/li&gt;
&lt;li&gt;เส้นแบ่ง เป็น no&lt;/li&gt;
&lt;li&gt;กล่องควบคุม เป็น no&lt;/li&gt;
&lt;li&gt;ปุ่มย่อเล็กที่สุด ขยายใหญ่ที่สุด เป็น none&lt;/li&gt;
&lt;li&gt;ปุ่มปิด เป็น no&lt;/li&gt;
&lt;li&gt;ส่วนที่ผมไม่ได้กล่าวถึงก็ปล่อยตามที่โปแกรมกำหนดมาให้ครับ&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKCbkkzutSQ6WNNaTS6rojfgvGOGqClzs6R5nENDN4jVA0brkbb_tobsmx-x24xDRReaM110iASjEmIGhpyxZn6310Ya4zuHGHakhERVGeD6bQSlOUd_pPeVZ97c-UksWqkMMfQ4M3TM/s1600/proform02.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;306&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKCbkkzutSQ6WNNaTS6rojfgvGOGqClzs6R5nENDN4jVA0brkbb_tobsmx-x24xDRReaM110iASjEmIGhpyxZn6310Ya4zuHGHakhERVGeD6bQSlOUd_pPeVZ97c-UksWqkMMfQ4M3TM/s320/proform02.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 2 กำหนดคุณสมบัติให้ฟอร์ม Username and Password&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;5.คลิ๊กเลือที่แทบ Other&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;6.เปลี่ยนค่า ผุดข้ึน เป็น no , โมดอล เป็น Yes , แถบเมนู = 0&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;จากนั้นก็ทำการบันทึกฟอร์ม เปิดปิดทดสอบหน้าตาของฟอร์มดูครับ&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidXKjCa5HdF2ftZ628XfeSluhCRe3mg9lndqux06mT_p7-rUP8o-Tq9g5ha6GqBTFxfqWX7tMKxKyRT7-MZaTTV5u9Rsh0AfE4yWSVggdf3dpO_X0196iFlpMM7YRfxLuhLYaLqVuWD4M/s1600/examplepass.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidXKjCa5HdF2ftZ628XfeSluhCRe3mg9lndqux06mT_p7-rUP8o-Tq9g5ha6GqBTFxfqWX7tMKxKyRT7-MZaTTV5u9Rsh0AfE4yWSVggdf3dpO_X0196iFlpMM7YRfxLuhLYaLqVuWD4M/s320/examplepass.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;ภาพที่ 3 หน้าตาของฟอร์มที่กำหนดคุณสมบัติแล้วครับ&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;สำหรับภาพที่ 3 คือภาพหน้าตาของฟอร์มที่เราสร้าง และกำหนดคุณสมบัติต่างๆ ของฟอร์มไปส่วนหนึ่งแล้ว &amp;nbsp;แต่ยังเหลืออีกอยู่นะครับ ติดตามได้ในตอนต่อไปครับ&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/3514774705025294753/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/3514774705025294753' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/3514774705025294753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/3514774705025294753'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/form-for-access-password-3.html' title='การทำ รหัสผ่าน Access - ตอน 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4uWjODnncm5LpHmaAmAdctjC-S7UtMpfEftGtF-CU6XOwDjaiiNa8qY1gRL_0XLWH33ZXbNjnYcdtjI5xcTJg7BuwpAOXLRYCbGrAR3YXQ4Sdz25VHJW2KJf92_mZJzFwm8DCL0xXOI/s72-c/proform01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-750790110774072623</id><published>2011-06-15T15:07:00.007+07:00</published><updated>2011-07-19T11:03:06.611+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 2</title><content type='html'>ในขั้นตอนนี้เราจะมาสร้างฟอร์มเพื่อใส่ user name และ password ก่อนเข้าใช้งานโปรแกรมครับ ซึ่งเป็นการทำงานต่อเนื่องจากตอนที่แล้ว ที่เราได้สร้างตารางเก็บข้อมูลผู้ใช้พร้อมรหัสผ่านเข้าโปรแกรมไว้แล้ว คิดว่าท่านยังคงไม่ลืมนะครับ&lt;br /&gt;
&lt;br /&gt;
เราจะมาเริ่่มสร้างฟอร์มในมุมมองออกแบบกันครับ ซึ่งนอกจากเราจะสร้างหน้าตาของฟอร์มให้ดูสวยงาม รู้สึกว่าโปรแกรมที่เราเขียนมีความปลอดภัยในการรักษาข้อมูลแล้ว ยังต้องไม่ยากต่อการใช้งานของผู้ใช้ด้วย ซึ่งเป็นคุณลักษณะที่พึงประสงค์ของโปรแกรมที่ดีครับ การสร้างฟอร์มอันนี้ เราจะต้องมากำหนดคุณสมบัติของฟอร์ และของฟิลด์รับข้อมูลกันค่อนข้างละเอียดครับ ก็ขอให้ท่านค่อยๆทำไปพร้อมกับผมนะครับ จะได้ไม่สับสน เพราะการกระทำในขั้นตอนนี้จะต้องจับโน่นชนนี่ และจะเกี่ยวโยงในการเขียนแมโครในบทต่อไปด้วย ทั้งชื่อฟอร์ม ชื่อกล่องรับข้อมูล ซึ่งแต่ละขั้นตอนเราต้องมาตั้งชื่อให้แต่ละอย่าง และเราจะต้องจำได้ด้วยว่าชื่อกล่องรับข้อมูลนี้ชื่ออะไร เพื่อในการเขียน code คำสั่งจะได้ไม่สับสนครับ&lt;br /&gt;
&lt;br /&gt;
ที่พูดไว้อย่างนี้ ไม่อยากให้ท่านคิดว่ามันทำยากนะครับ ไม่ต้องท้อแท้ไปก่อนละครับ ผมรับรองว่าหากท่านทำตาม Step by Step ที่ผมทำตัวอย่างไว้ท่านทำเป็น และท่านก็จะเข้าใจหลักหารแนวคิดของการทำงานของโปรแกรม access ไปด้วย จะส่งผลให้เราทำการเขียนโปรแกรมได้แบบมืออาชีพมากขึ้น&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzaT2T73Ngn7rUOQA84U9tiWhaGDqnDd6larkY6JI53tMFXaRyWu9LlmHLNjZXthCE3BxDnGZp6M4y5jRvJNMSfPyM9oEYTZ89E5LkK-NjYhZRpluSbrxu4KO6du0qfkGNaSsMpZfzHOI/s1600/formpass01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzaT2T73Ngn7rUOQA84U9tiWhaGDqnDd6larkY6JI53tMFXaRyWu9LlmHLNjZXthCE3BxDnGZp6M4y5jRvJNMSfPyM9oEYTZ89E5LkK-NjYhZRpluSbrxu4KO6du0qfkGNaSsMpZfzHOI/s320/formpass01.JPG&quot; width=&quot;315&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;ภาพที่ 1 การทำรหัสผ่าน Access หรือ รหัสผ่านฐานข้อมูล access&lt;/div&gt;&lt;br /&gt;
1.เลือกที่ฟอร์ม&lt;br /&gt;
2.เลือกที่ปุ่มสร้าง ตามรูปภาพครับ&lt;br /&gt;
3.เลือกสร้างฟอร์มในมุมมองออกแบบ&lt;br /&gt;
4.เลือกตาราง &quot;User_t&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNbhG9G_BpRA1xPUCVZguE8JdFJXYoGK9IhOZcbJVGPPJzzyp_JVQUHUq1Xy4ocoTP5aLXw0JjIoEfntq5tLeo1lH_2BJgskvETC5ShbINHZR8vK5HAPVtnsgjMtPIFJmf33Qp4fL83xk/s1600/formpass02.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNbhG9G_BpRA1xPUCVZguE8JdFJXYoGK9IhOZcbJVGPPJzzyp_JVQUHUq1Xy4ocoTP5aLXw0JjIoEfntq5tLeo1lH_2BJgskvETC5ShbINHZR8vK5HAPVtnsgjMtPIFJmf33Qp4fL83xk/s320/formpass02.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&amp;nbsp;ภาพที่ 2 การทำรหัสผ่าน Access หรือ รหัสผ่านฐานข้อมูล access&lt;/div&gt;&lt;br /&gt;
5.เลือกที่สร้างกล่องข้อความ ที่ปุ่มตามขั้นตอนที่ 5 ครับ&lt;br /&gt;
6.จากนั้นก็ลากเม้าส์ที่พื้นที่ของฟอร์มเพื่อว่างกล่องข้อความ ขั้นนี้ทำสองกล่องข้อความนะครับ คืออันแรกจะเป็นตัวรับ username (หมายเลข 6.2) อันที่ 2 เป็นตัวรับ password (หมาเลข 6.1)&lt;br /&gt;
7.เลือกชื่อฟิลด์ user และ pass1 ที่ตาราง user_t ลากมาที่พื้นที่ของฟอร์ม&lt;br /&gt;
8.เมื่อลากมาแล้วก็จะได้ตามขั้นตอนหมายเลข 8 ครับ กล่องข้อความหมายเลข 8.2 เป็น username และ หมายเลข 8.1 เป็นรหัสผ่าน ที่เราได้พิมพ์เก็บไว้ในตาราง user_t เป็นที่เรียบร้อยแล้ว (คงไม่ลืมนะครับ)&lt;br /&gt;
&lt;br /&gt;
ยังไม่จบขั้นตอนนี้นะครับ ต่อมาเราก็จะมาตั้งชื่อให้กล่องข้อความทีละตัวครับ (การตั้งชื่อนี้มีควาสำคัญนะครับซึ่งผมได้อธิบายไปแล้วในตอนต้น) เิร่มจากเปิดกล่องคุณสมบัติขั้นมาก่อนครับ(หมายเลข 6.11)&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;คลิ๊กเลือกที่กล่องข้อความหมายเลข 6.1 ให้จุดครอบทุกมุมเหมือนในภาพนะครับ แล้วเลือกที่แทบ other ในคุณสมบัติ ที่ชื่อ พิมพ์ว่า &quot;pass2&quot;&lt;/li&gt;
&lt;li&gt;คลิ๊กเลือกที่กล่องข้อความหมายเลข 6.2 ให้จุดครอบทุกมุมเหมือนในภาพนะครับ แล้วเลือกที่แทบ other ในคุณสมบัติ ที่ชื่อ พิมพ์ว่า &quot;user2&quot;&lt;/li&gt;
&lt;li&gt;คลิ๊กเลือกที่กล่องข้อความหมายเลข 8.1 ให้จุดครอบทุกมุมเหมือนในภาพนะครับ แล้วเลือกที่แทบ other ในคุณสมบัติ ที่ชื่อ พิมพ์ว่า &quot;pass1&quot; แล้วเลือกที่ มองเห็นได้ เป็น NO&lt;/li&gt;
&lt;li&gt;คลิ๊กเลือกที่กล่องข้อความหมายเลข 8.2 ให้จุดครอบทุกมุมเหมือนในภาพนะครับ แล้วเลือกที่แทบ other ในคุณสมบัติ ที่ชื่อ พิมพ์ว่า &quot;user1&quot;&amp;nbsp;แล้วเลือกที่ มองเห็นได้ เป็น NO&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLOyhuG04jJODq4zVf1PkPuud4Yb-lSQqBE8pRWqfJklKNqZEkhvB-0trL6Cx4ELwILdu4GlTQpWanqqMwaAcwo5aBbVRUCD-b9u-CIrFDDIA9XWgZo1m9OJTBrNMikM6CcUgfX4eXbUM/s1600/formpass03.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLOyhuG04jJODq4zVf1PkPuud4Yb-lSQqBE8pRWqfJklKNqZEkhvB-0trL6Cx4ELwILdu4GlTQpWanqqMwaAcwo5aBbVRUCD-b9u-CIrFDDIA9XWgZo1m9OJTBrNMikM6CcUgfX4eXbUM/s320/formpass03.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;ภาพที่ 3 การทำรหัสผ่าน Access หรือ รหัสผ่านฐานข้อมูล access&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;9.ขั้นตอนนี้เราจะมาตั้งค่ารูปแบบการป้อนข้อมูลให้ กล่อง pass2 ครับ คือเวลาที่ผู้ใช้กรอกรหัสผ่าน ก็จะแสดง **** ครับ คลิ๊กเลือกที่ กล่อง pass2&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;10.เลือกที่ รูปแบบการป้อนข้อมูล ในกล่องคุณสมบัติ แล้วคลิ๊กที่จุด ...&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;11.เลือกรูปแบบเป็น password&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;12.กดปุ่มเส็จสิ้น&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;หลั้งจากนี้ก็ทำการบันทึกฟอร์มนี้ เป็นชื่อ PassUser_frm ครับ แต่ยั่งไม่เสร็จในขั้นตอนการสร้างฟอร์มนี้นะครับยังเหลือกำหนดคุณสมบัติให้กับฟอร์มอีก ติดตามในบทต่อไปครับ&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/750790110774072623/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/750790110774072623' title='1 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/750790110774072623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/750790110774072623'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/access-2.html' title='การทำ รหัสผ่าน Access - ตอน 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzaT2T73Ngn7rUOQA84U9tiWhaGDqnDd6larkY6JI53tMFXaRyWu9LlmHLNjZXthCE3BxDnGZp6M4y5jRvJNMSfPyM9oEYTZ89E5LkK-NjYhZRpluSbrxu4KO6du0qfkGNaSsMpZfzHOI/s72-c/formpass01.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-7200654237456031244</id><published>2011-06-12T09:15:00.002+07:00</published><updated>2011-07-19T11:03:06.616+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="Access Password"/><category scheme="http://www.blogger.com/atom/ns#" term="การทำรหัสผ่าน access"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="รหัสผ่านฐานข้อมูล"/><title type='text'>การทำ รหัสผ่าน Access - ตอน 1</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b&gt;การสร้าง รหัสผ่่าน access password หรือ รหัสผ่านฐานข้อมูล access&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;มาถึงบทนี้เราจะมาทำรหัสผ่านให้โปรแกรมฐานข้อมูลที่เราเขียนขึ้นเองกับมือกับ ไม่ใช่ว่าผมจะพาท่านทำรหัสที่ Ms Access ให้มานะครับ แต่ผมจะพาท่านทำรหัสผ่านเพื่อเข้าสูโปรแกรมของเรา โดยสร้างขึ้นเองทั้งหมด โดยอาศัยความรู้ที่เราเรียนมาจากบล็อกนี้นี่แหละครับ&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;การทำรหัสผ่านเข้าโปรแกรม access นี้ จะต้องใช้การทำงานร่วมกันหลายรูปแบบ และค่อนข้างจะซับซ้อนหน่อยๆ แต่ท่านสามารถทำได้แน่นอนครับ ซึ่งจะเริ่มต้นตั้งแต่สร้างตารางเก็บชื่อผู้ใช้ และรหัสผ่าน ต่อมาก็สร้างฟอร์มเพื่อ จนกระทั่งต้องสร้างแมโคร เพื่อเขียนคำสั่งในการทำงานของฟอร์มรับรหัสผ่านเพื่อให้ผู้ที่มี user name และ password เท่านั้นที่สามารถเข้าใช้โปรแกรมได้&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZaa5dyNoDzXzB69WUa9O0EjrNQTsBungTnZQrZcwn2k8O-U-wfvm_zNzP8AjAp1PC-tnCy9PIdL-KQcWdPrx92HLPZSxponHhJp7lR6N5lt1Auj_JQjy-mm27yYjnIL_m_RbtiWjkQl4/s1600/examplepass.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZaa5dyNoDzXzB69WUa9O0EjrNQTsBungTnZQrZcwn2k8O-U-wfvm_zNzP8AjAp1PC-tnCy9PIdL-KQcWdPrx92HLPZSxponHhJp7lR6N5lt1Auj_JQjy-mm27yYjnIL_m_RbtiWjkQl4/s320/examplepass.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;ภาพที่ 1 ตัอย่างโปรแกรมที่ต้องมีรหัสผ่านเข้าใช้งาน&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;จากภาพที่ 1 คือตัวอย่างของแบบฟอร์มในการเิริมต้นเข้าโปรแกรมครับ ที่สร้างเสร็จเรียบร้อย เมื่อเราเปิดโปรแกรมขึ้นมาก็จะเจอฟอร์มให้ใส่ ชื่อผู้ใช้ และรหัสผ่านก่อนเข้าใช้งานโปรแกรมครับ ท่านพร้อมหรือยังครับมาเริ่มต้นไปพร้อมกันเลยครับ&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXV2-yZeyaRIuSHLgrxkFBjGaJ05zdQO50b67vnjNTI5bZjfyIOrSuI9k9-a0I-tG5fQpl0UM6-gI6k8rdIsvjlDomjQ-5repGGnfz0AdBez1p7_THuGPVNNVYfFxeA_vCivLPIhZOmXE/s1600/passaccess01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXV2-yZeyaRIuSHLgrxkFBjGaJ05zdQO50b67vnjNTI5bZjfyIOrSuI9k9-a0I-tG5fQpl0UM6-gI6k8rdIsvjlDomjQ-5repGGnfz0AdBez1p7_THuGPVNNVYfFxeA_vCivLPIhZOmXE/s320/passaccess01.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 2 สร้างตารางเก็บข้อมูล username และ password&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
1.เริ่มจากสร้างตารางในมุมมองออกแบบ คลิ๊กที่ ตาราง(Creat Table Data)&lt;br /&gt;
2.คลิ๊กที่ปุ่มสร้างตาราง&lt;br /&gt;
3.เลือกที่มุมมองออกแบบ&lt;br /&gt;
4.กดที่ปุ่มตกลง&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitljM6Ra5pZs3X_LoJ5QiNPaRFC3BP2VDdnq-LO3QaGTUxGA9zw7QRRupMBZjSkJGo3Ps_mwJKQA8atS6mNlDNYsgmNwUTtU7kRgYRbiWTvPv7jqOkvVk_NlxgMt4hiUu_WykakUzMNqg/s1600/passaccess02.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitljM6Ra5pZs3X_LoJ5QiNPaRFC3BP2VDdnq-LO3QaGTUxGA9zw7QRRupMBZjSkJGo3Ps_mwJKQA8atS6mNlDNYsgmNwUTtU7kRgYRbiWTvPv7jqOkvVk_NlxgMt4hiUu_WykakUzMNqg/s320/passaccess02.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;ภาพที่ 3 สร้างตารางเก็บข้อมูล username และ password&lt;/div&gt;&lt;br /&gt;
5.ตั้งชื่อเขตข้อมูล ดังนี้ครับ&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;เขตข้อมูลที่ 1 คือ ID ชนิดข้อมูล AutoNumber คำอธิบาย ลำดับของผู้ใช้งาน&lt;/li&gt;
&lt;li&gt;เขตข้อมูลที่ 2 คือ User ชนิดข้อมูล Text คำอธิบาย ชื่อผู้ใช้งาน&lt;/li&gt;
&lt;li&gt;เขตข้อมูลที่ 3 คือ Pass1 ชนิดข้อมูล Text คำอธิบาย รหัสผ่านของผู้ใช้&lt;/li&gt;
&lt;li&gt;เขตข้อมูลที่ 4 คือ Pass2 ชนิดข้อมูล Text คำอธิบาย ยืนยันรหัสผ่านของผู้ใช้&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;6.กำหนดรูปแบบการป้อนข้อมูล โดยคลิ๊กเลือไว้ที่ เขตข้อมูลที่ 3 Pass1 ก่อน แล้วก็มาคลิ๊กที่ ... ที่รูปแบบการป้อนข้อมูล (ดูภาพที่ 3 ประกอบนะครับ)&amp;nbsp;&lt;/div&gt;&lt;div&gt;7.เลือกที่รูปแบบ Password&amp;nbsp;&lt;/div&gt;&lt;div&gt;8.คลิ๊กที่ปุ่ม เสร็จสิ้น ครับ (ในรูปลูกศรชี้ผิดขออภัยนะครับ)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSWHjni43R4DbeH0KSinMdhQBtOo3KMUxoGMeIMjd1sLWkQerv-yWPs1F4fFpBSbqog0QaS86wOsOQ0QhTPHvHZc_v89a96iUjcHabv5RH0ZAjLNJbh7uDXv4dpdhA-ReUbaNYgM4YCtw/s1600/passaccess03.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;261&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSWHjni43R4DbeH0KSinMdhQBtOo3KMUxoGMeIMjd1sLWkQerv-yWPs1F4fFpBSbqog0QaS86wOsOQ0QhTPHvHZc_v89a96iUjcHabv5RH0ZAjLNJbh7uDXv4dpdhA-ReUbaNYgM4YCtw/s320/passaccess03.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;ภาพที่ 4 สร้างตารางเก็บข้อมูล username และ password&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;9.ทำการบันทึกข้อมูลการสร้างตาราง ตั้งชื่อว่า User_t ครับ เราจะได้ไม่สับสน&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIScWnkSlWis3DnWX35ekGwuA3VaJllhTM6EuFzu8XXVBGvmXNbSoU6GWNfIXDz0Q3o5lJyba2C2ICUTc8Yzw32kyhsdVK4edmIY_25UWM28I3UG-ujDYm5yrNs93RIle5w_sSdcBOELw/s1600/passaccess04.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIScWnkSlWis3DnWX35ekGwuA3VaJllhTM6EuFzu8XXVBGvmXNbSoU6GWNfIXDz0Q3o5lJyba2C2ICUTc8Yzw32kyhsdVK4edmIY_25UWM28I3UG-ujDYm5yrNs93RIle5w_sSdcBOELw/s320/passaccess04.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;ภาพที่ 5 สร้างตารางเก็บข้อมูล username และ password&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;10.เปิดตาราง user_t ขึ้นมาแล้วกรอกข้อมูล User และ รหัสผ่าน ทั้งสองช่อง&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;สำหรับขั้นตอนการสร้างตารางเก็บ ชื่อผู้ใช้และรหัสผ่าน ก็เสร็จแล้วครับ ติดตามการสร้างฟอร์มกรอกชื่อผู้ใช้และรหัสผ่านในบทต่อไปครับ&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/7200654237456031244/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/7200654237456031244' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7200654237456031244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7200654237456031244'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/access-1.html' title='การทำ รหัสผ่าน Access - ตอน 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZaa5dyNoDzXzB69WUa9O0EjrNQTsBungTnZQrZcwn2k8O-U-wfvm_zNzP8AjAp1PC-tnCy9PIdL-KQcWdPrx92HLPZSxponHhJp7lR6N5lt1Auj_JQjy-mm27yYjnIL_m_RbtiWjkQl4/s72-c/examplepass.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-1028882810224210408</id><published>2011-05-08T10:32:00.002+07:00</published><updated>2011-07-19T11:03:06.620+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="การเขียน Code Access Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="คำสั่ง Access"/><title type='text'>การเขียน Code Access Basic ปุ่มออกจากโปรแกรม</title><content type='html'>&lt;div&gt;ในบทนี้เราจะมาเขียน Code Visual Basic ให้กับปุ่มปิดโปรแกรมกันครับ หมายความว่า เมื่อเรากดที่ปุ่มออกจากโปรแกรม โปรแกรมก็จะปิดตัวทันที มาเริ่มกันเลยครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;การทำงานนี้ก็ทำงานกับฟอร์มในมุมมองออกแบบเหมือนเดิมครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh4-JRNVidWWWJDAOveTE4uVl9KWAGJRecyftrvyoQsIsAhWRWe_AgGv_yYUK8CKwxLV-sbndBIE_NbfUQ1GQMyvNDiXwrxh6SRx8wtGigz1DOl3_s8yfm6n7zDfaJP7DWp8ckgrt1Rfw/s1600/quit01.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626825697457650898&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh4-JRNVidWWWJDAOveTE4uVl9KWAGJRecyftrvyoQsIsAhWRWe_AgGv_yYUK8CKwxLV-sbndBIE_NbfUQ1GQMyvNDiXwrxh6SRx8wtGigz1DOl3_s8yfm6n7zDfaJP7DWp8ckgrt1Rfw/s320/quit01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 288px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;ภาพที่ 1 การเขียนคำสั่ง visual basic ให้ปุ่มออกจากโปรแกรม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
1.คลิ๊กที่สร้างปุ่มคำสั่ง (ดูภาพที่ 1 ประกอบ)&lt;br /&gt;
2.ลากเมาส์เพื่อสร้างปุ่มคำสั่งที่พื้นของ Main_frm&lt;br /&gt;
3.กดที่ปุ่ม ยกเลิก เพื่อที่เราจะได้มาเขียน code คำสั่งเองครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCx-m9GSnVGSWqzZkkk04Ki9ytofi-lX7mNJcXo7gI4o86zBnZpay3drFJ7F-sdf45BaGhtfRAhV854znLKO40Hj-2m29g4PcO3mjvtTwcazbX-DPnoCnxPRr7FFLpwOuKu2q0tOq9cCQ/s1600/quit02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626825695978675170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCx-m9GSnVGSWqzZkkk04Ki9ytofi-lX7mNJcXo7gI4o86zBnZpay3drFJ7F-sdf45BaGhtfRAhV854znLKO40Hj-2m29g4PcO3mjvtTwcazbX-DPnoCnxPRr7FFLpwOuKu2q0tOq9cCQ/s320/quit02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 263px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การเขียนคำสั่ง visual basic ให้ปุ่มออกจากโปรแกรม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
4.ดับเบิ้ลคลิ๊กที่ปุ่มเพื่อเปลี่ยนชื่อปุ่มคำสั่ง ว่า ออกจาโปรแกรม&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBCWUzzB93-2vY3lSqpsevINQOm0WyGcUq6E9cDryFizNhCa3QHhOflGlWBS5qvACmggPyWF_gpNSbal9K2OPmLmn-FK_SJ2m8Q4hDgeVDhPbnAQK0H8V546kG_EJdH8Gi2uUSSwPEkr0/s1600/quit03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626825693617432018&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBCWUzzB93-2vY3lSqpsevINQOm0WyGcUq6E9cDryFizNhCa3QHhOflGlWBS5qvACmggPyWF_gpNSbal9K2OPmLmn-FK_SJ2m8Q4hDgeVDhPbnAQK0H8V546kG_EJdH8Gi2uUSSwPEkr0/s320/quit03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 306px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 3 การเขียนคำสั่ง visual basic ให้ปุ่มออกจากโปรแกรม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
5.กดเลือกที่ปุ่มออกจากโปรแกรม&lt;br /&gt;
6.แล้วเลือกที่แถบบาร์ด้านบน โดยเลือกที่ปุ่มคำสั่ง คุณสมบัติ (ดูภาพที่ 3 ประกอบ)&lt;br /&gt;
7.เลือกที่ tab &quot;Event&quot; เลือกที่เมื่อคลิก ต่อมาเลือก Event Procedure&lt;br /&gt;
8.กดที่ปุ่ม ... เพื่อไปมุมมองเขียน Code access basic&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqjk8F18mC1YrHj2CuCB0l0g9TEPCp_IS-8k-s2lrigQcqxmUa1Hg01Bdkey9071H3NF_PG1ASOCkVCeDhQlXFbPItl3nN-gZL1j3VhgiQTcwyo5IXTNkHaClloSBiiRJfqJjgffYI1X4/s1600/quit04.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626825686472018850&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqjk8F18mC1YrHj2CuCB0l0g9TEPCp_IS-8k-s2lrigQcqxmUa1Hg01Bdkey9071H3NF_PG1ASOCkVCeDhQlXFbPItl3nN-gZL1j3VhgiQTcwyo5IXTNkHaClloSBiiRJfqJjgffYI1X4/s320/quit04.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 282px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 4 การเขียนคำสั่ง visual basic ให้ปุ่มออกจากโปรแกรม&lt;br /&gt;
&lt;br /&gt;
9.พิมพ์ Code คำสั่งดังนี้ DoCmd.Quit&lt;br /&gt;
10.กดปุ่ม Save แล้วปิด&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI3aVgE1sCmXVRwYxaJeDK2Ztv3FWBE4maP4Maiy8yeK7BNomYDkHjMc7G-aPbtyKOm9tRvUWq3HU1s8FYvPjs9pHXxCT4GPK0i4_wM0Tq_7ckDH-3rOj5GZ3QBwshF7Oxrptr-QU53HI/s1600/quit05.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626825685318454946&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI3aVgE1sCmXVRwYxaJeDK2Ztv3FWBE4maP4Maiy8yeK7BNomYDkHjMc7G-aPbtyKOm9tRvUWq3HU1s8FYvPjs9pHXxCT4GPK0i4_wM0Tq_7ckDH-3rOj5GZ3QBwshF7Oxrptr-QU53HI/s320/quit05.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 231px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 5 การเขียนคำสั่ง visual basic ให้ปุ่มออกจากโปรแกรม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ลองปิดเปิดฟอร์มนี้ใหม่ ท่านก็ได้หน้าตาดังรูปนี้ครับ แล้วก็ลองกดปุ่มออกจากโปรแกรมดูครับ ว่าผลเป็นยังไง เจอกันอีกในบทต่อไปนะครับ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/1028882810224210408/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/1028882810224210408' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/1028882810224210408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/1028882810224210408'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/code-access-basic.html' title='การเขียน Code Access Basic ปุ่มออกจากโปรแกรม'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh4-JRNVidWWWJDAOveTE4uVl9KWAGJRecyftrvyoQsIsAhWRWe_AgGv_yYUK8CKwxLV-sbndBIE_NbfUQ1GQMyvNDiXwrxh6SRx8wtGigz1DOl3_s8yfm6n7zDfaJP7DWp8ckgrt1Rfw/s72-c/quit01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5638188927675581540</id><published>2011-05-06T15:38:00.004+07:00</published><updated>2011-07-19T11:03:06.624+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>กำหนดการแสดงผลของฟอร์ม</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;Access form design&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
หลังจากที่เราได้กำหนดรูปแบบให้กับวันที่ในตอนที่แล้ว ทีนี้เราจะมากำหนดการแสดงผลหรือการทำงานของฟอร์มบันทึกข้อมูลลูกค้า (Customer_frm) ให้มีความสวยงามมองดูแล้วน่าจะกรอกข้อมูลง่าย ก็อธิบายแล้วอาจไม่เป็นภาพ ลองทำกันก่อนก็จะเห็นความเปลียนแปลงครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;การทำงานก็ทำงานกับฟอร์มที่เราต้องการในมุมมองออกแบบเหมือนเดิมครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626527567450671618&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19ZBjAUqcfSCPQa6tEQAdfAT6gUj6p6j2zXXo7jgKubUauubZsNnkK43MFFRj8nepLM4l3Z6kEqK26Ra4iYqP-8NHY9JEY-hJyQjO3E4PRcmz0FRRFBS1chxSe2ybcErUfcj81bcA2tw/s320/formatform01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 279px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การกำหนดรูปแบบการแสดงผลของฟอร์ม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.ดับเบิ้ลคลิ๊กที่ตรองนี้เพื่อให้เป็นคุณสมบัติของฟอร์มนี้&lt;/div&gt;&lt;div&gt;2.เลือกที่แทบฟอร์แมท (Format) ตามภาพที่ 1&lt;/div&gt;&lt;div&gt;3.แก้ไขตรงป้านคำอธิบาย พิมพ์ว่า &quot;บันทึกข้อมูลลูกค้า&quot; ข้อความตรงนี้จะไปขึ้นตรงหัวของฟอร์มนี้เพื่อแสดงคำฮะิบายว่าฟอร์มนี้คืออะไร&lt;/div&gt;&lt;div&gt;4.แก้ไขข้อมูล ดังนี้&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;แถบเลื่่อน เป็น Neither&lt;/li&gt;
&lt;li&gt;ตัวเลือกระเบียน เป็น No&lt;/li&gt;
&lt;li&gt;ปุ่มนำทาง เป็น No&lt;/li&gt;
&lt;li&gt;เส้นแบ่ง เป็น No&lt;/li&gt;
&lt;li&gt;ปรับขนาดอัตโนมัติ เป็น Yes&lt;/li&gt;
&lt;li&gt;จัดกลางอัตโนมัติ เป็น Yes&lt;/li&gt;
&lt;li&gt;ปุ่มย่อเล็กที่สุด-ขยายใหญ่ที่สุด เป็น None&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;แก้ไขประมาณนี้ก่อนครับ  ในแทบนี้&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJO8Evi78CUws6GQiDJNl0TDtA-l_dy-0PbKGOYvBLIKRMTfz2thyJthnDG7VxJ4tyK4_vIL7Qw-rs05k1kQTVPINmM_cFSOqKBlejqeB1VoqI3IoQtHFBctH6LMzN2o6kinevAScqffU/s1600/formatform02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626527568556902434&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJO8Evi78CUws6GQiDJNl0TDtA-l_dy-0PbKGOYvBLIKRMTfz2thyJthnDG7VxJ4tyK4_vIL7Qw-rs05k1kQTVPINmM_cFSOqKBlejqeB1VoqI3IoQtHFBctH6LMzN2o6kinevAScqffU/s320/formatform02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 304px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การกำหนดรูปแบบการแสดงผลของฟอร์ม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;5.เลือกที่แถบ Other&lt;/div&gt;&lt;div&gt;6.แก้ไขที่  ผุดขึ้น เป็น Yes  และ โมดอล เป็น Yes ตรางนี้หมายความว่า เวลาเปิดฟอร์มนี้ให้ผุดขึ้นมาอยู่ลำดับหน้าสุดของการทำงานในโปรแกรม และให้ทำงานได้เฉพาะกับฟอร์มนี้เท่านั้น&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;หลังจากเปลี่ยนแปลงและแก้ไขเสร็จ ก็เช่นเคย คือทำการบันทึกฟอร์ม แล้วก็ทดลองปิดเปิดฟอร์มนี้ใหม่&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmKANPi9ftBPwYwz8KaAeA-LQe7utjW7ujp50TAZobJwrm7N9XK2fmeBYBk-4vGjoO8D5OFi_PBrMsHGTFHgHPIFnhi2IFTilyOzAkKh-t6qA38gPJwGp-lZnErI5xaHT9mqIOZrA8QPY/s1600/formatform03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626527560686401266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmKANPi9ftBPwYwz8KaAeA-LQe7utjW7ujp50TAZobJwrm7N9XK2fmeBYBk-4vGjoO8D5OFi_PBrMsHGTFHgHPIFnhi2IFTilyOzAkKh-t6qA38gPJwGp-lZnErI5xaHT9mqIOZrA8QPY/s320/formatform03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 230px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
ภาพที่ 3 การกำหนดรูปแบบการแสดงผลของฟอร์ม&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;7.นี่ก็เป็นหน้าตาของฟอร์มที่เรากำหนดค่าการแสดงผลให้เสร็จเรียบร้อยแล้วครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;เจอกันในตอนต่อไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5638188927675581540/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5638188927675581540' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5638188927675581540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5638188927675581540'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/form.html' title='กำหนดการแสดงผลของฟอร์ม'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19ZBjAUqcfSCPQa6tEQAdfAT6gUj6p6j2zXXo7jgKubUauubZsNnkK43MFFRj8nepLM4l3Z6kEqK26Ra4iYqP-8NHY9JEY-hJyQjO3E4PRcmz0FRRFBS1chxSe2ybcErUfcj81bcA2tw/s72-c/formatform01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-309269561135285224</id><published>2011-05-04T15:28:00.001+07:00</published><updated>2011-07-19T11:03:06.627+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>การกำหนดรูปแบบวันที่ (Date Time)</title><content type='html'>&lt;div&gt;วันนี้เรามาตกแต่งรายละเอียดของฟอร์มบันทึกข้อมูลลูกค้า เพิ่มเติมเล็กน้อย เราจะมากำหนดรูปแบบการแสดงผลของวันที่ รูปแบบการป้อนวันที่ และกำหนดค่าเริ่มต้นให้กับวันที่ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;การทำงานดังที่กล่าวมาข้างต้นนี้ จะเป็นการทำงานกับฟอร์มในมุมมองออกแบบครับ คิดว่าคงจะเปิดมุมมองออกแบบของฟอร์มเป็นกันแล้วนะครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626524995730085602&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTXkv4rX1NGRXKxqW1VC4vXHuTRFarc-iSmAY_06Bd-ULlk3vjR4pBSLS_hY0BFzBQqtndn5mFw_Z7INzJ3iQn75fRHVfDKiFB-9v4Z9WAy0wnZOgceGQoYqUS2iQMVny14WAxO1934Aw/s320/dattime01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 281px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การกำหนดรูปแบบ วัน เวลา (Format Date Time)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.เริ่มจากเปิดฟอร์มในมุมมองออกแบบ คลิ๊กเลือกที่ช่องของวันที่บันทึก (ดูตามภาพที่ 1 ประกอบครับ) &lt;/div&gt;&lt;div&gt;2.คลิ๊กเลือกที่แทบ Data&lt;/div&gt;&lt;div&gt;3.แก้ไขที่ รูปแบบการป้อนข้อมูล เป็น 00/00/0000 หมายความว่า เวลาเราป้อนข้อมูลวันที่ จะต้องป้อนเป็น วันที่ สองหลัก เช่นวันที่ 1 ก็ป้อนเป็น 01 เป็นต้น ช่องเดือนก็เหมือนกัน ส่วนช่อง พ.ศ. ป้อนเป็น 4 หลักครับ เพื่อที่ผู้ใช้จะได้ไม่ป้อนข้อมูลผิดพลาด และเวลาเราดึงข้อมูลไปทำรายงานการคำนวณวันเวลาของโปรแกรมจะได้ถูกต้อง&lt;/div&gt;&lt;div&gt;4.กำหนดค่าเริ่มต้นให้กับวันที่ ในที่นี้เราจะกำหนดเป็นวันเวลาปัจจุบัน(ตามที่ windows ในเครื่องกำหนด) รูปแบบการพิมพ์คำสั่งคือ Date() เท่านี้เราก็จะได้วันที่เป็นปัจจุบันโดยที่เราไม่ต้องมาป้อนข้อมูลวันที่เองครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAkCA9ku2En1DzlAqLDmle4nrj2FS7ek0IcMFi_Zi5BGUY0ceh4vlQUN8bz8YGNYUb8DX83BGHkgCh3EhrCcIk3ify3IC5leY8FjVPnDrKRSBLfPza5jHdKYvDLpVn8VqRa4dtsQZ83cI/s1600/dattime02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626524990973880354&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAkCA9ku2En1DzlAqLDmle4nrj2FS7ek0IcMFi_Zi5BGUY0ceh4vlQUN8bz8YGNYUb8DX83BGHkgCh3EhrCcIk3ify3IC5leY8FjVPnDrKRSBLfPza5jHdKYvDLpVn8VqRa4dtsQZ83cI/s320/dattime02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 309px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การกำหนดรูปแบบ วัน เวลา (Format Date Time)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;5.หลังจากเสร็จจากขั้นตอนที่ 4 แล้วเราก็มาเลือกที่แทบ Format&lt;/div&gt;&lt;div&gt;6.คลิ๊กเลือกที่รูปแบบ โปรแกรมก็จะขึ้นรูปแบบการแสดงผลของวันที่ผ่านฟอร์ม เราก็เลือกได้เลยว่าต้องการให้ฟอร์มแสดงวันที่แบบใหน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;เมื่อทำเสร็จทุกขั้นตอนแล้ว ก็ทำการบันทึกฟอร์ม และปิดลองเปิดใหม่ดูก็จะเห็นความเปลียนแปลงของรูปแบบวันที่ที่เรากำหนดครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/309269561135285224/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/309269561135285224' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/309269561135285224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/309269561135285224'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/05/date-time.html' title='การกำหนดรูปแบบวันที่ (Date Time)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTXkv4rX1NGRXKxqW1VC4vXHuTRFarc-iSmAY_06Bd-ULlk3vjR4pBSLS_hY0BFzBQqtndn5mFw_Z7INzJ3iQn75fRHVfDKiFB-9v4Z9WAy0wnZOgceGQoYqUS2iQMVny14WAxO1934Aw/s72-c/dattime01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-4174937726059590091</id><published>2011-04-05T15:16:00.002+07:00</published><updated>2011-07-19T11:03:06.631+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Code"/><category scheme="http://www.blogger.com/atom/ns#" term="การเขียน Code Access Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="คำสั่ง Access"/><title type='text'>การเขียน Code Access Basic</title><content type='html'>ในบทนี้ผมจะพูดถึงการเขียน Code Visual Basic เพื่อใช้ในการสั่งการให้เมนฟอร์ม (main_frm) เมื่อเปิดการใช้งานให้มีขนาดขยายเต้มหน้าจอคอมพิวเตอร์เสมอ&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ในการทำงานเขียน Event หรือ เขียน Code คำสั่งในการทำงานโดยที่เราไม่ต้องไปสร้างแมโคร จะสะดวกรวดเร็วกว่าการสร้างแมโครอีก แต่ก็มีข้อจำกัดในการใช้งานหลายอย่าง ส่วนหน้าที่การใช้งานคล้ายกับแมโคร บางอย่างแมโครทำไม่ได้ การเขียนโค๊ดทำได้ บางอย่างการเขียนโค๊ดทำยาก เราก็ใช้แมโครทำแทนซะเลย อะไรประมาณนี้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;บางครั้งการเขียนโค๊ดอาจเหมาะสำหรับผู้ที่มีความรู้ทางด้าน Visual Basic แต่ผมก็ไม่เคยเรียน Visual Basic มาหรอกครับ ก็เรียนรู้จากประสบการณ์จริง ลองผิดลองถูกมาหลายปี จนทำเป็นบ้าง ซึึ่งการทำงานนี้จะทำงานร่วมกับฟอร์มซะเป็นส่วนใหญ่ครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625780930498325970&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhckr0E_TzPQXqdjCrrbuKNHu01sLB8qUnX6PGd7DkpfFSwt7ZObSsoTBHynjGCl11kCEcauLGA6HvsNXSWkl3xy7h-2PkydKcw2F4O-YBisMdIsLvROt4LeZyKDZjTC1UxgEvsealkxIw/s320/code01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 221px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การเขียน Code Access Basic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.ไปที่ฟอร์ม&lt;/div&gt;&lt;div&gt;2.เลือก Main_frm &lt;/div&gt;&lt;div&gt;3.เลือกมุมมองออกแบบ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtPbEpKsjFCGtlfmul8PHzEIQVVBORpxGy-p2uTlUp3tIlNhKYh0dKMb6Ef28eWD0H7ZbgmdSpr3LeSjSLGosGUIHr7KuY8O_ERGNWDI8EpbUQ0pEgitFCoplIjFODzHv1MEhNhfpgWwc/s1600/code02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625780924648594850&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtPbEpKsjFCGtlfmul8PHzEIQVVBORpxGy-p2uTlUp3tIlNhKYh0dKMb6Ef28eWD0H7ZbgmdSpr3LeSjSLGosGUIHr7KuY8O_ERGNWDI8EpbUQ0pEgitFCoplIjFODzHv1MEhNhfpgWwc/s320/code02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 265px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การเขียน Code Access Basic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;4.เลือกที่แถบ Event แล้วเลือกที่ &quot;เมื่อเปิด&quot; เลือก Event Procedure ดูภาพที่ 2 ประกอบ&lt;/div&gt;&lt;div&gt;5.เลือกปุ่ม ... จุดสามจุดดังภาพที่ 2 ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLpG0WZAHnpepAE7M_woSnevK0Ir1JOp3TlVrHANElBDCfN0m6h9LkmaU_ze5RkWBlLmb3RBld_6NKtkZWw2szYk1FQd0j24fkaVg5TS3EorOx6VTQCBk_YUczu8VqLOeWzkHVpOsLubs/s1600/code03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625780920046455874&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLpG0WZAHnpepAE7M_woSnevK0Ir1JOp3TlVrHANElBDCfN0m6h9LkmaU_ze5RkWBlLmb3RBld_6NKtkZWw2szYk1FQd0j24fkaVg5TS3EorOx6VTQCBk_YUczu8VqLOeWzkHVpOsLubs/s320/code03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 217px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
ภาพที่ 3 การเขียน Code Access Basic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;6.เมื่่อเราทำตามขั้นตอนที่ผ่านมาแล้วเราก็จะได้หน้าต่างต่อมาตามภาพที่ 3 ในหน้าต่างนี้เราก็ทำการเขียนโค๊ดได้เลย&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;7.พิมพ์คำสั่งว่า DoCmd.Maximize&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;วิธีการพิมพ์ให้เว้นวรรค(Spac Bar) สักหนึ่งหรือสองวรรค แล้วพิมพ์ DoCmd. หลังจากเราใส้จุดโปรแกรมจะขึ้นคำสั่งที่เป็นตัวเลือกให้เราเลือกเลย เราเพียงแค่พิมพ์พญัญชนะตัวแรกของคำสั่งที่เราต้องการเท่านั้น แล้วก็เลือกได้เลย เลือกเสร็จก็กดแป้น Tab ที่ Keyboard ได้เลย คำสั่งที่เราเลือกจะขึ้นให้เลย หลังนั้นก็กด หนึ่งเอ็นเตอร์ิ แล้วก็มากดปุ่ม Save แล้วปิดหน้าต่างนี้เลย เป็นอันเสร็จสิ้นการเขียน Code อย่างง่ายครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ลองปิดโปรแกรม Access ทั้งหมด แล้วเปิดใหม่ดูว่าผลจะเป็นยังไง หาไม่ได้หรือผิดพลาดก็ปรึกษาผมได้ทาง webboard นะครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/4174937726059590091/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/4174937726059590091' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/4174937726059590091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/4174937726059590091'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/05/code-access-basic.html' title='การเขียน Code Access Basic'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhckr0E_TzPQXqdjCrrbuKNHu01sLB8qUnX6PGd7DkpfFSwt7ZObSsoTBHynjGCl11kCEcauLGA6HvsNXSWkl3xy7h-2PkydKcw2F4O-YBisMdIsLvROt4LeZyKDZjTC1UxgEvsealkxIw/s72-c/code01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-838445346759540490</id><published>2011-03-11T09:22:00.003+07:00</published><updated>2011-07-19T11:03:06.634+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Macro"/><category scheme="http://www.blogger.com/atom/ns#" term="menubar"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างมาโคร"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="เมนูคำสั่ง access"/><category scheme="http://www.blogger.com/atom/ns#" term="แถบเมนูบาร์"/><title type='text'>การสร้างแถบเมนูบาร์ (Menu Bar) 3</title><content type='html'>ขั้นตอนนี้จะเป็นการทำงานกับฟอร์มหลัก(Main_frm) ที่เราได้สร้างไว้แล้วในบทที่ผ่านมา ต่อจากนี้เราต้องกับมาทำงานกับฟอร์หลักอยู่เรื่อยๆ จนทำให้ท่านคร่องในการเข้าไปที่โหมดคุณสมบัติของฟอร์ม เพื่อที่จะนำแมโครเมนูบาร์(Menubar) ที่เราสร้างไว้ มาใส่ในฟอร์มหลัก ครับ&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626047725775299986&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJp8nSBenYFAYXJSJaXgrpL-XMhATkhiYRr8P0e6kkqlm0PieKUpsswVy1B7zFLXkI0qQZNPvIilRSY-L0CfctNG3cWs4oh4s20mHUq_xCz2JM7wF-nWC66r6olG7Xf6AAhbzW1ohj-xc/s320/menubar01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 240px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 8 การทำเมนูบาร์กับฟอร์มหลัก(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;17.ทำการเลือกที่ main_frm แล้วเปิดในมุมมองออกแบบ (คงจำได้นะครับ สามารถกลับไปดูที่การสร้างฟอร์มก็ได้นะครับ) แล้วคลิ๊กขวาที่มุมซ้ายบนของฟอร์ม ดูภาพที่ 8 ประกอบครับ&lt;/div&gt;&lt;div&gt;18.เลือกที่คุณสมบัติของฟอร์ม&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bdZLGaHDW34l3sVvczYobPo5SkixdxO6YkGuL9snMWoDQzAKQwZN5UPiuDVxVj0V8sXee4V5podmA0tQ7TM_vJmaJoFpQ3A2CA20HfN5cDD1Ywp5jkFm5eDuG7Fu86h38oDr-VsL91k/s1600/menubar02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626047724143378626&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bdZLGaHDW34l3sVvczYobPo5SkixdxO6YkGuL9snMWoDQzAKQwZN5UPiuDVxVj0V8sXee4V5podmA0tQ7TM_vJmaJoFpQ3A2CA20HfN5cDD1Ywp5jkFm5eDuG7Fu86h38oDr-VsL91k/s320/menubar02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 304px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 9 การทำเมนูบาร์กับฟอร์มหลัก(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;19.เลือกที่แถบ Other ตามภาพที่ 9 ประกอบครับ&lt;/div&gt;&lt;div&gt;20.พิมชื่อแมโคร Menubar ที่เราสร้างไว้แล้วจากตอนที่ผ่านมา ในช่องแถบเมนู ดูภาพที่ 9 ประกอบครับ จากนั้นก็ทำการ Save และปิดฟอร์มหลักได้เลย  เป็นอันเสร็จสิ้นการทำเมนูบาร์ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWvX7X6gFBn7pnyntRj89br1lS1DCbHfg_hGfq7z6JhCv8t-MNmx-98iKixEkEzg20wzXNxW-XJB_dtIcNKa200yJ9n9EbT1csgyOJYWMxe3L0o2Nxola-pmbiyvStCj_ULkk4g6yKDBE/s1600/menubar03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5626047721606830370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWvX7X6gFBn7pnyntRj89br1lS1DCbHfg_hGfq7z6JhCv8t-MNmx-98iKixEkEzg20wzXNxW-XJB_dtIcNKa200yJ9n9EbT1csgyOJYWMxe3L0o2Nxola-pmbiyvStCj_ULkk4g6yKDBE/s320/menubar03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 240px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 10 การทำเมนูบาร์กับฟอร์มหลัก(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;21.ภาพนี้เป็นภาพตัวอย่างที่เราได้สร้างเสร็จแล้วครับ แถบบนคือแมโคร menubar&lt;/div&gt;&lt;div&gt;22.แถบล่างคือ แมโคร menuopencustomer ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Tip:เราสามารถนำแมโครเมนูบาร์ไปใส่ในฟอร์มทุกฟอร์มที่เราสร้า่งขึ้นได้เลยนะครับ โดยทำเหมือนกับขั้นในหน้านี้ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ผมหวังว่าท่านคงจะสร้างเมนูบาร์ให้โปรแกรมเป็นแล้วนะครับ คอยติดตามการเขียนโปรแกรม Access ได้ใบบทต่อๆ ไปครับ และขอขอบคุณทุกท่านที่ให้การสนันสนุนเวบเราครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/838445346759540490/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/838445346759540490' title='1 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/838445346759540490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/838445346759540490'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/03/menu-bar-3.html' title='การสร้างแถบเมนูบาร์ (Menu Bar) 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJp8nSBenYFAYXJSJaXgrpL-XMhATkhiYRr8P0e6kkqlm0PieKUpsswVy1B7zFLXkI0qQZNPvIilRSY-L0CfctNG3cWs4oh4s20mHUq_xCz2JM7wF-nWC66r6olG7Xf6AAhbzW1ohj-xc/s72-c/menubar01.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-6883981830435518379</id><published>2011-03-06T16:05:00.003+07:00</published><updated>2011-07-19T11:03:06.640+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Macro"/><category scheme="http://www.blogger.com/atom/ns#" term="menubar"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างมาโคร"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="เมนูคำสั่ง access"/><category scheme="http://www.blogger.com/atom/ns#" term="แถบเมนูบาร์"/><title type='text'>การสร้างแถบเมนูบาร์ (Menu Bar) 2</title><content type='html'>&lt;div&gt;การสร้างแมโครเพื่อทำเมนูบาร์ ตอนต่อจากบทที่แล้วครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;มาถึงขั้นตอนการสร้างเมนูหลักให้โปรแกรมครับ ที่เราทำผ่านไปเมื่อกี้คือการสร้างสับเมนู(Sub Menu Bar) เป็นเมนูย่อยของเมนูหลักอีกทีครับ ก็มาเริ่มขั้นตอนการสร้างแมโครเมนูหลักครับ ทำซ้ำเหมือนที่การสร้างแมโครที่เราทำที่ผ่านมาครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625777303521729538&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBGafWjRcg8iVI8XMOUxL3sKWk1oV7ibnXirStiuTT1VsF4LyuXdz3t4x4LC8UmOnJrOpiilAfXtH8UxH_suj_28O7qDlyNJCzPX_fCgA4WQQcHlK8y3oMQum-DzRtkNvzyglGkMyFUxM/s320/macro04.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 284px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 4 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;9.เลือกที่แมโคร&lt;/div&gt;&lt;div&gt;10.เลือกที่ปุ่มสร้างแมโคร&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9pODJsINzlV0obGMvZi9JyNCNXEfl-_HwHy9kp6bFPUOJ2snc1rHJDOW8yEtZDH1yufzvwgFOPzM4ti58z_HiC9DbN88ZZSxGtcUaKYvaaji9Mal1Dnzf9x8QipCjeUbXms-hw4XDJp0/s1600/macro05.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625777299707561762&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9pODJsINzlV0obGMvZi9JyNCNXEfl-_HwHy9kp6bFPUOJ2snc1rHJDOW8yEtZDH1yufzvwgFOPzM4ti58z_HiC9DbN88ZZSxGtcUaKYvaaji9Mal1Dnzf9x8QipCjeUbXms-hw4XDJp0/s320/macro05.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 278px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 5 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;11.เลือกที่ action ที่คำสั่งว่า AddMenu ตามภาพที่ 5 ประกอบครับ&lt;/div&gt;&lt;div&gt;12.ตั้งชื่อเมนูว่า &quot;แฟ้ม&quot; หรือชื่ออะไรก็ได้ตามที่ท่านอ่านแล้วเข้าใจ ชื่อนี้จะไปปรากฏที่แถบบาร์ด้านบนของโปรแกรม&lt;/div&gt;&lt;div&gt;13.เลืิอกชื่อแมโครที่เราจะให้ทำงาน(Run Macro) ในที่นี้ก็เลือกแมโครที่เราได้สร้างไว้แล้วคือ แมโคร MenuOpenCustomer ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXg0XrtImEFEO3kVmjjklQVXXHu0tDIZenMK3mYhYCfTXqAWpxTQ-XsqytVO9AseSyXWh6DN_SoUzsys-a5GsplOmeZ8ERCrZtNyv-AkI3gkTsZtCKVWCjiI1az_XNEdXuhL6oGwb1Fdo/s1600/macro06.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625777293045785458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXg0XrtImEFEO3kVmjjklQVXXHu0tDIZenMK3mYhYCfTXqAWpxTQ-XsqytVO9AseSyXWh6DN_SoUzsys-a5GsplOmeZ8ERCrZtNyv-AkI3gkTsZtCKVWCjiI1az_XNEdXuhL6oGwb1Fdo/s320/macro06.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 280px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 6 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;14.จากนั้นก็ทำการบันทึก(Save as) เป็นชื่อเมนูหลัก &quot;Menubar&quot;&lt;/div&gt;&lt;div&gt;15.กดที่ปุ่มตกลง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc0vsou_j0jElJsyno1ykh0cbFffmD-Op89Y-ntGSidJFbE_xyEBpgeGjFccuwKGUUzrB-PjTiq5fcMT4_gOWkG8mcl4YoDNkgXT28M4kc-u_1eIdIgtPo49B7F3notu9pcWgf_5RF7sU/s1600/macro07.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625777290612142738&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc0vsou_j0jElJsyno1ykh0cbFffmD-Op89Y-ntGSidJFbE_xyEBpgeGjFccuwKGUUzrB-PjTiq5fcMT4_gOWkG8mcl4YoDNkgXT28M4kc-u_1eIdIgtPo49B7F3notu9pcWgf_5RF7sU/s320/macro07.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 231px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 7 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
16.เป็นภาพตัวอย่างเมื่อเราสร้่างเมนูบาร์เสร็จแล้วครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ขอโทษครับลืมอีกหนึ่งขั้นตอน คิดว่าตอนนี้เมนูบาร์ของท่านยังไม่ขึ้นใช่ไหมครับ ดูหัวข้อ การสร้างแมโครทำเมนูบาร์ตอนสามครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ขอบคุณทุกท่านที่เยี่ยมชมและสนันสนุนพันธมิตรของเวบไซต์เรานะครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/6883981830435518379/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/6883981830435518379' title='1 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6883981830435518379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/6883981830435518379'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/03/menu-bar-2.html' title='การสร้างแถบเมนูบาร์ (Menu Bar) 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBGafWjRcg8iVI8XMOUxL3sKWk1oV7ibnXirStiuTT1VsF4LyuXdz3t4x4LC8UmOnJrOpiilAfXtH8UxH_suj_28O7qDlyNJCzPX_fCgA4WQQcHlK8y3oMQum-DzRtkNvzyglGkMyFUxM/s72-c/macro04.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-7195930733378662831</id><published>2011-03-05T16:00:00.002+07:00</published><updated>2011-07-19T11:03:06.644+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Macro"/><category scheme="http://www.blogger.com/atom/ns#" term="menubar"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างมาโคร"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="เมนูคำสั่ง access"/><category scheme="http://www.blogger.com/atom/ns#" term="แถบเมนูบาร์"/><title type='text'>การสร้างแถบเมนูบาร์ (Menu Bar) 1</title><content type='html'>&lt;div&gt;การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar) ตอนแรก&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ทุกท่านก็คงจะทราบแล้วว่าแมโครมีหน้าที่อย่างไรบ้าง ซึ่งนอกจากจะสร้างตามขั้นตอนที่โปรแกรมกำหนดมาให้แล้ว (Wizard) เรายังสามารถสร้างแมโครขึ้นมาเพื่อใช้เป็นคำสั่งให้แต่ละการทำงานของโปรแกรมง่ายมากขึ้น มาเริ่มทำของจริงกันเลยแล้วกันครับ ท่านจะได้เข้าใจจากการทำจริง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625775700581392626&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBVJ6vW-oQh-8dT3I7_cxFOdr7BIPyFMhPGcQM_wEgP0q5g2ueh5gU6b3BUGEMu5e5-mEsmrBiijdgNHXg05s9TJP2Q7pRYgkCr6Ur31ekXIoocHnRT9GWjdDCry5hXvQ9yX7vpzFcpqc/s320/macro01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 258px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.เลือกที่แมโคร&lt;/div&gt;&lt;div&gt;2.เลือกที่ปุ่มสร้าง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMdXeQjV-1PcEP9m1eMeSa9EQI6kAldbwf_JwLx1gPGs7bCqa1vIU7MYQAiYYsPMIUjMUMhekMf1ht7ruZAOx0Ojh-wBxfZEhX4O_AVkO5366_hYNkzY7HVnzCEiGsgKBGz_5LgNpbVFQ/s1600/macro02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625775695110463138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMdXeQjV-1PcEP9m1eMeSa9EQI6kAldbwf_JwLx1gPGs7bCqa1vIU7MYQAiYYsPMIUjMUMhekMf1ht7ruZAOx0Ojh-wBxfZEhX4O_AVkO5366_hYNkzY7HVnzCEiGsgKBGz_5LgNpbVFQ/s320/macro02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 262px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;3.เมื่่อเราทำการเลือกที่ปุ่มสร้างตามขั้นตอนที่ 2 แล้ว เราก็จะได้หน้าต่างมุมมองออกแบบแมโคร ดูตามภาพที่ 2 ประกอบครับ หลังจากนั้นก็กดที่ปุ่มชื่อแมโคร ครับ&lt;/div&gt;&lt;div&gt;4.พิมพ์ชื่อแมโครที่ช่องตามภาพที่ 2 &quot;บันทึกข้อมูลลูกค้า&quot; ชื่่อนี้จะไปแสดงมี่เมนูบาร์ครับ&lt;/div&gt;&lt;div&gt;5.เลือกแอคชั่น (action) คื่อเลือกว่าจะให้แมโครนี่ทำอะไรนั่นเอง ในที่นี้เราเลือกที่แอคชั่น openform&lt;/div&gt;&lt;div&gt;6.เลือกชื่อฟอร์มที่จะเปิดมาเพื่อทำงานครับ ในที่นี้ก็เลือกฟอร์ม &quot;Customer_frm&quot; ที่เราได้สร้างไว้เล้ว&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqo9Y5bj8cnePf-jwiMcmydtz1EuLCfZTMwPYGXlOV9llfqU2ZfyZnrtdUVLEfPwj_w30wsr6OLSHhWdntNdNqt25chyphenhyphenhuUCavNP8rYeRzAOI_bQNCvkM_dClUlSV5MuDTdlrvZoSmDK0/s1600/macro03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625775693465989682&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqo9Y5bj8cnePf-jwiMcmydtz1EuLCfZTMwPYGXlOV9llfqU2ZfyZnrtdUVLEfPwj_w30wsr6OLSHhWdntNdNqt25chyphenhyphenhuUCavNP8rYeRzAOI_bQNCvkM_dClUlSV5MuDTdlrvZoSmDK0/s320/macro03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 275px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 3 การสร้างแมโคร(Macro)เพื่อทำเมนูบาร์ (Menu Bar)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;7.หลังเสร็จขั้นตอนที่แล้วก็ทำการตั้งชื่อแมโครได้เลยครับ การตั้งชื่อก็ให้ท่านตั้งเป็นภาษาอังกฤษนะครับ และให้ตั้งชื่อที่สื่อความหมายกับการทำงานของแมโครโดยตรง ไม่เกี่ยงว่าจะสั้นหรือยาว ขอเพียงในระยะยาวเวลาเรามาแก้ไขโปรแกรมเราจะได้จำได้ เพราะแมโครไม่ได้มีแมโครเดียว เขียนโปรแกรมไปเรื่อยๆ ทุกอย่างก็จะเยอะขึ้นเรื่อยๆแน่นอนครับ แมโครนี่ผมตั้งชื่อว่า &quot;MenuOpenCustomer&quot;&lt;/div&gt;&lt;div&gt;8.เลือกปุ่มตกลงครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;มาถึงตรงนี้ก็เสร็จไปอีกหนึ่งแมโครแล้วครับ แต่ยังไม่เสร็จขั้นตอนการสร้างเมนูบาร์นะครับ ติดตามหน้าต่อไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/7195930733378662831/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/7195930733378662831' title='3 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7195930733378662831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7195930733378662831'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/03/menu-bar-1.html' title='การสร้างแถบเมนูบาร์ (Menu Bar) 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBVJ6vW-oQh-8dT3I7_cxFOdr7BIPyFMhPGcQM_wEgP0q5g2ueh5gU6b3BUGEMu5e5-mEsmrBiijdgNHXg05s9TJP2Q7pRYgkCr6Ur31ekXIoocHnRT9GWjdDCry5hXvQ9yX7vpzFcpqc/s72-c/macro01.JPG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5879107402390171046</id><published>2011-03-05T12:34:00.001+07:00</published><updated>2011-07-19T11:03:06.647+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Macro"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างมาโคร"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>มารู้จักกับแมโคร (Macro) กันครับ</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt4wv9vwiz7Y2FBopQ2xe03Aj8LjupzTZ1__E9txHSjycvQFecJgLqqb8O93bztqXFXdbCjO7Un8zmAxw4bEpn_qeeOXhTdJM3eA-0358XsmaHw-XWGamwzMxLdKjUtAs794cZCsMQmg/s1600/macro.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625723691839990066&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt4wv9vwiz7Y2FBopQ2xe03Aj8LjupzTZ1__E9txHSjycvQFecJgLqqb8O93bztqXFXdbCjO7Un8zmAxw4bEpn_qeeOXhTdJM3eA-0358XsmaHw-XWGamwzMxLdKjUtAs794cZCsMQmg/s320/macro.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 208px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;ในบทเรียนที่ผ่านมา  เข้าใจว่าทุกท่านคงจะเริ่มเขียนโปรแกรมฐานข้อมูลจากโปรแกรม Microsoft Access เป็นกันบ้างแล้ว เริ่มตั้งแต่การสร้างตารางฐานข้อมูล (database) การสร้างฟอร์มรับข้อมูล การสร้างเมนฟอร์ม คือฟอร์มหน้าตาของโปรแกรมเรานั่นเอง มาถึงบทนี้ผมจะพาท่านให้รู้จักกับหน้าที่ของมาโคร(Macro) การทำงานของแมโคร เพราะว่าต่อไปเราจะัใช้มาโครมาร่วมทำงานกับฟอร์มค่อนข้างเยอะมากขึ้นเรื่อยๆนะครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Macro คือ ชุดคำสั่งสำเร็จรูป เพื่อใช้ในการสั่งงานโปรแกรมให้ทำตามคำสั่งต่างๆ ตามที่เราต้องการหรือให้เป็นอัตโนมัติมากขึ้น โดยที่เราไม่ต้องไปเขียนโค๊ดให้มันยุ่งยาก เช่นการทำเมนูบาร์ การสั่งให้เปิด ปิด ฟอร์ม หรือรายงาน  เป้นต้น ซึ่งการเขียนแมโครหนึ่งมาโครสามารถนำไปใช้ได้หลายครั้ง เช่นเราเขียนมาโครสั่งให้เมื่อเปิดฟอร์มแล้วให้ฟอร์มนั้นขยายขนาดเต็มหน้าจอคอมพิวเตอร์เสมอ เราก็สามารถที่จะนำมาโครนี้ ไปใช้กับฟอร์มอื่นๆ ได้อีกด้วย โดยที่ไม่ต้องเขียนแมโครที่ทำงานเหมือนกันซ้ำๆ ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;การเข้าใช้งานแมโคร(Macro)&lt;/div&gt;&lt;div&gt;(ดูภาพข้าบประกอบก็ได้ครับ)&lt;/div&gt;&lt;div&gt;1.คลิ๊กเลือที่แมโคร (macro)&lt;/div&gt;&lt;div&gt;2.แลือกที่ปุ่มสร้างแมโครได้เลย&lt;/div&gt;&lt;div&gt;3.จากนั้นก็จะเริ่มเข้าสู่การสร้างแมโครเลย&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ติดตามการเขียนมาโครใช้กับฟอร์มในตอนต่อไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5879107402390171046/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5879107402390171046' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5879107402390171046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5879107402390171046'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/macro.html' title='มารู้จักกับแมโคร (Macro) กันครับ'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVt4wv9vwiz7Y2FBopQ2xe03Aj8LjupzTZ1__E9txHSjycvQFecJgLqqb8O93bztqXFXdbCjO7Un8zmAxw4bEpn_qeeOXhTdJM3eA-0358XsmaHw-XWGamwzMxLdKjUtAs794cZCsMQmg/s72-c/macro.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5607780576808182175</id><published>2011-02-14T15:25:00.002+07:00</published><updated>2011-07-19T11:01:47.749+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="คำสั่ง Access"/><category scheme="http://www.blogger.com/atom/ns#" term="เมนูคำสั่ง access"/><title type='text'>การตั้งค่าฟอร์มเริ่มต้นโปรแกรม MS Access</title><content type='html'>การตั้งค่าฟอร์มในการเริ่มต้นโปรแกรม Microsoft Access&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ทำไมเราจึงตั้งค่าฟอร์มเริ่มต้นของโปรแกรม ครับสาเหตุที่เราต้องตั้งค่านี้เพราะผู้เขียนโปรแกรม(Programmer) ต้องการจะให้ผู้ใช้โปรแกรม(User Program) สามารถเปิดเข้าโปรแกรมมาแล้วมีปุ่ม หรือเมนูที่ผู้ใช้สามารถเข้าใจการใช้โปรแกรมได้อย่างง่ายดาย ซึ่งผู้ใช้โปรแกรมนี้ จะไม่สามารถมองเห็นฐานข้อมูลได้โดยตรง แต่จะเห็นเพียงหน้าตาโปรแกรมที่ Programmer เขียนขึ้นอย่างสวยงามและน่าใช้&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625395556483442978&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiLNMdQXhCV2a-_ghfE2ypXCnCAsggyISwh4-vGU5P1QYcnVS6q2Ut9ef0nm4BMgOamU4bEWWfVaI64kd_iC2dfBSopAgDcucvwQ9B2fSPYH3isuIq_4DPcd0vig0h4LqS3Y1xf12YrKs/s320/begineprogram01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 206px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การตั้งค่าฟอร์มเริ่มต้นโปรแกรม MS Access&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.ไปที่เมนูบาร์ (Menu Bar) เลือกที่แถบเครื่องมือ&lt;/div&gt;&lt;div&gt;2.เลือกที่แถบเริ่มต้น ดูภาพที่ 1 ประกอบครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGLy-JLoWtUnfOcHFLMrrPoBX5MvPw8cPLvEy1OJMOrXeow2D24j8hjVFP0bOwGmAR7wHe0m3ywAVS6pWt38J0Cidua-5cEJdds5h-EFPdq38Wq1nOQQHQA-ovRprY-W_TFn7O-BVvkk/s1600/begineprogram02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625395548572399266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGLy-JLoWtUnfOcHFLMrrPoBX5MvPw8cPLvEy1OJMOrXeow2D24j8hjVFP0bOwGmAR7wHe0m3ywAVS6pWt38J0Cidua-5cEJdds5h-EFPdq38Wq1nOQQHQA-ovRprY-W_TFn7O-BVvkk/s320/begineprogram02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 158px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
ภาพที่ 2 การตั้งค่าฟอร์มเริ่มต้นโปรแกรม MS Access&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;3.หลังจากที่ทำตามขั้นตอนที่ 1 และ 2 แล้วเราจะได้ดังภาพที่ 2 ก็จะเข้าสู่ขั้นตอนที่ 3 ลำดับแรกคือเราจะต้องตั้งชื่อโปรแกรมที่เราเขียนขึ้นตามใจท่านนะครับจะตั้งว่าอย่างไร ในที่ผมตั้งว่า &quot;โปรแกรมขายสินค้าหน้าร้าน&quot;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;หลังจากนั้นก็มาตั้งค่าแถบเมนูบาร์ ในตอนแรกที่เขียนโปรแกรมยังไม่เสร็จก็เลือกใส่เครื่องหมายถูกไว้ทุกค่าก่อนก็ได้ครับ เพราะว่าเราจำเป็นต้องใช้อยู่ ซึ่งการตั้งค่าตรงนี้ก็มีอยู่ 3 แบบดังนี้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;- อนุญาตให้ใช้เมนูแบบเต็ม คือใช้งานได้ทุกเมนูคำสั่ง เหมาะสำหรับผู้เขียนโปรแกรม&lt;/div&gt;&lt;div&gt;- อนุญาตให้ใช้เมนูทางลัดเริ่มต้น จะเหมาะกับผู้ใช้โปรแกรมที่ผู้เขียนโปรแกรมยอมให้แก้ไขโปรแกรมได้บางส่วน&lt;/div&gt;&lt;div&gt;- ใช้แป้นพิเศษของ Access เป็นชุดคำสั่งในรูปแบบของ การเขียน CODE โปรแกรมครับ (ผมจะขอข้ามไป อาจจะอธิบายเพิ่มเติมในภายหลังครับ)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;4.เลือกชื่อฟอร์มที่จะแสดง หมายความว่าเมื่อเปิดโปรแกรมนี้ขึ้นมา ก็ให้ขึ้นฟอร์มที่เรากำหนดไว้เลย ในที่นี้ผมจะตั้งเป็น Main_frm คือฟอร์ที่เราสร้างไว้ในการเริ่มต้นโปรแกรมนั่นเอง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;เรายังสามารถที่จะเลือกได้ว่าจะให้แสดงหน้าต่างฐานข้อมูลหรือไม่ แนะนำให้ติ๊กเครื่องหมายถูกไว้ก่อนถ้าเรายังเขียนโปรแกรมไม่เสร็จ เพราะถ้าไม่เลือกเวลาเปิดโปรแกรมมาจะมองไม่เห็นหน้าต่างฐานข้อมูล  ส่วนของแถบสถานะก็เลือกที่จะแสดงไว้เลยครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Tip:ปุ่มลัดในการเปิดหน้าต่างฐานข้อมูลคือ F11&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ในส่วนของตัวเลือกเมนูแถบทางลัดก็เลือกไว้ตามที่โปรแกรมกำหนดให้ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ติดตามได้อีในตอนต่อไปนะครับ วันนี้ เหนื่อยแล้ว&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5607780576808182175/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5607780576808182175' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5607780576808182175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5607780576808182175'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/02/ms-access.html' title='การตั้งค่าฟอร์มเริ่มต้นโปรแกรม MS Access'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiLNMdQXhCV2a-_ghfE2ypXCnCAsggyISwh4-vGU5P1QYcnVS6q2Ut9ef0nm4BMgOamU4bEWWfVaI64kd_iC2dfBSopAgDcucvwQ9B2fSPYH3isuIq_4DPcd0vig0h4LqS3Y1xf12YrKs/s72-c/begineprogram01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-786356543026008147</id><published>2011-02-04T12:40:00.002+07:00</published><updated>2011-07-19T11:01:27.636+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form) 2</title><content type='html'>การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form) ตอนที่ 2&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625352925975875890&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-avwIF_IvyiBU-QdFbzcRc-vRyw0wpbwYdjhseoflk0ZzLqnHwoPrVBOkPjL5uKpYTyztGoH8rT7NOp3_I26eO5DUMre_uIpB9bJHn6iDvbcSFZOM-IlLaYNhgpW-E50e9TimtzjOGWg/s320/formmain05.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 251px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 5 การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;12.เลือกที่คำสั่ง &quot;เปิดฟอร์มและแสดงระเบียนทั้งหมด&quot; หมายความว่าเมื่อฟอร์มนี้เปิดมาโปรแกรม(Ms Access Program) จะแสดงข้อมูลทั้งหมดในตารางข้อมูลที่เรามี แต่จะแสดงครั้งละข้อมูลเท่านั้น&lt;/div&gt;&lt;div&gt;13.เลือกที่ปุ่มถัดไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4K4ETPP8ivbSvDbiJGb7ZrBCL4i8TbB3yCDhsFcK4P0u0Ea9Jq-ellnjDkRxNU-qaqN6Oz3jJrNFdTIW-F2z4YtcLtW70RvZmDCdIJ_ekmFZhLYYES8nsXWDpcVN7QzlVCgH7kWlEimw/s1600/formmain06.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625352925486811810&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4K4ETPP8ivbSvDbiJGb7ZrBCL4i8TbB3yCDhsFcK4P0u0Ea9Jq-ellnjDkRxNU-qaqN6Oz3jJrNFdTIW-F2z4YtcLtW70RvZmDCdIJ_ekmFZhLYYES8nsXWDpcVN7QzlVCgH7kWlEimw/s320/formmain06.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 202px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 6 การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;14.มาถึงขั้นนี้โปรแกรมจะถามเราว่าต้องการชื่อปุ่มที่เป็นรูปภาพ หรือข้อความ ในที่นี้ผมจะเลือกแบบข้อความครับ หรือท่านจะเลือกแบบรูปภาพก็ได้ จากนั้นก็พิมพ์ชื่อปุ่มเปิดฟอร์ม Customer_frm ว่า &quot;บันทุกข้อมูลลูกค้า&quot; แล้วเลือกที่ปุ่มถัดไป&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVWl3AC1svprh8xcz49Zlu1LDve_wJk85qPlffnTWbqrl7tB9c9RW-DafEqYJGmM0JwI6t1ShvJ0i4_svY4BX1C7qIKQkz7wEThu2-lD6ih8jc95guqarDbiGI5sfMzS1SRasIV1lR4U0/s1600/formmain07.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625352909663242018&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVWl3AC1svprh8xcz49Zlu1LDve_wJk85qPlffnTWbqrl7tB9c9RW-DafEqYJGmM0JwI6t1ShvJ0i4_svY4BX1C7qIKQkz7wEThu2-lD6ih8jc95guqarDbiGI5sfMzS1SRasIV1lR4U0/s320/formmain07.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 203px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 7 การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;15.ในขั้นนี้โปรแกรมจะให้เราตั้งชื่อปุ่มครับ ให้เราตั้งตามที่เราเข้าใจก็ได้นะครับ และให้จำง่ายด้วย ในระยะยาวที่เขียนโปรแกรมไปให้เรามาอ่านชื่อปุ่มนี้แล้วเราจำได้หรือเข้าใจว่าปุ่มนี้คืออะไร เพราะว่าการเขียนโปรแกรมแต่ละโปรแกรมอาจใช้เวลานาน ในที่นี้ผมจะตั้งชื่อปุ่มว่า &quot;OpenCustomer&quot;&lt;/div&gt;&lt;div&gt;16.มาถึงตอนนี้ก็เสร็จสิ้นการสร้างปุ่มเปิดฟอร์มแล้วล่ะครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHJipBfa-xH_voOnQuQtfBBh-1V0f2K-9UaE5gxrVp86WJbA9ErN-puM9jxGZdm-2BV2Kzwfd3tn5QbLAT9iyWFOapDHww5jJFnla5aj1_hzoF0vANOxJUV8iYgpiEt1ZJjGn-zEaOzgU/s1600/formmain08.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625352901745674562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHJipBfa-xH_voOnQuQtfBBh-1V0f2K-9UaE5gxrVp86WJbA9ErN-puM9jxGZdm-2BV2Kzwfd3tn5QbLAT9iyWFOapDHww5jJFnla5aj1_hzoF0vANOxJUV8iYgpiEt1ZJjGn-zEaOzgU/s320/formmain08.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 254px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 8 การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;17.ทำการตั้งชื่อฟอร์ม ว่า Main_frm ตอบตกลงได้เลยครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzy5EMdbqATmrJEAj5_cjZNv-F3qsui-Eqa0aN241AIK_W72ls-Kud30rnBE-nZ0qaNcOab1dQyvXNBs9svC0z6szlO3-pRisbPwgrx0MLwluREKcXY2TpmaQbh5Pg0Jf99aFaDvHZMIA/s1600/formmain09.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625352894155430210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzy5EMdbqATmrJEAj5_cjZNv-F3qsui-Eqa0aN241AIK_W72ls-Kud30rnBE-nZ0qaNcOab1dQyvXNBs9svC0z6szlO3-pRisbPwgrx0MLwluREKcXY2TpmaQbh5Pg0Jf99aFaDvHZMIA/s320/formmain09.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 224px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
ภาพที่ 9 การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form)&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;หลังจากตั้งชื่อฟอร์มเสร็จก้ลองเปลี่ยนมุมมองของฟอร์มดูว่าถ้าเปิดใช้งานจริงเป็นยังไง ผมคิดว่าท่านคงได้หน้าตาฟอร์คล้ายๆผมนะครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/786356543026008147/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/786356543026008147' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/786356543026008147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/786356543026008147'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/main-form-2.html' title='การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form) 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-avwIF_IvyiBU-QdFbzcRc-vRyw0wpbwYdjhseoflk0ZzLqnHwoPrVBOkPjL5uKpYTyztGoH8rT7NOp3_I26eO5DUMre_uIpB9bJHn6iDvbcSFZOM-IlLaYNhgpW-E50e9TimtzjOGWg/s72-c/formmain05.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5010216948372803255</id><published>2011-02-04T12:17:00.002+07:00</published><updated>2011-07-19T11:01:00.552+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form) 1</title><content type='html'>&lt;div&gt;การสร้างฟอร์มเริ่มต้นโปรแกรม MS Access (ตอนที่ 1)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;ในบทนี้ผมจะพูดถึงการสร้างฟอร์มในการเริ่มต้นโปรแกรมกัน(Main Form) ก็คือเมื่อเราเปิดโปรแกรมที่เราสร้างขึ้นนี้มา (ในที่ผมตั้งชื่อไฟล์โปรแกรมนี้ว่า LCD TV DATA ครับ) โปรแกรมก็จะเปิด Main Form ที่เราสร้างไว้ขึ้นมาเลย โดยโปรแกรมจะไม่ให้เรามองเห็นตารางข้อมูลครับ ก็จะทำให้โปรแกรมเราดูสวยงามขึ้น และเหมาะสมกับผู้ใช้งานโปรแกรมมากขึ้นครับ&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ในหน้า Main Form นี้เราสามารถที่จะเพิ่มลูกเล่นให้หน้าตาโปรแกรมเราดูสวยงามขึ้นได้ครับ ไม่ว่าจะเป็นการแทรกรูปภาพหรือภาพเคลื่อนไหว แล้วผมจะอธิบายในคราวต่อไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;เริ่มสร้าง Main Form กันเลยครับ ผมจะขออธิบายการสร้างฟอร์มนี้ ไม่ละเอียดเท่ากับการสร้างฟอร์มในบทที่ผ่านมานะครับ คิดว่าท่านก็คงสร้างฟอร์มเป็นกันแล้ว&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625351781373606370&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLv5byl5nE37zWzdh0yGjP_zkH6JNLwFXI4oC7rjbeZPVwqpq7xEgrSzCcRVBCWFv9kWICvHw8O0_eOVXRNEefbSJ6WNDRBEcVlLmnB37HLb44qI53VxoNT2h8utcGyeSHBRhDjMoFkz8/s320/formmain01.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 271px; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 1 การสร้างฟอร์มเริ่มต้นโปรแกรม MS Access&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;1.เลือกที่ฟอร์ม&lt;/div&gt;&lt;div&gt;2.เลือกที่สร้าง เลือกมุมมองออกแบบ ในส่วนของชื่อตาราง ไม่ต้องเลือกครับ เพราะเราจะสร้างฟอร์มหลัก เป็นหน้าตาของโปรแกรมเราเลยก็ว่าได้ ไม่มีการเก็บข้อมูลหรือกรอกข้อมูลในฟอร์มนี้&lt;/div&gt;&lt;div&gt;3.เลือกที่ปุ่มตกลงครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy1DPFUF6RumwZ2iMlzm21ShFenJMTikhOZqPkH6yaJLBLzccWgAiKAfbRQzb4gBiGjg1RWZYVVJZfWvdaVQ-KU6BmSL5SAFBmTC3mLZtw1M70WbmiIojC7nb7YEj7q8LmuVziHM4MoTg/s1600/formmain02.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625351780299429090&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy1DPFUF6RumwZ2iMlzm21ShFenJMTikhOZqPkH6yaJLBLzccWgAiKAfbRQzb4gBiGjg1RWZYVVJZfWvdaVQ-KU6BmSL5SAFBmTC3mLZtw1M70WbmiIojC7nb7YEj7q8LmuVziHM4MoTg/s320/formmain02.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 250px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 2 การสร้างฟอร์มเริ่มต้นโปรแกรม MS Access&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;4.สร้างข้อมความใน main form ตามที่เราต้องการ โดยคลิ๊กที่เครื่องมือเขียนข้อความตาม ภาพที่ 2 เมื่อคลิ๊กแล้ว ก็นำเมาส์มาคลิกซ้ายค้างไว้ แล้วลาก แล้ววาง จากนั้นก็พิมพ์ข้อความ &quot;ยินดีต้อนรับ&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6MC03LEX_VVQCFkuyNV6lT0Rr5mQaWAkk0gexz3_y5jph7dd99s1zBQbNP9uNkdIXotIAjtga92ZeXDtJ2RdRWvZmRVBKmXteHH7bzgY8HDunafEKgJHeZYow3yLQ7mnFZNpQ16f1lcM/s1600/formmain03.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625351780194095346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6MC03LEX_VVQCFkuyNV6lT0Rr5mQaWAkk0gexz3_y5jph7dd99s1zBQbNP9uNkdIXotIAjtga92ZeXDtJ2RdRWvZmRVBKmXteHH7bzgY8HDunafEKgJHeZYow3yLQ7mnFZNpQ16f1lcM/s320/formmain03.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 294px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;ภาพที่ 3 การสร้างฟอร์มเริ่มต้นโปรแกรม MS Access&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;5.ขั้นตอนนี้จะเป็นการสร้างปุ่มเพื่อเปิดฟอร์ม Customer_frm คือฟอร์มในการเพิ่มข้อมูลลูกค้า ซึ่งจะเป็นปุ่มที่เปิดจาก Main form ครับ คลิกเลือกที่ปุ่มคำสั่ง ตามภาพที่ 3 &lt;/div&gt;&lt;div&gt;6.ทำการลากเมาส์แล้ววาง&lt;/div&gt;&lt;div&gt;ึ7.คลิกเลือกที่ Form Operations เพื่อเลือกคำสั่งที่สั่งให้เปิดฟอร์ม&lt;/div&gt;&lt;div&gt;8.คลิดเลือกที่ คำสั่ง Open Form&lt;/div&gt;&lt;div&gt;9.คลิกเลือกที่ปุ่ม ถัดไป&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikkTsiO_ZUEEjz1_ubQoxVvayrWmxd3QMQAlUzDFMDbvDJjpmbim-iyi642nXSI-eNSBUXpQxdkvmUf8l92YgXQ9ZWnLRANRLbioS6nmWHL-8GOLK3gMtdPI4ECbbDDBUM-x9L2qVNdWM/s1600/formmain04.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5625351774390224898&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikkTsiO_ZUEEjz1_ubQoxVvayrWmxd3QMQAlUzDFMDbvDJjpmbim-iyi642nXSI-eNSBUXpQxdkvmUf8l92YgXQ9ZWnLRANRLbioS6nmWHL-8GOLK3gMtdPI4ECbbDDBUM-x9L2qVNdWM/s320/formmain04.JPG&quot; style=&quot;cursor: hand; cursor: pointer; height: 226px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
ภาพที่ 4 การสร้างฟอร์มเริ่มต้นโปรแกรม MS Access&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;10.เลือกชื่อฟอร์มที่เราต้องการจะเปิด คือ ฟอร์มที่เราสร้างไว้แล้ว ชื่อ Customer_frm&lt;/div&gt;&lt;/div&gt;&lt;div&gt;11.เลือกปุ่มถัดไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ติดตามได้ในตอนที่ 2 หน้าถัดไปครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5010216948372803255/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5010216948372803255' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5010216948372803255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5010216948372803255'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/07/main-form.html' title='การสร้างฟอร์มเพื่อเริ่มต้นโปรแกรม(Main Form) 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLv5byl5nE37zWzdh0yGjP_zkH6JNLwFXI4oC7rjbeZPVwqpq7xEgrSzCcRVBCWFv9kWICvHw8O0_eOVXRNEefbSJ6WNDRBEcVlLmnB37HLb44qI53VxoNT2h8utcGyeSHBRhDjMoFkz8/s72-c/formmain01.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5670536140606965950</id><published>2011-01-31T11:52:00.002+07:00</published><updated>2011-07-19T11:00:35.864+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>สร้างฟอร์มรับข้อมูล (Form Input Database) 3</title><content type='html'>&lt;div align=&quot;center&quot;&gt;&lt;em&gt;&lt;strong&gt;การสร้างฟอร์มกรอกข้อมูลต่อจากตอนที่ 2 ครับ&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;7.หลังจากที่เรากดปุ่มสลับมุมมองออกแบบ กับมุมมองพร้อมสำหรับการกรอกข้อมูล แล้ว ก็จะได้หน้าตาของฟอร์มที่เราสร้าง ตามภาพที่ 1 ครับ&lt;/div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624227157050598498&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2nHq67B9t7n3z8o4GjZ6tO7sfnm_MJipPhSTB3G2wRu3OTtB1iomFP3FV-KglCqEOYv3wB6kJiWBlJ3zSXVx0wOJ0jaQQC1Q87yFDvlNPdGefYa0EyQIFLxqHhJKH36mHgWXmEUss_FY/s320/form6.JPG&quot; style=&quot;cursor: hand; display: block; height: 290px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;ภาพที่ 1 การสร้างฟอร์มในมุมมองออกแบบ (Design View)&lt;br /&gt;
&lt;br /&gt;
8.ขั้นตอนต่อมาคือการตั้งชื่อสำหรับฟอร์มที่เราสร้างเสร็จแล้วครับ โดยไปที่เมนูบาร์ คลิ๊ก Save as หลังจากนั้นก็มพิมพ์ชื่อฟอร์มตามเราต้องการ หรือ ตั้งชื่อตามตัวอย่างที่ผมทำก็ได้นะครับ จะได้ไม่สับสน(ดูภาพที่ 2 ประกอบ)&lt;br /&gt;
&lt;br /&gt;
9.ตั้งชื่อเสร็จก็คลิ๊กปุ่มตกลง เป็นอันเสร็จสิ้นกระบวนการสร้างฟอร์มครับ&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624227162197623234&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9zwcvxZcGmypEnwwoqPUwRPnBykqhBCeEhlQprl-gQ58MrkB2mmecezAWspEAR9Z2Y1Y6B9HX3w3BGuJRZsEGP4NQd41AlJPfqqXyTfVeyhqsrHLtJAjrUZVLUz16DO5ci3o1-gI0Hfk/s320/form7.JPG&quot; style=&quot;cursor: hand; display: block; height: 301px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;ภาพที่ 2 การสร้างฟอร์มในมุมมองออกแบบ(Design view)&lt;br /&gt;
&lt;br /&gt;
10.ภาพที่ 3 คือภาพที่พร้อมสำหรับการเพิ่มหรือกรอกข้อมูลแล้วครับ&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624228130008123202&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHb0PQ-SNmSEMVqKVvU7SbvcJzQrE274AUpeJcGvXsw9hYVuz5arKbC7zWOvW_bxF-qTD092Om_0CtLWAyxpaDbyvQ36yMfR30iQHPJsdIIgi9T4ApIL6FeJ2b9Z8G6rrV1maSYZoSzTw/s320/form8.JPG&quot; style=&quot;cursor: hand; display: block; height: 337px; margin: 0px auto 10px; text-align: center; width: 333px;&quot; /&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;ภาพที่ 3 มุมมองฟอร์มที่พร้อมสำหรับการทำงาน&lt;br /&gt;
&lt;br /&gt;
ก็ขอแสดงความยินดีกับทุกท่านนะครับที่ทำตามขั้นตอนการเขียนโปรแกรมฐานข้อมูล ด้วยโปรแกรม Microsoft Access จนมาถึงการสร้างฟอร์มเป็นกันทุกคนแล้ว ยั้งมีลายละเอียดหรือเทคนิคต่างๆ ของการสร้างฟอร์มอยู่อีกมากครับ ซึ่งผมจะค่อยๆ อธิบายให้ทุกท่านได้ทราบในบทต่อๆ ไปครับ และขอขอบคุณทุกท่านที่ได้เยี่ยมชมเวบบล็อกของผม (Website and Web Blog Hosting)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5670536140606965950/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5670536140606965950' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5670536140606965950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5670536140606965950'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/form-input-database-3.html' title='สร้างฟอร์มรับข้อมูล (Form Input Database) 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2nHq67B9t7n3z8o4GjZ6tO7sfnm_MJipPhSTB3G2wRu3OTtB1iomFP3FV-KglCqEOYv3wB6kJiWBlJ3zSXVx0wOJ0jaQQC1Q87yFDvlNPdGefYa0EyQIFLxqHhJKH36mHgWXmEUss_FY/s72-c/form6.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-8729939320847276129</id><published>2011-01-31T10:57:00.002+07:00</published><updated>2011-07-19T11:00:11.029+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>สร้างฟอร์มรับข้อมูล (Form Input Database) 2</title><content type='html'>&lt;div align=&quot;center&quot;&gt;&lt;em&gt;&lt;strong&gt;การสร้างฟอร์มกรอกข้อมูล ต่อจากตอนที่แล้วครับ&lt;/strong&gt;&lt;br /&gt;
&lt;/em&gt;เมื่อเราได้ทำตามขั้นตอนที่ 1-4 ในตอนที่แล้ว เราก็จะได้มุมมองการออกแบบฟอร์ม ตามภาพ ดูภาพที่ 1 ในบทนี้ ประกอบครับ &lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624213681652288418&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKhdEP78_3WE_XvAPUb_zHpOP9XOj8-D7XL-5XNIQD-W0ysigBQ77JVFxn4IhInznxrsvUp3tI3TXBBmD1XSEX1QrofI2o07E4M9Tx031PbUfuQlav7Ldyzdii2JTMVxgjWdj-CPKalz4/s320/form3.JPG&quot; style=&quot;cursor: hand; display: block; height: 261px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt; ภาพที่ 1 การสร้างฟอร์มในมุมมองออกแบบ (Design View) &lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;1.เลือกฟิลด์ขอมูลจากตาราง Customer โดยใช้เมาส์ (Mouse) คลิ๊กใว้แล้วลากมาวางบนพื้นของฟอร์มตรงตำแหน่งที่เราต้องการ ทำอย่างนี้ไปเรื่อยๆ จนครบทุกฟิลด์ (Field) ของตารางขอ้มูลที่เราต้องการ&lt;br /&gt;
&lt;br /&gt;
2.เมื่อเราทำครบทุกฟิลด์ แล้วเราก็จะได้หน้าตาของฟอร์มกรอกข้อมูล ดังภาพที่ 1 ครับ&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624213684049982738&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1aJ8D2W063hopYnu5rv1shzNeCCbFZAXS2l2FZGda2E6fDjcd605NG_19VeZLoVJxIKiK9oecW5d4U3OOAMCzBolv9BM1RKNaQjgWldCi4AwhlueX8bVOXDugIxv0NKotCEJC3AM1kqE/s320/form4.JPG&quot; style=&quot;cursor: hand; display: block; height: 288px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;ภาพที่ 2 การสร้างฟอร์มในมุมมองออกแบบ (Design View)&lt;br /&gt;
&lt;br /&gt;
3.ขั้นตอนน้คือเราจะจัดระเบียบหัวข้อที่ใช้อธิบายรายละเอียดของแต่ละฟิลด์ข้อมูล ให้มีตำแหน่งตรงกัน โดยที่เราไม่ต้องคอยเลื่อนทีละอัน เพราะจะเสียเวลา โดยการใช้เมาส์ลาก (Drag Mouse) ชื่อฟิลด์ของข้อมูล ให้เกิดจุดรอบๆ แต่ละอัน ดังภาพที่ 2 แล้วใช้เมาส์ไปวางที่จุดใดจุดหนึ่งที่เราลากเมาส์ คลิ๊กขวา แล้วเลือกที่จัดตำแหน่ง แล้วเลือกการจัดตำแหน่งตามความต้องการของเราได้เลยครับ หรือจะทำตามตัวอย่างที่ผมทำก็ได้ครับ&lt;br /&gt;
&lt;br /&gt;
4.ทำตามขั้นตอนที่สามซ้ำอีกที่ครับ โดยครั้งนี้ทำกับฟิลด์ข้อมูลด้านขวามือ คือตัวที่เป็นสีขาวครับ เมื่อเราทำครบแล้ว ก็จะได้ทำตามขั้นตอนต่อไปกันครับ&lt;/div&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624213685993381346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1fOFdRqoGjwLT3CM29zvDlem9RN_JSHtdXWNqYclJAutnL8bDwTW4c9OGgfwrKwrDnFEtqg9mW1Q73Lveb7Mt-WOuku2K-2PXtCHMcngSSl2Q5-_S3lDSApVyJ9ubyv2qi3QZwz7cU24/s320/form5.JPG&quot; style=&quot;cursor: hand; display: block; height: 254px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;ภาพที่ 3 การสร้างฟอร์มในมุมมองออกแบบ (Design View)&lt;br /&gt;
&lt;br /&gt;
5.ขั้นนี้เราจะมาเปลี่ยนหัวข้อของชื่อฟิลด์กันครับ เปลี่ยนจากภาษาอังกฤษ (English Language) เป็นภาษาไทยครับ ตัวอย่าง เช่น จาก ID เป็น รหัสลูกค้า หรือ จาก Name เป็น ชื่อลูกค้า เพื่อที่ผู้กรอกข้อมูลจะได้อ่านแล้วเข้าใจง่ายๆ ว่าฟิลน์นี้กรอกข้อมูลชนิดใหน อีกเหตุผลหนึ่งที่ต้องทำอย่างนี้ เพราะว่าผู้กรอข้อมูลอาจไม่ใช่ผู้เขียนโปรแกรม เป็นเพียงผู้ใช้โปรแกรมนั่นเอง (ดูภาพที่ 3 ประกอบครับ)&lt;/div&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;6. ลองกดปุ่มมุมมอง เพื่อสลับเป็นมุมมองที่ใช้ทำงานจริงครับ (ติดตามหัวข้อต่อไปครับ)&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/8729939320847276129/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/8729939320847276129' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/8729939320847276129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/8729939320847276129'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/form-input-database.html' title='สร้างฟอร์มรับข้อมูล (Form Input Database) 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKhdEP78_3WE_XvAPUb_zHpOP9XOj8-D7XL-5XNIQD-W0ysigBQ77JVFxn4IhInznxrsvUp3tI3TXBBmD1XSEX1QrofI2o07E4M9Tx031PbUfuQlav7Ldyzdii2JTMVxgjWdj-CPKalz4/s72-c/form3.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-2149147733170424613</id><published>2011-01-30T12:38:00.002+07:00</published><updated>2011-07-19T10:59:53.522+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>มาเริ่มต้นสร้างฟอร์ม (Form) กันเลยครับ 1</title><content type='html'>&lt;div align=&quot;left&quot;&gt;ก่อนอื่นต้องขอสวัสดีกันอีกครั้งนะครับ และที่สำคัญต้องขออภัยท่านผู้อ่าน และผู้ติดตามทุกท่าน เป็นอย่างสูง ที่ผมขาดช่วงการเขียนบทความเรื่องการเขียนโปรแกรม Microsoft Access ไปนาน ก็ไม่ขอแก้ตัวอะไรหรอกครับ ตอนนี้ผมจะมาเริ่มทำงานที่ผมชอบและผมถนัดอีกครั้ง เพื่อพี่น้องสังคมออนไลน์ ได้เก็บเกียวความรู้จากการแบ่งปันข้อมูลเกร็ดความรู้แบบออนไลน์&lt;br /&gt;
&lt;br /&gt;
ก็คงมาเข้าเรื่องกันเลย หวังว่าทุกท่านคงยังไม่ลืมบทเรียนที่ผ่านมานะครับ คือได้สร้างตารางข้อมูลกันไปเรียบร้อยแล้ว หัวข้อนี้ก็จะเป็นการสร้างฟอร์ม (Form) เพื่อใช้ในการป้อนข้อมูลกัน พูดกันง่ายๆ ก็คือ การกรอกข้อมูลลงในตารางฐานข้อมูลผ่านฟอร์มที่เรากำลังจะสร้างขึ้น นั้นเองครับ&lt;br /&gt;
&lt;br /&gt;
เริ่มสร้างฟอร์ม(Form)&lt;br /&gt;
&lt;br /&gt;
1.คลิ๊กที่ตัวเลือกฟอร์ม (ดูภาพที่ 1 ประกอบ)&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624015528636115778&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9y9MTkItEmNfBTcpX4KMJeMXQwLkngR0TjNTTAeeOSj4sxFO82FP9xlsHPOhrep7C8GEe_eIymx9Gb9a-pFp8qFuqvg8n9ejO1eSHaVoLoZ3FWUVyPdUEPh6T_u9MT0Y6nKK5TJDNk_E/s320/form1.JPG&quot; style=&quot;cursor: hand; display: block; height: 247px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;ภาพที่ 1 การสร้างฟอร์ม (Form Input Database)&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;2.คลิ๊กเมาส์เลือกที่แถบเมนูบาร์ ที่ปุ่ม &quot;สร้าง&quot;&lt;br /&gt;
&lt;br /&gt;
3.หลังที่ผ่านขั้นตอนที่สองมาแล้ว โปรแกรม(Program) ก็จะขึ้นไดอะล็อคบล็อกมาให้เลือกว่าเราจะเลือกการสร้างฟอร์มรับข้อมูลรูแบบใหน ในที่นี้ผมจะแนะนำให้เลือกในมุมมองออกแบบ นะครับ เพื่อที่เราจะได้สร้างได้ตามแบบที่เรากำหนดเอง&lt;br /&gt;
&lt;br /&gt;
4.เมื่อเลือกการสร้างฟอร์ม(Form Input Data Base) ในมุมมองออกแบบแล้ว (Design View) โปรแกรมจะให้เราเลือกตารางข้อมูล (Table Data Base) ที่เราต้องการที่จะสร้างฟอร์มกรอกข้อมูล ในที่นี้ผมจะยกตัวอย่างที่ตาราง Customer คือตารางข้อมูลลูกค้า&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5624024096913849298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5hZAalWA-n06sMEGO1A_y6JO5b6f7sXIq8gZt8WPx3XkvZ57RnRpi02tWHNLe4llbucJMVTn5uxx1fjcgWfUjmuyI7ni_WwhTmrwPpti8u48IOUqdGGLAJvEedg55FYGU8rmP9svFEnU/s320/form2.JPG&quot; style=&quot;cursor: hand; display: block; height: 270px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 2 มุมมองออกแบบฟอร์ม (Design View)&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
เมื่อเราได้ทำตามขึ้นตอนข้างต้นแล้ว โปรแกรมก็จะขึ้นการสร้างฟอร์มในมุมมองออกแบบ ดูภาพที่ 2 ประกอบ หลังจากนี้เราก็จะสร้างฟิลด์(Field) รับข้อมูลกันนะครับ (ดูหัวต่อไปครับ)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/2149147733170424613/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/2149147733170424613' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2149147733170424613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2149147733170424613'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2011/06/form.html' title='มาเริ่มต้นสร้างฟอร์ม (Form) กันเลยครับ 1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9y9MTkItEmNfBTcpX4KMJeMXQwLkngR0TjNTTAeeOSj4sxFO82FP9xlsHPOhrep7C8GEe_eIymx9Gb9a-pFp8qFuqvg8n9ejO1eSHaVoLoZ3FWUVyPdUEPh6T_u9MT0Y6nKK5TJDNk_E/s72-c/form1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-7039926001912151550</id><published>2010-04-10T15:27:00.002+07:00</published><updated>2011-07-19T10:59:36.454+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Form"/><category scheme="http://www.blogger.com/atom/ns#" term="การสร้างฟอร์ม"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><title type='text'>ทำความรู้จักกับการสร้างฟอร์ม (Form)</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;
การออกแบบฟอร์ม (Forms)&lt;/span&gt;&lt;br /&gt;
ขอแสดงความยินดีกับท่านนะครับที่ได้ฝึกฝนการเขียนโปรแกรมด้วย โปรแกรม Microsoft Access 2003 จนมาถึงเกือบครึ่งทางของโปรแกรมแล้วครับ ในเดือนนี้ก็เป็นเดือนเทศการณ์สงกรานต์ของบ้านเรา ขับรถขับราท่องเที่ยวก็ระวังบ้างนะครับ ที่สำคัญเมาไม่ขับ ดีที่สุด มาเข้าเรื่องของเราเลยดีกว่าครับ สำหรับการสร้างแบบฟอร์มถือเป็นหน้าเป็นตาของโปรแกรมที่เราเขียนขึ้นเลยก็ว่าได้นะครับ ความสวยงาม ความน่าเชื่อถือ ความสะดวกในการใช้งานของโปรแกรม ก็จะขึ้นอยู่กับการออกแบบฟอร์มให้กับโปรแกรมนี้เอง&lt;br /&gt;
&lt;br /&gt;
โปรแกรม Microsoft Access นี้ได้เตรียมเครื่องมือที่ช่วยให้ผู้ใช้โปรแกรม สามารถทำงานได้สะดวกยิ่งขึ้น คือเครื่องมือที่เรียกว่า ฟอร์ม (Forms) จะใช้ติดต่อกับตารางข้อมูล เราไม่จำเป็นต้องเปิดตารางขึ้นมาเพื่อเพิ่มข้อมูล หรือเรียกดูข้อมูล เราสามารถใช้เครื่องมือที่เรียกว่า ฟอร์มนี้แทนได้ เราสามารถที่จะเพิ่มกราฟฟิก เสียง ภาพ ภาพเคลื่อนไหว ได้อีกด้วย ไม่แค่นั้นครับเรายังสามารถที่จะนำฟอร์มที่เราสร้างขึ้น เผยแพร่ทางอินเตอร์เน็ท (Internet) ได้ด้วย&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_C_BVnsAuCMUDWHnAq1NLX77NUrCQj2CY6SOZtfUEOWIjDFLO1OR6kv4YPock33IASHMvTLAGzU9WaOJWzpwuNgYcu1BSsqXRJx6krs3ZmId4kjV1ak-NUNUJH-HRXkpMExuXLctgarE/s1600/1.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5466901714025769618&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_C_BVnsAuCMUDWHnAq1NLX77NUrCQj2CY6SOZtfUEOWIjDFLO1OR6kv4YPock33IASHMvTLAGzU9WaOJWzpwuNgYcu1BSsqXRJx6krs3ZmId4kjV1ak-NUNUJH-HRXkpMExuXLctgarE/s320/1.JPG&quot; style=&quot;cursor: pointer; display: block; height: 167px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 1 ตัวอย่างของฟอร์ม ที่สำเสร็จแล้ว&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwVQEcy_OlnYVENKgJKFLVfqQrh9scdVhjlq-7iU8USSL6cI4GDfRXb_JFutbVQwE7jZq5GCTcPxI5UBIG84DK8pISIX7UQexbAU0AXoYa_E-tO3HFL459yJ1yM0w_OGgVY0alq5l04Rg/s1600/2.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5466901697585549698&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwVQEcy_OlnYVENKgJKFLVfqQrh9scdVhjlq-7iU8USSL6cI4GDfRXb_JFutbVQwE7jZq5GCTcPxI5UBIG84DK8pISIX7UQexbAU0AXoYa_E-tO3HFL459yJ1yM0w_OGgVY0alq5l04Rg/s320/2.JPG&quot; style=&quot;cursor: pointer; display: block; height: 168px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 2 ตัวอย่างของข้อมูลในมุมมองของตารางข้อมูล (Data sheet)&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/7039926001912151550/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/7039926001912151550' title='2 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7039926001912151550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/7039926001912151550'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2010/04/form.html' title='ทำความรู้จักกับการสร้างฟอร์ม (Form)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_C_BVnsAuCMUDWHnAq1NLX77NUrCQj2CY6SOZtfUEOWIjDFLO1OR6kv4YPock33IASHMvTLAGzU9WaOJWzpwuNgYcu1BSsqXRJx6krs3ZmId4kjV1ak-NUNUJH-HRXkpMExuXLctgarE/s72-c/1.JPG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-5637307965305440268</id><published>2010-03-28T09:12:00.002+07:00</published><updated>2011-07-19T10:58:46.639+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Table"/><category scheme="http://www.blogger.com/atom/ns#" term="Table Database"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="ตารางฐานข้อมูล"/><title type='text'>การสร้างความสัมพันธ์ให้กับตาราง (Relationships)</title><content type='html'>ในการสร้างความสัมพันธ์ระหว่างตารางข้อมูลนี้  จะทำให้เราไม่ต้องสับสนเมื่อเราเขียนโปรแกรมนานๆ เมื่อเราจะทำ Query  (แบบสอบถาม) ข้อมูล หรือรายงานผลข้อมูล  เมื่อเราเลือกตารางข้อมูลมาแล้วโปรแกรมก็จะยึดค่าความสัมพันธ์ระหว่างตารางข้อมูล ที่เราได้กำหนดไว้แต่แรกแล้ว&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;เริ่มต้นสร้างความสัมพันธ์ (Table Relationship)&lt;br /&gt;
&lt;/span&gt;1.เมื่อได้ทำการสร้างตารางข้อมูลเสร็จเรียบร้อยแล้ว ต่อไปคือจะต้องสร้างความสัมพันธ์ระหว่าตารางข้อมูล ก่อน คลิ๊กเลือกที่เมนูเครื่องมือ - เลือกที่ความสัมพันธ์  ดูภาพที่่ 1 ประกอบ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV8Kn4bhMZBTxpTW4IxEYcjx8TK5Oo8dY_wKVgzoaLt4I913hWWh5dpGxLJV3HhVfzBqy_ilpeU4wIfhE_lwm1tXnUf0MDi5pVwODLGNhpS93qNedIU-UYSEBmddT778Y9tDZjY3F01M/s1600/1.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5465015308937921026&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV8Kn4bhMZBTxpTW4IxEYcjx8TK5Oo8dY_wKVgzoaLt4I913hWWh5dpGxLJV3HhVfzBqy_ilpeU4wIfhE_lwm1tXnUf0MDi5pVwODLGNhpS93qNedIU-UYSEBmddT778Y9tDZjY3F01M/s320/1.JPG&quot; style=&quot;cursor: pointer; display: block; height: 237px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 1 การสร้างความสัมพันธ์ (Relationship)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
2.เมื่อผ่านจากขั้นตอนที่หนึ่ง แล้วก็จะได้ดังภาพที่สอง ให้เลือกที่แถบเครื่องมือ แสดงตาราง - เลือกตารางที่จะเชื่อมความสัมพันธ์ ในที่นี้ให้ทำการเลือกตารางข้อมูลสามตารางข้อมูล Customer, nameproduct , orderproduct - คลิ๊กที่ปุ่มเพิ่ม จนครบทุกตาราง - จากนั้นคลิ๊กที่ปุ่มปิด ดูภาพที่ 2 ประกอบ&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7FRFVWEhWvKq6dEg4DfJCcw3MAw2OOGxzZ27S2PMnBRNphJeQjgEKg_-lRg5yHRcZdw9TTbBPYCrwDmJa6xDmvHC3KkBM2IRBrw1NkU4N2U6vIjoFvagKyhW9UDGMgw9riA_mGYVKpb8/s1600/2.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5465015303321546290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7FRFVWEhWvKq6dEg4DfJCcw3MAw2OOGxzZ27S2PMnBRNphJeQjgEKg_-lRg5yHRcZdw9TTbBPYCrwDmJa6xDmvHC3KkBM2IRBrw1NkU4N2U6vIjoFvagKyhW9UDGMgw9riA_mGYVKpb8/s320/2.JPG&quot; style=&quot;cursor: pointer; display: block; height: 266px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 2 การสร้างความสัมพันธ์ (Relationship)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;3.เมื่อทำการเลือกตารางข้อมูลที่จะทำการเชื่อมโยงแล้ว ก็จะได้ดังภาพที่สาม ขั้นต่อมาคือเลือกฟิลด์ (Field) ที่จะทำการเชื่อมโยง แล้วใช้เม้าต์กดค้างไว้แล้วลาก หรือ Drag Mouse นั่นเอง เลือกที่ตาราง customer ที่ฟิลด์ ID คลิ๊กแล้วลากมาที่ ตาราง OrderProduct ที่ฟิลด์ IdCustomer ต่อมาโปรแกรมจะขึ้นหน้าต่างการแก้ไขความสัมพันธ์ บอกให้เราทราบว่า เรากำลังทำการเชื่อมโยงตาราง Customer กับตาราง OrderProduct อยู่ ชนิดความสัมพันธ์เป็นแบบ หนึ่ง - กลุ่ม (One-To-Many Relationship) เราก็ไม่ต้องเปลี่ยนแปลงอะไร คลิ๊กที่ปุ่มสร้างได้เลย  ดูภาพที่ 3 ประกอบ&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIA9OL9YdZV6KyHOatWKv17ygOGH7_9ut7fz5tvbprWgMXyYCc5bGbTfQL9sL6OTZxoH_TZM5Wjsk1b8imHOq9GDY2XJ527_p7GT71PRHL5rGSKIGSsgSirM7p2RCfBDOsWUwBcU5k1ck/s1600/3.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5465015292493928178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIA9OL9YdZV6KyHOatWKv17ygOGH7_9ut7fz5tvbprWgMXyYCc5bGbTfQL9sL6OTZxoH_TZM5Wjsk1b8imHOq9GDY2XJ527_p7GT71PRHL5rGSKIGSsgSirM7p2RCfBDOsWUwBcU5k1ck/s320/3.JPG&quot; style=&quot;cursor: pointer; display: block; height: 302px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 3 การสร้างความสัมพันธ์ (Relationship)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
4.เมื่อเสร็จจากขั้นตอนที่สาม ก็จะได้ดังภาพที่ 4 ก็แสดงว่าเราได้ทำการกำหนดความสัมพันธ์ระหว่างตารางเสร็จสมบูรณ์แล้ว ก็ให้ปิดหน้าต่างเมนูการกำหนดความสัมธ์ได้เลย แล้วทำการบันทึกการกำหนดความสัมพันธ์ระหว่างตารางข้อมูล ดูภาพที่ 4 ประกอบ&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglff_imhxpoQWBVRtN4IuDKsSNVSNdn9fpFuzNS3bquvJyY2QeIzwoEvtT4QP7DirLUym-hT6_dnrpyShG011UoidqMjhzTZZAj_9q3gS68YBaLAK9KNj0rgi_7R8AdJsH5A8uoKKDuAI/s1600/4.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5465015284962558658&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglff_imhxpoQWBVRtN4IuDKsSNVSNdn9fpFuzNS3bquvJyY2QeIzwoEvtT4QP7DirLUym-hT6_dnrpyShG011UoidqMjhzTZZAj_9q3gS68YBaLAK9KNj0rgi_7R8AdJsH5A8uoKKDuAI/s320/4.JPG&quot; style=&quot;cursor: pointer; display: block; height: 262px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 85%;&quot;&gt;ภาพที่ 4 การสร้างความสัมพันธ์ (Relationship)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;เมื่อท่านได้กำหนดความสัมพันธ์ระหว่างตารางข้อมูลเสร็จสมบูรณ์แล้ว ในหัวข้อต่อไปเราจะไปเริ่มสร้างฟอร์ม (Form) เพื่อรองรับการเพิ่มข้อมูล โดยที่เราไม่ต้องทำการเพิ่มข้อมูลผ่านตาราง แต่เราจะไปเพิ่มข้อมูลผ่านหน้าตาของฟอร์มที่เราสร้างขึ้นแทน&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/5637307965305440268/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/5637307965305440268' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5637307965305440268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/5637307965305440268'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2010/03/table-relationship.html' title='การสร้างความสัมพันธ์ให้กับตาราง (Relationships)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV8Kn4bhMZBTxpTW4IxEYcjx8TK5Oo8dY_wKVgzoaLt4I913hWWh5dpGxLJV3HhVfzBqy_ilpeU4wIfhE_lwm1tXnUf0MDi5pVwODLGNhpS93qNedIU-UYSEBmddT778Y9tDZjY3F01M/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6661976832519798599.post-2757301008855815618</id><published>2010-03-24T10:46:00.002+07:00</published><updated>2011-07-19T10:58:22.824+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access Table"/><category scheme="http://www.blogger.com/atom/ns#" term="Table Database"/><category scheme="http://www.blogger.com/atom/ns#" term="การใช้โปรแกรม Access"/><category scheme="http://www.blogger.com/atom/ns#" term="ตารางฐานข้อมูล"/><title type='text'>รูปแบบของคุณสมบัติของฟิลด์และตาราง</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;การกำหนดรูปแบบของ ฟิลด์ (Field) และ ตาราง (Table Data)&lt;/span&gt;&lt;br /&gt;
เมื่อเราได้ทราบถึงวิธีการกำหนดรูปแบบของฟิลด์ และ ตาราง มาแล้ว หัวข้อนี้ผมจะอธิบายเกี่ยวกับรายละเอียดในแบบต่างๆ ในการแสดงผลของฟิลด์ และ ตาราง มีรายละเอียดดังต่อไปนี้&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuNFz7Ika7CJrydDVqPJYoT-o2A8TD_Z8MV4iCE328fLXT93mVb2aONWoMJlwmx_DrEZYO57dRVFPGFRUzH8CbCTK-PIvtUR7vHLTmJ9Cu2j3fc2UmanA7vrk_-7e9Nh_3xrcv1r9kxw/s1600/3.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5465775485587464050&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuNFz7Ika7CJrydDVqPJYoT-o2A8TD_Z8MV4iCE328fLXT93mVb2aONWoMJlwmx_DrEZYO57dRVFPGFRUzH8CbCTK-PIvtUR7vHLTmJ9Cu2j3fc2UmanA7vrk_-7e9Nh_3xrcv1r9kxw/s320/3.JPG&quot; style=&quot;cursor: pointer; display: block; height: 259px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;รูปแบบ (Format) &lt;/span&gt;&lt;br /&gt;
คือจะใช้กำหนดรูปแบบในการแสดงผลของฟิลด์ ในมุมมองของ การเปิดตารางเพื่อดูข้อมูล ซึ่งค่านี้จะไม่มีผลต่อค่าของข้อมูลเป็นเพียงรูปแบบในการแสดงผลเท่านั้น เราสามารถเลือกในคอมโปบ็อกซ์ ได้เลย ในส่วนนี้ผมจะขออธิบายที่อยู่นอกเหนือคอมโบบ็อกซ์ เท่านั้นครับ ดังนี้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า ว่างไว้ ความหมาย จะแสดงผลธรรมดาตามที่โปรแกรมกำหนดมาแล้ว&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า 0 (เลขศูนย์) ความหมาย จะแสดงผลเป็นตัวเลขนั้นๆ ถ้าไม่มีจะสแดง 0 เช่น กำหนดว่า 0000.000 แสดงเป็น 0123.250 เป็นต้น&lt;br /&gt;
&lt;br /&gt;
- ใส่ # ความหมาย แสดงผลเป็นตัวเลขนั้นๆ เลข 0 ที่อยู่ข้างหน้าและหลังจะไม่แสดง เช่น  ####.###  แสดงเป็น 123.25 เป็นต้น&lt;br /&gt;
&lt;br /&gt;
- ใ่ส่ / ความหมาย แสดงสัญลักษณ์คั่น เพื่อแยก วันที่ / เดืิอน / พ.ศ. เช่น กำหนดว่า dd/mm/yy แสดงเป็นค่าของ วัีนที่/เดือน/คศ. 12/12/10&lt;br /&gt;
&lt;br /&gt;
- ใส่ d ความหมาย แสดงเป็นวันที่ d แสดง 7 , dd แสดง 07, ddd แสดง Mon , dddd แสดง Monday&lt;br /&gt;
&lt;br /&gt;
- ใส่ m ความหมาย แสดงเป็นเดือน m แสดง 5 , mm แสดง 05, mmm แสดง Jan , mmmm แสดง January เป็นต้น&lt;br /&gt;
&lt;br /&gt;
- ใส่ y ความหมาย แสดงเป็นปี yy แสดง 10,  yyyy  แสดง 2010 เป็นต้น&lt;br /&gt;
&lt;br /&gt;
- ใส่ &amp;gt; ความหมายแสดงตัวอักษรทุกตัวในฟิลด์นี้เป็นตัวพิมพ์ใหญ่ทั้งหมด&lt;br /&gt;
&lt;br /&gt;
- ใส่ &amp;lt; ความหมายแสดงตัวอักษรทุกตัวในฟิลด์นี้เป็นตัวพิมพ์เล็กทั้งหมด  &lt;span style=&quot;font-weight: bold;&quot;&gt;รูปแบบการป้อนข้อมูล (Input Mask)&lt;/span&gt;&lt;br /&gt;
คือ รูปแบบการป้อนข้อมูลว่าเราจะป้อนข้อมูลแแบบใดเพื่อความ สะดวกและความถูกต้องของข้อมูล เช่น การที่เราจะป้อนวันที่ เราจะกำหนดรูปแบบเป็น 00/00/0000 คือวันที่/เดือน/พ.ศ. เมื่อเราป้อนข้อมูลเครื่องก็จะขึ้นรูปแบบให้เลย _ _ /_ _ /_ _ _  _ ลักษณะนี้ ครับ ขอยกอีกสักตัวอย่างหนึ่งนะครับ ป้อนข้อมูลหมายเลขโทรศัพท์ กำหนดรูปแบบ เป็น 000-000000 เมื่อเราป้อนข้อมูลโปรแกรมก็จะขึ้นรูปแบบเป็น _ _ _ - _ _ _ _ _ _ เราก็ป้อนข้อมูลได้เลย ลักษณะของสัญลักษณ์ที่ใช้ในการกำหนดรูปแบบการป้อนข้อมูลดังนี้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่าว่าง ความหมาย จะใส่ค่าอย่างไรก็ได้ รูปแบบจะทำการกำหนดตามที่โปรแกรมระบุไว้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่าศูนย์ 0 ความหมาย ใส่ได้เฉพาะตัวเลข 0-9 มีค่าว่างไม่ได้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า 9 หรือ # ความหมาย ใส่ค่าเป็นตัวเลข เว้นวรรคได้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า L ความหมาย ต้องใส่ค่าที่เป็นตัวอักษรเท่านั้น&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า ? ความหมาย  ใส่ตัวอักษรเท่านั้น มีค่าว่างได้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า A ความหมาย ใส่ตัวเลข 0-9 หรือตัวอักษา A-Z เท่านั้น&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า a ความหมาย ใส่ตัวเลข 0-9 หรือตัวอักษา A-Z เท่านั้น มีค่าว่างได้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า &amp;amp; ความหมาย ใส่ตัวอักษรได้ทุกตัว เว้นวรรคได้&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า &amp;gt; ความหมาย ตัวอักษรที่ใส่ลงไปจะเปลี่ยนเป็นตัวพิมพ์ใหญ่&lt;br /&gt;
&lt;br /&gt;
- ใส่ค่า &amp;lt; ความหมาย ตัวอักษรที่ใส่ลงไปจะเปลี่ยนเป็นตัวพิมพ์เล็ก  &lt;span style=&quot;font-weight: bold;&quot;&gt;ค่าเริ่มต้น (Default Value)&lt;/span&gt;&lt;br /&gt;
คือการกำหนดว่าจะใส่ค่าอะไรในฟิลด์นี้เป็นค่าเริ่มแรก เช่นกำหนดเป็น เมื่อกรอกหรือเพิ่มข้อมูลในเรคคอร์ดนี้ ในฟิลด์วันที่ให้กำหนดวันที่ปัจจุบันเป็นค่าเริ่มต้น เราก็สามารถกำหนดได้เลย ลักษณะของข้อมูลที่จะใส่ดังนี้&lt;br /&gt;
&lt;br /&gt;
- ใ่ส่ค่าว่าง ความหมาย ก็คือโปรแกรมจะว่างใว้จนกว่าเราจะกรอกข้อมูลเอง&lt;br /&gt;
&lt;br /&gt;
- ใส่วันที่ ปัจจุบัน กำหนดว่า DATE( ) เมื่อมีการเพิ่มข้อมูลในเรคอร์ดนี้ ฟิลด์นี้ก็จะกรอกข้อมูลวันที่เป็นปัจจุบันให้เลย&lt;br /&gt;
&lt;br /&gt;
- ใส่ข้อมูลที่เป็นตัวเลข ต้องการกำหนดค่าตัวเลขใหน ก็ให้ใส่ค่าตัวเลขนั้นได้เลย&lt;br /&gt;
&lt;br /&gt;
- ใส่ข้อมูลที่เป็นตัวอักษร ก็ใส่ข้อความที่เราต้องการได้เลย แต่ให้ข้อความที่เราใส่อยู่ในเครื่องหมายคำพูด เช่น ต้องการให้โปรแกรมกำหนดจังหวัดให้ ก็ให้พิมพ์ว่า &quot;กรุงเทพฯ&quot; เป็นต้น&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;ป้ายคำอธิบาย (Caption)&lt;/span&gt;&lt;br /&gt;
คือป้ายคำอธิบายว่าฟิลด์นี้คืออะไร เช่นส่วนมากเราจะกำหนดชื่อฟิลด์เป็นภาษาอังกฤษ พอนานๆไป ผู้เขียนโปรแกรมเองก็จะลืมว่าภาษาอังกฤษที่เราใส่คืออะไร เราก็ใส่คำอธิบายใว้เราก็จะไม่ลืม  ป้ายคำอธิบายนี้ เราจะใส่หรือไม่ก็ได้ ถ้ามั่นใจว่า เมื่อเรากลับมาแก้โปรแกรมภายหลัง เราจำได้แน่นอน ก็ไม่ใส่ก็ได้&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;กฏการตรวจสอบ (Validation Rule)&lt;/span&gt;&lt;br /&gt;
คือ เมื่อต้องการจะให้โปรแกรมตรวจสอบข้อมูลที่เรากรอกว่าตรงตามความต้องการของเราหรือไม่ ตรงนี้อาจมีความสำคัญสำหรับข้อมููลบางชนิด เช่น ตัวเลขที่เราต้องการกรอก จะมีเพียง 1,2,3,4,5 เท่านั้น ถ้ากรอกเลข 6 จะเป็นข้อมูลที่ไม่ถูกต้อง ระบบโปรแกรมจะประมวลผลผิดพลาด เพื่อป้องกันปัญหาที่อาจเกิดขึ้นเราก็ใส่กฏการตรวจสอบ ให้ตัวเลขที่กรอกในฟิลด์นี้มีค่าน้อยกว่า 6 ใส่ข้อความดังนี้ &amp;lt;6&amp;gt;  หรือ เครื่องหมายน้อยกว่า &amp;lt; แล้วตามด้วยตัวเลขที่ต้องการ ความหมายก็จะตรวจสอบตามตัวเลขที่เราใส่เข้าไป  - ใส่ Between ความหมาย ตัวเลขที่อยู่ระว่่าง เช่น Between 1 and 15 ตัวเลขที่ยอมให้กรอกก็จะอยู่ระหว่าง 1 ถึง 15 เท่านั้น  - หรือใส่ตามเงื้อนไข่ที่อ้างถึง แล้วค่อยพบกับการสร้างเงื่อนไขที่อ้างถึงในหัวข้อการสร้างฟอร์มครับ  &lt;span style=&quot;font-weight: bold;&quot;&gt;ข้อความตรวจสอบ&lt;/span&gt; (Validation Text Or Message Value)&lt;br /&gt;
คือเมื่อข้อมูลที่เราเพิ่มไม่เป็นไปตามกฏการตรวจสอบ ก็ให้ขึ้นข้อมความนี้ เช่น เมื่อเราใส่กฏการตรวจสอบแล้ว ก็ให้ใส่ข้อความตรวจสอบด้วย ดังนี้ คำเตือน ตัวเลขต้องไม่เกิน 5 ครับ&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;สรุปในการกำหนดคุณสมบัติของฟิลด์ และตาราง&lt;/span&gt;&lt;br /&gt;
ในการกำหนดคุณสมบัติของฟิลด์ และตาราง นี้ ผมได้กล่าวที่จำเป็นในการเขียนโปรแกรมในเบื้องต้น ก็ประมาณที่กล่าวมานี้แหละครับ ถ้าเราทำได้เท่านี้ก็ถือว่าไม่ธรรมดาแล้วครับ สำหรับคุณสมบัติอื่นๆ นอกเหนือจากที่กล่าวใว้ จะไม่ค่อยจะได้ใช้ครับ หากใครสงสัยก็ส่่งความคิดเห็นสอบถามได้ครับ</content><link rel='replies' type='application/atom+xml' href='http://microsoft-access-guidebook.blogspot.com/feeds/2757301008855815618/comments/default' title='ส่งความคิดเห็น'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6661976832519798599/2757301008855815618' title='0 ความคิดเห็น'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2757301008855815618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6661976832519798599/posts/default/2757301008855815618'/><link rel='alternate' type='text/html' href='http://microsoft-access-guidebook.blogspot.com/2010/03/blog-post_23.html' title='รูปแบบของคุณสมบัติของฟิลด์และตาราง'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/17859283662817920524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkuNFz7Ika7CJrydDVqPJYoT-o2A8TD_Z8MV4iCE328fLXT93mVb2aONWoMJlwmx_DrEZYO57dRVFPGFRUzH8CbCTK-PIvtUR7vHLTmJ9Cu2j3fc2UmanA7vrk_-7e9Nh_3xrcv1r9kxw/s72-c/3.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>