?? ac2k0805.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></p>
<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">初識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></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">數據的類型和屬性</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>
定義表之間的關系</span></p>
<p style="line-height:17pt" align="left"><span class="p1"><font color="#0000CC"><span class="p1"> <span class="p1"> <a href="ac2k0801.htm">“關系”
簡介</a><br>
<a href="ac2k0802.htm">表之間的三種關系</a><br>
<a href="ac2k0803.htm">怎樣在表之間建立關系</a><br>
<a href="ac2k0804.htm">“關系”與“子表”</a><br>
補充內容</span></span></font><br>
<br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k0901.htm">建立簡單的查詢</a><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1001.htm">為查詢制定規則</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">數據的優化和安全</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_8 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_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 ("條發言")
</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"><span style="line-height:17pt">實施參照完整性
</span></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"> 如果選定“級聯更新相關字段”復選框,則當更新父行(一對一、一對多關系中“左”表中的相關行)時,Access就會自動更新子行(一對一、一對多關系中的“右”表中的相關行),選定“級聯刪除相關字段”后,當刪除父行時,子行也會跟著被刪除。而且當選擇“實施參照完整性”后,在原來折線的兩端會出現“1”或“OO”符號,在一對一關系中“1”符號在折線靠近兩個表端都會出現,而當一對多關系時“OO”符號則會出現在關系中的右表對應折線的一端上。</span></p>
<p class=p2><span style="line-height:17pt"> 設置了實施參照完整性就可以使我們在表中修改了一個記錄的時候,不會影響到查詢的操作。特別是在有很多表,而且各個表之間都有關系聯接時,“實施參照完整性”會帶來更多的方便。</span></p>
</td>
</tr>
<tr background="/pc/img/line.gif">
<td colspan="2" class="p2">
<p> </p>
<p align="center"><img src="img/inster01.gif" width="250" height="224" alt="插圖" border="1"></p>
</td>
</tr>
</table>
<p align="center"><font size="2"><a href="ac2k0804.htm">上一頁</a> </font></p>
<p align="center" class=p2><a href=/pc/bin/msg.pl?file_id=k_ac2k_8 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_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 ("條發言")
</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 + -