?? ac2k0902.htm
字號:
<html>
<head>
<!-- #BeginEditable "doctitle" -->
<title>洪恩在線 - Access 2000</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/pub/css/home.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" height="183">
<img src="/pc/img/blank.gif" width="1" height="10" align=center><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 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>
建立簡單的查詢</span></p>
<p style="line-height:17pt" align="left"><span class="p1"><span class="p1">
<a href="ac2k0901.htm">查詢與表</a><br>
為建立查詢做準備<br>
<a href="ac2k0903.htm">選擇需要查詢的表</a><br>
<a href="ac2k0904.htm">認識查詢設計視圖</a><br>
<a href="ac2k0905.htm">添加和刪除目標字段</a><br>
<a href="ac2k0906.htm">查詢的數據表視圖</a><br>
<a href="ac2k0907.htm">匯總數據</a><br>
<a href="ac2k0908.htm">保存新建的查詢</a><br>
<a href="ac2k0909.htm">補充內容</a></span><br>
<br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1001.htm">為查詢制定規(guī)則</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1101.htm">如何建立數據窗體<br>
</a><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>
<a href="ac2k1301.htm"></a></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>
<a href="ac2k1301.htm"></a></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>
<a href="ac2k1301.htm"></a></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>
<a href="ac2k1301.htm"></a></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>
<a href="ac2k1301.htm"></a></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>
<a href="ac2k1301.htm"></a></span><a href="ac2k1901.htm"><span class="p1">數據的優(yōu)化和安全</span><br>
</a><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1301.htm"></a></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_9 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_9.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=1 bgcolor=#0586D7 height="183"><img src="/pc/img/blank.gif" width="1" height="1">
</td>
<td valign="top" bgcolor="#FFFFFF" background="/pc/img/line.gif" width="614" height="183">
<table width="95%" border="0" align="center">
<tr background="/pc/img/line.gif">
<td colspan="2" class="p3" height="50">
<div align="center"><font color="#003333"><b><font color="#FF3333">為建立查詢做準備</font></b></font></div>
</td>
</tr>
<tr background="/pc/img/line.gif">
<td colspan="2" class="p2">
<p class=p2><span style="line-height:17pt"> 我們現在用的“查詢”是“選擇查詢”,這種查詢很好學,而且用得也很普遍,很多數據庫查詢功能都可以用它來實現。顧名思義,“選擇查詢”就是從一個或多個有關系的表中將滿足要求的數據提取出來,并把這些數據顯示在新的查詢數據表中。而其他的方法,像“交叉查詢”、“操作查詢”和“參數查詢”等,都是“選擇查詢”的擴展,課后的補充內容中會專門講到。
</span></p>
<p class=p2><span style="line-height:17pt"> 這次建立查詢我們不用向導,而是直接用“查詢設計視圖”來建立新的查詢。直接使用查詢設計視圖建立查詢可以幫助你理解數據庫中表之間的關系,讓你看到要查詢的字段之間是如何聯(lián)系的。這些對建立一個優(yōu)秀的數據庫非常有幫助。其實查詢向導的使用和表向導基本一樣,也非常簡單。
</span></p>
<p class=p2><span style="line-height:17pt"> 現在我們建立一個“訂單”查詢,建立這個查詢就是為了將每份訂單中的各項信息都顯示出來,包括“訂單號”、“訂貨公司”、“貨品名稱”、“貨物單價”、“訂貨數量”、“訂貨金額”、“經辦人”和“訂貨時間”這些字段。</span></p>
<p class=p2><span style="line-height:17pt"> 首先要在Access中打開“客戶訂單數據庫”,然后單擊“對象”列表中的“查詢”項,并在創(chuàng)建方法列表中單擊“在設計視圖中創(chuàng)建查詢”項。
</span></p>
<p class=p2 align="center"><img src="img/ac2k0901.gif" width="368" height="219" alt="建立“查詢”"></p>
<p class=p2><span style="line-height:17pt"> 因為下面的操作都是在對“查詢”這個對象進行操作,所以要將當前的對象切換到“查詢”對象上。在第二課和第四課中講過,執(zhí)行任何操作都必須先選擇這個操作所針對的對象。</span></p>
</td>
</tr>
</table>
<p align="center"><font size="2"><a href="ac2k0901.htm">上一頁</a> <a href="ac2k0903.htm">下一頁</a></font></p>
<p align="center" class=p2><a href=/pc/bin/msg.pl?file_id=k_ac2k_9 target="_blank"><img src="/pc/img/message.gif" width="64" height="54" alt="請您留言" border="0"><br>
談談您的看法</a>
<script language="javascript">
speak_num="za"
</script>
<script language="javascript" src=/pc/var/pc_k_ac2k_9.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>
</td>
</tr>
</table>
<!--底部開始-->
<script language="Javascript" src="/pub/js/foot.js"></script>
<!--底部結束-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -