?? ac2k1103.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,數據庫">
</head>
<body bgcolor="white" text="black" topmargin="10" leftmargin="0" marginwidth="0" marginheight="10">
<!--頂部開始-->
<script language="Javascript" src="/pub/js/head.js"></script>
<!--頂部結束-->
<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">當前位置</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">用向導建立數據庫</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">數據庫的結構</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">用表向導建立表</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">在表中輸入數據</a> <a href="ac2k0601.htm"><br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0701.htm">數據的類型和屬性</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">定義表之間的關系</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">為查詢制定規則</a></span><span class="p1"> <br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
如何建立數據窗體</span></p>
<p style="line-height:17pt" align="left"><span class="p1"> <a href="ac2k1101.htm">什么是窗體</a><br>
<a href="ac2k1102.htm">自動創建窗體</a> <br>
窗體設計視圖<br>
<a href="ac2k1104.htm">調整標簽</a><br>
<a href="ac2k1105.htm">在窗體中畫線</a><br>
<a href="ac2k1106.htm">調整頁眉、頁腳</a><br>
<a href="ac2k1107.htm">在窗體上添加按鈕</a><br>
<a href="ac2k1108.htm">為窗體添加背景</a><br>
<a href="ac2k1109.htm">補充內容一</a><br>
<a href="ac2k1110.htm">補充內容二</a><br>
<a href="ac2k1111.htm">補充內容三</a><br>
<a href="ac2k1112.htm">補充內容四</a> <br>
<br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1201.htm">生成數據打印報表</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1301.htm">為WEB頁提供數據<br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<a href="ac2k1401.htm" class="p1">用圖表顯示數據</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">外部數據的使用</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">數據的優化和安全</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>
談談您的看法</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 ("條發言")
</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> 如何建立數據窗體</b></span></font></p>
<p align="right"> </p>
<p align="left"><span style="line-height:17pt"> </span><span style="line-height:17pt">
如果你想修改窗體的設計,這個很簡單,首先你要將這個窗體保存。保存的方法和保存查詢和表的方法是一樣的。先將鼠標移動到Access菜單欄上,單擊“文件”,在隨后彈出的子菜單中選擇“保存”命令。如果你現在是第一次保存這個窗體,就會彈出一個對話框,要求你輸入一個新窗體名稱。</span></p>
<p align="center"><img src="img/ac2k1106.gif" width="334" height="98" alt="“另存為”對話框"></p>
<p align="left"><span style="line-height:17pt"> 當你完成輸入后,單擊“確定”按鈕就可以了。
<br>
現在我們就可以將鼠標移動到工具欄上最左邊的“視圖”按鈕</span><img src="img/ac2k1107.gif" width="32" height="22" align="absmiddle" alt="“視圖”按鈕"><span style="line-height:17pt">上,然后單擊鼠標左鍵,將現在的視圖切換到設計模式。現在你就可以按照自己的意愿隨意地修改窗體了。
</span></p>
<p align="center"><img src="img/ac2k1108.gif" width="450" height="234" alt="窗體內容" border="1"></p>
<p align="left"><span style="line-height:17pt"><br>
在Access中,窗體上各個控件都可以隨意地擺放,而且窗口的大小,文字的顏色也可以很容易地改變。 <br>
這個視圖中有很多的網格線,還有標尺,看上去好像很亂。這些網格和標尺都是為了在窗體中放置各種控件而用來定位的。當然你也可以不用這些東西,一切都根據你的習慣來確定。
<br>
</span> <img src="img/ac2k1109.gif" width="100" height="157" align="right" alt="選擇去掉標尺和網格的菜單"><span style="line-height:17pt"> 要將這些網格和標尺去掉很容易,你只要將鼠標移動到窗體設計視圖中窗體主體標簽上,單擊鼠標右鍵。這時可以看見在彈出的菜單上有“標尺”、“網格”兩個選項,并且在這兩個選項的前面各有一個圖標,現在這兩個圖標都凹陷了下去,這表示兩個選項都被選中,將鼠標移動到“標尺”項上,單擊鼠標左鍵就可以將標尺隱藏起來。這時再單擊鼠標右鍵就會發現在標尺前面的圖標已經不再凹陷了。如果再單擊這個圖標,就會發現標尺又出現了。
<br>
</span> <img src="img/ac2k1110.gif" width="61" height="251" align="left" alt="工具欄"> <span style="line-height:17pt">剛才彈出的菜單在網格的下面有一個工具箱選項,單擊這個選項,你會發現在屏幕上出現了一個工具框,在這個框中有很多按鈕,每個按鈕都是構成窗體一個功能的控件。
<br>
控件很有用,像我們看到的按鈕、文本框、標簽等都是控件。有了它們我們建造窗體的工作就是將這些控件擺在空白窗體上,然后將這些控件與數據庫聯系起來就可以了。
</span></p>
<p align="left"><span style="line-height:17pt"> 我們就以剛才生成的那個“客戶信息窗體”為例,一起學習一下怎么在窗體中擺放這些控件。
</span></p>
<p align="left"> </p>
<p align="left"><span style="line-height:17pt"> </span><span style="line-height:17pt">
</span> </p>
<p align="center"><a href="ac2k1102.htm"><font size="2">上一節</font></a> <font size="2">
<a href="ac2k1104.htm">下一節</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">談談您的看法</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 ("條發言")
</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>
<!--底部結束-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -