?? “關(guān)系”簡(jiǎn)介.htm
字號(hào):
<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,數(shù)據(jù)庫(kù),關(guān)系">
</head>
<body bgcolor="white" text="black" topmargin="10" leftmargin="0" marginwidth="0" marginheight="10">
<!--頂部開(kāi)始-->
<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"><font color="#000000"><font color="#FF9966">當(dāng)前位置</font>:<a href="/default.htm">在線教程</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"> </td>
<td height="20" bgcolor="#E8E8E8" width="23"> </td>
</tr>
</table>
<p></p>
<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">初識(shí)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">窗口接口使用簡(jiǎn)介<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ù)庫(kù)</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ù)庫(kù)的結(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></span></font><font color="#0000CC"><span class="p1">
<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ù)的類(lèi)型和屬性</a></span></font><font color="#0000CC"><span class="p1"><span class="p1">
</span><br>
</span></font><span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
定義表之間的關(guān)系</span></p>
<p style="line-height:17pt" align="left"><span class="p1"><font color="#0000CC"><span class="p1"> <span class="p1"> “關(guān)系”
簡(jiǎn)介<br>
<a href="ac2k0802.htm">表之間的三種關(guān)系</a><br>
<a href="ac2k0803.htm">怎樣在表之間建立關(guān)系</a><br>
<a href="ac2k0804.htm">“關(guān)系”與“子表”</a><br>
<a href="ac2k0805.htm">補(bǔ)充內(nèi)容</a></span></span></font><br>
<br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0901.htm">建立簡(jiǎn)單的查詢(xún)</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1001.htm">為查詢(xún)制定規(guī)則</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1101.htm">如何建立數(shù)據(jù)窗體<br>
</a><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1201.htm">生成數(shù)據(jù)打印報(bào)表</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1301.htm">為WEB頁(yè)提供數(shù)據(jù)<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">用圖表顯示數(shù)據(jù)</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”語(yǔ)言</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語(yǔ)言妙用</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">外部數(shù)據(jù)的使用</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">數(shù)據(jù)的優(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> <br>
<script language="javascript">
speak_num="za"
</script>
<script language="javascript" src=/pc/var/pc_k_ac2k_8.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 style="line-height:17pt" align="left"><span class="p1"><span class="p1">
</span></span> </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">“關(guān)系”簡(jiǎn)介</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"> 在Access數(shù)據(jù)庫(kù)中,不同表中的數(shù)據(jù)之間都存在一種關(guān)系,這種關(guān)系將數(shù)據(jù)庫(kù)里各張表中的每條數(shù)據(jù)記錄都和數(shù)據(jù)庫(kù)中唯一的主題相聯(lián)系,使得對(duì)一個(gè)數(shù)據(jù)的操作都成為數(shù)據(jù)庫(kù)的整體操作,正所謂“牽一發(fā)而動(dòng)全身”。</span></p>
<p class=p2><span style="line-height:17pt"> 就拿上幾課建立的表來(lái)說(shuō)吧,“客戶(hù)信息表”中的“公司名稱(chēng)”和“訂單信息表”中的“訂貨單位”所包含的值有很多是相同的。因?yàn)楹灹擞唵蔚摹坝嗀泦挝弧笨隙ㄒ呀?jīng)是公司的客戶(hù)了,這些客戶(hù)的名稱(chēng)也被記載在“客戶(hù)信息表”的“公司名稱(chēng)”字段中。當(dāng)我們已知一個(gè)客戶(hù)的名稱(chēng)時(shí),既可以通過(guò)“客戶(hù)信息表”知道它的“客戶(hù)信息”,也可以通過(guò)“訂單信息表”了解它所簽訂的“訂單信息”,所以說(shuō)“公司名稱(chēng)”作為紐帶將“客戶(hù)資料表”和“訂單信息表”中的相應(yīng)字段信息連接在了一起,為了把數(shù)據(jù)庫(kù)中表之間的這種數(shù)據(jù)關(guān)系體現(xiàn)出來(lái),Access提供一種建立表與表之間“關(guān)系”的方法。用這種方法建立了關(guān)系的數(shù)據(jù)只需要通過(guò)一個(gè)主題就可以調(diào)出來(lái)使用,非常方便。</span></p>
<p class=p2><span style="line-height:17pt"> 當(dāng)我們?cè)凇翱蛻?hù)信息表”和“訂單信息表”中建立這樣的關(guān)系以后,只需要看看“客戶(hù)信息表”,在不增加表內(nèi)容的情況下,就可以看到所有客戶(hù)的信息及其所有“訂單”的情況,使這些數(shù)據(jù)一目了然。</span></p>
</td>
</tr>
<tr background="/pc/img/line.gif">
<td colspan="2" class="p2">
<p> </p>
<p align="center"><img src="img/inster09.gif" width="250" height="224" alt="插圖" border="1"></p>
</td>
</tr>
</table>
<p align="center"><a href="ac2k0706.htm">上一頁(yè)</a> <a href="ac2k0802.htm">下一頁(yè)</a></p>
<p align="center"> </p>
<p align="center" class=p2><a href=/pc/bin/msg.pl?file_id=k_ac2k_8 target="_blank"><br>
</a></p>
</td>
</tr>
</table>
<script language="Javascript" src="/pub/js/foot.js"></script>
<!--底部結(jié)束-->
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -