📄 ac2k1102.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>
自动创建窗体 <br>
<a href="ac2k1103.htm">窗体设计视图</a><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"> 首先让我们看看创建一个窗体的最简单方法:用Access自动创建一个纵栏式表格的窗体。 <br>
打开“客户信息数据库”,</span></p>
<p align="center"><img src="img/ac2k1101.gif" width="400" height="278" alt="“客户信息数据库”窗口" border="1"></p>
<p align="left"><span style="line-height:17pt"> 在数据库窗口的选项卡上选择“窗体”对象</span><img src="img/ac2k1102.gif" width="84" height="25" align="absmiddle" alt="“窗体”对象"><span style="line-height:17pt">,然后在数据库菜单上单击“新建”按钮,并在弹出的“新建窗体”对话框中选择“自动创建窗体:纵栏式”选项,</span></p>
<p align="center"><img src="img/ac2k1103.gif" width="350" height="246" alt="“新建窗体”对话框"></p>
<p align="left"><span style="line-height:17pt"> 选完以后在这个对话框下部的“该对象的数据来源表或查询”下拉框中选择需要的表或查询,这时先要将鼠标移动到下拉框右面的向下按钮上,单击鼠标左键,会弹出一个下拉列表框,选取我们需要的表“客户信息表”,完成选择对象的数据来源表或查询,这些都完成以后单击“新建窗体”对话框中“确定”按钮。<br>
接着Access就会给我们自动创建一个纵栏式的表格了。 </span></p>
<p align="center"><img src="img/ac2k1104.gif" width="480" height="267" alt="创建的纵栏式表格" border="1"></p>
<p align="left"><span style="line-height:17pt"> 注意在创建以后可别忘了保存这个窗体为“客户信息窗体”。<br>
在这个窗体中看到的数据和前面课中看到的数据表有所不同:纵栏式表格每次只能显示一个记录的内容,而前面课中的数据表每次可以显示很多记录。这是它们最大的区别。<br>
现在我们利用自动窗体建立一个表格式的窗体。在下面的学习中我们将用到这个窗体。这种窗体在建立上和纵栏式窗体 在建立的方式基本上没有什么区别,也是先单击“数据库”菜单中的“新建”按钮,然后在“新建窗体”对话框中选择“自动窗体”。和上次不同,</span></p>
<p align="center"><img src="img/ac2k1105.gif" width="350" height="246" alt="“新建窗体”对话框"></p>
<p align="left"><span style="line-height:17pt"> 这次选择“自动创建窗体:表格式”,而数据的来源是表“产品信息表”。将这些选定以后,单击“确定”按钮,然后给新的窗体取名“产品信息窗体”就可以了。
</span> </p>
<p align="center"><a href="ac2k1101.htm"><font size="2">上一节</font></a> <font size="2">
<a href="ac2k1103.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 + -