?? ac2k1102.htm
字號:
<html>
<head>
<title>洪恩在線 - Access 2000</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/pc/pc.css">
<link rel="stylesheet" href="/pc/pc.css">
<meta name="keywords" content="電腦,教育,教程,辦公軟件,microsoft,Office,office,Access,Access 2000,數(shù)據(jù)庫">
</head>
<body bgcolor="white" text="black" topmargin="10" leftmargin="0" marginwidth="0" marginheight="10">
<!--頂部開始-->
<script language="Javascript" src="/pub/js/head.js"></script>
<!--頂部結(jié)束-->
<table width="760" height="20" border=0 cellspacing="0" cellpadding="0" align="center">
<tr>
<td height=20 class="p1" bgcolor="#E8E8E8" align="left"><img src="/pc/img/blank.gif" width="12" height="8"><font color="#000000"><font color="#FF9966">當(dāng)前位置</font>:<a href="/default.htm" class="under">洪恩在線</a>
-> <a href="/pc/index.htm" class="under">電腦樂園</a> -> Access 2000</font></td>
</tr>
</table>
<table width="760" border=0 cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="15"></td>
</tr>
</table>
<table width="760" cellspacing="0" border=0 cellpadding="0" align="center">
<tr>
<td width="145" valign="top" bgcolor="#E8E8E8" align="left" style="color:blue" class="p1" height="123">
<br> <table width="145" border="0" cellspacing="0" cellpadding="0" bordercolor="#F8AC0E" align="center" height="20"> <tr bgcolor="000099" valign="middle"> <td width="109" align="center" class="p2"><font color="#FFFFFF"><b>Access 2000</b></font><font color="#FF3333" ><b></b></font></td> <td height="20" bgcolor="#E8E8E8" width="13"><img src="/pc/img/title_00.gif" width="13" height="20"></td> <td height="20" bgcolor="#E8E8E8" width="23"> </td> </tr> </table>
<p class="p1" style="line-height:17pt" align="left"> <span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12">
<a href="ac2k0101.htm">初識Access 2000<br>
</a></font><font color="#0000CC"> </font></span><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12">
<a href="ac2k0201.htm">窗口接口使用簡介<br>
</a></font></span><font color="#0000CC"><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0301.htm">用向?qū)Ы?shù)據(jù)庫</a></span></font><font color="#0000CC"><span class="p1"><a href="ac2k0301.htm">
<br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0401.htm">數(shù)據(jù)庫的結(jié)構(gòu)</a> <span class="p1"><a href="ac2k0403.htm">
</a></span> <br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0501.htm">用表向?qū)Ы⒈?lt;/a></span></font> <font color="#0000CC"><span class="p1"><a href="ac2k0501.htm">
<br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0601.htm">在表中輸入數(shù)據(jù)</a> <a href="ac2k0601.htm"><br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0701.htm">數(shù)據(jù)的類型和屬性</a><span class="p1"> </span><br>
</span></font><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0801.htm">定義表之間的關(guān)系</a></span><span class="p1"><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0901.htm">建立簡單的查詢</a></span><span class="p1"> <br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1001.htm">為查詢制定規(guī)則</a></span><span class="p1"> <br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
如何建立數(shù)據(jù)窗體</span></p>
<p style="line-height:17pt" align="left"><span class="p1"> <a href="ac2k1101.htm">什么是窗體</a><br>
自動創(chuàng)建窗體 <br>
<a href="ac2k1103.htm">窗體設(shè)計視圖</a><br>
<a href="ac2k1104.htm">調(diào)整標(biāo)簽</a><br>
<a href="ac2k1105.htm">在窗體中畫線</a><br>
<a href="ac2k1106.htm">調(diào)整頁眉、頁腳</a><br>
<a href="ac2k1107.htm">在窗體上添加按鈕</a><br>
<a href="ac2k1108.htm">為窗體添加背景</a><br>
<a href="ac2k1109.htm">補(bǔ)充內(nèi)容一</a><br>
<a href="ac2k1110.htm">補(bǔ)充內(nèi)容二</a><br>
<a href="ac2k1111.htm">補(bǔ)充內(nèi)容三</a><br>
<a href="ac2k1112.htm">補(bǔ)充內(nèi)容四</a> <br>
<br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1201.htm">生成數(shù)據(jù)打印報表</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1301.htm">為WEB頁提供數(shù)據(jù)<br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1401.htm" class="p1">用圖表顯示數(shù)據(jù)</a><br>
<span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1501.htm"><span class="p1">宏的使用</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1601.htm"><span class="p1">模塊與“VBA”語言</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1701.htm"><span class="p1">SQL語言妙用</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1801.htm"><span class="p1">外部數(shù)據(jù)的使用</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1901.htm"><span class="p1">數(shù)據(jù)的優(yōu)化和安全</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k2001.htm"><span class="p1">容易忽略的工作</span></a></p>
<p style="line-height:17pt" align="center" class=p1><a href=/pc/bin/msg.pl?file_id=k_ac2k_11 target="_blank"><img src="/pc/img/message.gif" width="64" height="54" alt="請您留言" border="0"><br>
談?wù)勀目捶?lt;/a> <br>
<script language="javascript">
speak_num="za"
</script>
<script language="javascript" src=/pc/var/pc_k_ac2k_11.js>
</script>
<script language="javascript">
var num=0
if (!isNaN(speak_num)){
num=speak_num;
}
else{
num=0
}
document.writeln ("已有")
document.writeln (num)
document.writeln ("條發(fā)言")
</script>
</p>
<p align="center" class=p1> </p>
<p class="p1" style="line-height:17pt" align="left"> </p>
</td>
<td width=1 bgcolor=#0586D7 height="123"><img src="/pc/img/blank.gif" width="1" height="1">
</td><td width=15 background="/pc/img/line.gif"><p> </p></td>
<td valign="top" background="/pc/img/line.gif" width="584" height="123" class="p2">
<p align="center"><font color="#ff333"><span class="p3"><br>
<b> 自動創(chuàng)建窗體</b></span></font></p>
<p align="right"> </p>
<p align="left"><span style="line-height:17pt"> 首先讓我們看看創(chuàng)建一個窗體的最簡單方法:用Access自動創(chuàng)建一個縱欄式表格的窗體。 <br>
打開“客戶信息數(shù)據(jù)庫”,</span></p>
<p align="center"><img src="img/ac2k1101.gif" width="400" height="278" alt="“客戶信息數(shù)據(jù)庫”窗口" border="1"></p>
<p align="left"><span style="line-height:17pt"> 在數(shù)據(jù)庫窗口的選項(xiàng)卡上選擇“窗體”對象</span><img src="img/ac2k1102.gif" width="84" height="25" align="absmiddle" alt="“窗體”對象"><span style="line-height:17pt">,然后在數(shù)據(jù)庫菜單上單擊“新建”按鈕,并在彈出的“新建窗體”對話框中選擇“自動創(chuàng)建窗體:縱欄式”選項(xiàng),</span></p>
<p align="center"><img src="img/ac2k1103.gif" width="350" height="246" alt="“新建窗體”對話框"></p>
<p align="left"><span style="line-height:17pt"> 選完以后在這個對話框下部的“該對象的數(shù)據(jù)來源表或查詢”下拉框中選擇需要的表或查詢,這時先要將鼠標(biāo)移動到下拉框右面的向下按鈕上,單擊鼠標(biāo)左鍵,會彈出一個下拉列表框,選取我們需要的表“客戶信息表”,完成選擇對象的數(shù)據(jù)來源表或查詢,這些都完成以后單擊“新建窗體”對話框中“確定”按鈕。<br>
接著Access就會給我們自動創(chuàng)建一個縱欄式的表格了。 </span></p>
<p align="center"><img src="img/ac2k1104.gif" width="480" height="267" alt="創(chuàng)建的縱欄式表格" border="1"></p>
<p align="left"><span style="line-height:17pt"> 注意在創(chuàng)建以后可別忘了保存這個窗體為“客戶信息窗體”。<br>
在這個窗體中看到的數(shù)據(jù)和前面課中看到的數(shù)據(jù)表有所不同:縱欄式表格每次只能顯示一個記錄的內(nèi)容,而前面課中的數(shù)據(jù)表每次可以顯示很多記錄。這是它們最大的區(qū)別。<br>
現(xiàn)在我們利用自動窗體建立一個表格式的窗體。在下面的學(xué)習(xí)中我們將用到這個窗體。這種窗體在建立上和縱欄式窗體 在建立的方式基本上沒有什么區(qū)別,也是先單擊“數(shù)據(jù)庫”菜單中的“新建”按鈕,然后在“新建窗體”對話框中選擇“自動窗體”。和上次不同,</span></p>
<p align="center"><img src="img/ac2k1105.gif" width="350" height="246" alt="“新建窗體”對話框"></p>
<p align="left"><span style="line-height:17pt"> 這次選擇“自動創(chuàng)建窗體:表格式”,而數(shù)據(jù)的來源是表“產(chǎn)品信息表”。將這些選定以后,單擊“確定”按鈕,然后給新的窗體取名“產(chǎn)品信息窗體”就可以了。
</span> </p>
<p align="center"><a href="ac2k1101.htm"><font size="2">上一節(jié)</font></a> <font size="2">
<a href="ac2k1103.htm">下一節(jié)</a></font> </p>
<p align="center"><a href=/pc/bin/msg.pl?file_id=k_ac2k_11 target="_blank"><img src="/pc/img/message.gif" width="64" height="54" alt="請您留言" border="0"></a></p>
<p align="center" class=p2><a href=/pc/bin/msg.pl?file_id=k_thebat target="_blank">談?wù)勀目捶?lt;/a>
<script language="javascript">
speak_num="za"
</script>
<script language="javascript" src=/pc/var/pc_k_ac2k_11.js>
</script>
<script language="javascript">
var num=0
if (!isNaN(speak_num)){
num=speak_num;
}
else{
num=0
}
document.writeln ("已有")
document.writeln (num)
document.writeln ("條發(fā)言")
</script>
</p>
<p> </p></td><td width=15 background="/pc/img/line.gif"><p> </p></td>
</tr>
</table>
<!--底部開始-->
<script language="Javascript" src="/pub/js/foot.js"></script>
<!--底部結(jié)束-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -