📄 何时使用导入或联接.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"><font color="#000000"><font color="#FF9966">当前位置</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" 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"> </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><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></span><span class="p1"><br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font>
<a href="ac2k1301.htm">为WEB页提供数据</a></span><span class="p1"> <br>
<font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<span class="p1"><a href="ac2k1401.htm">用图表显示数据</a></span> <br>
<span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<span class="p1"><a href="ac2k1501.htm">宏的使用</a></span> <br>
<span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<span class="p1"><a href="ac2k1601.htm">模块与“VBA”语言</a></span><a href="ac2k1601.htm"><span class="p1">
</span></a><br>
<span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<span class="p1"><a href="ac2k1701.htm">SQL语言妙用</a></span> <br>
<span class="p1"><font color="#0000CC"><img src="img/small.gif" width="12" height="12"></font></span>
<span class="p1">外部数据的使用</span></p>
<p class="p1" style="line-height:17pt" align="left"> 何时使用导入或联接<br>
<a href="ac2k1802.htm">如何链接外部数据</a><br>
<a href="ac2k1803.htm">导入一个数据库文件</a><br>
<a href="ac2k1804.htm">如何导出数据</a><br>
<a href="ac2k1805.htm">补充内容一</a><br>
<a href="ac2k1806.htm">补充内容二</a><br>
<a href="ac2k1807.htm">补充内容三</a><br>
<br>
<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 class="p1" style="line-height:17pt" align="left"> </p>
<p align="center" class=p1><a href=/pc/bin/msg.pl?file_id=k_ac2k_18 target="_blank"><br>
</a>
<script language="javascript">
speak_num="za"
</script>
<script language="javascript" src=/pc/var/pc_k_ac2k_18.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 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"><b><span class="p3"><br>
何时使用导入或联接</span></b></font> </p>
<p align="left"> <span style="line-height:17pt"> 在Access中,可以很方便地从外部数据库中获取数据,这些数据库包括现在所有的各种主流数据库,像Dbase、Sybase、Oracle、Foxpro等。这样你就不用去一个一个地重新输入原来的数据了。
在Access中,可以用“获取外部数据”命令来获取外部数据库的数据,这个命令包括两种方式“导入”和“链接表”。对于不同的外部数据库可以用不同的获取方式。而且在Access中,不光可以获取外部数据,还可以导出别的数据库,就是将用Access建立的数据库保存为别的数据库形式,像FOXPRO,DBASE数据库等。</span></p>
<p><span style="line-height:17pt"> 单击“文件”菜单中的“获取外部数据”项,弹出一个子菜单,</span><span style="line-height:17pt">上面有“导入”和“链接表”两个选项。我们单击其中的一个选项就可以实现导入或联接一个外部的数据库。虽然这两个命令的功用都是打开外部的一个数据库,并从中获取需要的数据,但在使用上,还是有差别的。<br>
<br>
在我们使用“导入”这个方法来获取外部数据时需要注意几个条件。<br>
一、需要我们打开的数据库文件相对来说比较小,而且不会被其他数据库应用程序的用 户频繁更改。<br>
二、不需要与其他数据库应用程序的用户共享数据。<br>
三、你正在替换以前的数据库应用程序,而且不再需要以前的数据格式。<br>
四、在使用其他数据库中的数据时,需要最佳性能。 <br>
<br>
使用“链接表”方法来获取外部数据时也需要注意几个条件:<br>
一、需要打开的文件比较大,甚至比本地Access数据库的最大容量(1GB)还要大。<br>
二、这个文件经常被其他数据库应用程序的用户更改。<br>
三、必须在网络上与其他数据库应用程序的用户共享这个文件。<br>
四、需要把应用程序分布到几个单独的用户那里,而且,你可能要不断更新开发的应用程序接口,将“应用程序”与数据分开可以更容易地更新应用程序,而不会干扰用户积累的数据。
<br>
<br>
这就是为什么要在“获取外部数据”这个过程当中设置两种方法。如果要用的数据库并不大,但每天都可能要修改,而且由几个人来修改不同的部分,对于这种情况,最重要的是每天都有新的数据要处理,而单纯的将表导入进来,由于在Access中开发新的系统需要一定的时间,在这段时间内就有可能有新的数据输入进来。开始导入的数据就有很多可能已经更新了。所以这时使用“链接表”就不会出现这种问题,干扰到别的用户积累的数据。当然在Access中执行现在这台机器上的数据库文件是最快的,使用链接常常会因为很多原因使你的工作变得很慢,这点是你必须考虑的。</span>
</p>
<p> </p>
<p align="center"><img src="img/inster03.gif" width="250" height="229" alt="插图" border="1">
</p>
<p> </p>
<p align="center"><a href="ac2k1704.htm">上一页</a> <a href="ac2k1802.htm">
下一页</a> </p>
<p align="center"> </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 + -