Home Database Mysql Tutorial 2012年计算机二级Access重点:分析之报表(4)

2012年计算机二级Access重点:分析之报表(4)

Jun 07, 2016 pm 03:03 PM
access Level 2 analyze Report computer

1添加或删除 报表 页眉、页脚和页面页眉、页脚 (1)在设计视图中打开相应的 报表 。 (2)单击视图菜单上的 报表 页眉/页脚命令或页面页眉/页脚命令。 页眉和页脚只能作为一对同时添加。如果不需要页眉或页脚,可以将不要的节的可见性属性设为否,或者删除该

1添加或删除报表页眉、页脚和页面页眉、页脚

  (1)在“设计”视图中打开相应的报表

  (2)单击“视图”菜单上的“报表页眉/页脚”命令或“页面页眉/页脚”命令。

  页眉和页脚只能作为一对同时添加。如果不需要页眉或页脚,可以将不要的节的“可见性”属性设为“否”,或者删除该节的所有控件,然后将其大小设置为零或将其“高度”属性设为0。

  (3)如果删除页眉和页脚,Access将同时删除页眉、页脚中的控件。

  2更改报表或窗体的页眉、页脚或其他节的大小

  可以单独更改报表上各个节的大小。但是,报表都只有唯一的宽度,更改一个节的宽度将更改整个报表的宽度。

  更改高度或宽度的步骤如下:

  (1)在报表“设计”视图中打开相应的报表

  (2)将鼠标放在节的底边(更改高度)或右边(更改宽度)上。

  (3)上下拖动鼠标更改节的高度,或左右拖动鼠标更改节的宽度。

  考点17 绘制线条和矩形

  l在窗体、报表或数据访问页中绘制线条

  (l)在报表“设计”视图中打开报表

  (2)单击工具箱中的“直线”工具 。

  (3)单击报表的任意处可以创建默认大小的线条,通过单击并拖动的方式可以创建自定大小的线条。

  如果要在报表上绘制水平线或垂直线,单击“直线”工具,然后拖动鼠标以创建线条。

  若要对报表中的线段的长度或角度作小的调整,可选中该线段,按住Shift键,并按任意箭头键。

  如果要细微调整线条的位置,则同时按下Ctd键和箭头键中的一个。

  如果要改变线条的粗细,可单击线条,再单击“格式(窗体/报表)”工具栏上的“线条/边框宽度”按钮 ,然后单击所需线条的粗细。

  若要更改报表中线段的线型(点、点划线、双线等),可单击该线段,单击工具栏上的“属性” 按钮以打开属性表,然后单击“边框样式”属性框中的某一边框样式。

  2在窗体、报表或数据访问页中绘制矩形

  (1)在报表“设计”视图中打开报表

  (2)单击工具箱中的“矩形”工具 。

  (3)单击报表的任意处可以创建默认大小的矩形,或通过拖动方式创建自定大小的矩形。

  若要更改矩形边框的粗细,可单击该矩形,单击“格式”工具栏上的“线条/边框宽度”按钮旁边的箭头,然后单击所需的粗细。若要更改报表中矩形的线型(点、双线等),单击该矩形,然后单击工具栏上的“属性” 按钮以打开属性表,然后单击“边框样式”属性框中的边框样式。

  5.5 报表排序和分组

  考点18 记录排序

  在报表中最多可以按10个字段或表达式进行排序

  (1)在“设计”视图中打开报表

  (2)单击工具栏上的“排序与分组”按钮,显示“排序与分组”对话框。

  (3)在“字段/表达式”列的第一行,选择一个字段名称,或键入一个表达式。

  第一行的字段或表达式具有最高排序优先级(最大的设置),第二行则具有次高的排序优先级,依此类推。

  完成“字段/表达式”列的填充以后,Access将把“排序次序”设置为“升序”,即从A到Z或从0到9。

  (4)要改变排序次序,可以在“排序次序”列表中选择“降序”,即从Z到A或从9到0。

  考点19 记录分组

  在报表中最多可按10个字段或表达式进行分组。

  (I)在“设计”视图中打开相应的报表

  (2)单击工具栏上的“排序与分组”按钮 ,显示“排序与分组”对话框。

  (3)为报表中的数据设置排序次序。

  (4)单击要设置组属性的字段或表达式。

  (5)在报表中设置组属性。如果要创建一个组级别并设置其他组属性,必须将“组页眉”或“组页脚”设置为“是”。

  “组页眉”,为字段或表达式添加或删除组页眉。

  “组页脚”,为字段或表达式添加或删除组页脚

  “分组形式”,指定对值的分组方式。可用的选项取决于分组字段的数据类型。如果是按表达式分组,将显示所有数据类型的所有选项。

  “组间距”,为分组字段或表达式的值指定有效的组间距。

  “保待同页”,指定Access是否在一页中打印组的所有内容

  5.6 使用计算控件

  考点20 报表添加计算控件

  (1)在报表“设计”视图中打开报表

  (2)单击工具箱中要作为计算控件的控件工具。

  文本框是最常用来显示计算数值的控件,但是也可以使用任何有“控件来源”属性的控件。

  (3)在报表上,单击要放置控件的位置。

  (4)请执行下列操作之一:

  ①如果控件是文本框,则可以直接在控件中键入表达式。

  ②对于任意控件,请确保选定了控件,单击工具栏上的“属性” 按钮显示控件的属性表,在“控件来源”属性框中键入表达式。如果要在Access数据库(. mdb )中使用“表达式生成器”创建表达式,请单击与“控件来源”属性框相邻的“生成器”按钮 。

  在计算控件中,每个表达式前都要加上等号(=)运算符

  如果在“控件来源”属性框中需要更多空间来键入表达式,请按[Shift+F2]快捷键来打开“显示比例”框。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1671
14
PHP Tutorial
1276
29
C# Tutorial
1256
24
How to use sql if statement How to use sql if statement Apr 09, 2025 pm 06:12 PM

SQL IF statements are used to conditionally execute SQL statements, with the syntax as: IF (condition) THEN {statement} ELSE {statement} END IF;. The condition can be any valid SQL expression, and if the condition is true, execute the THEN clause; if the condition is false, execute the ELSE clause. IF statements can be nested, allowing for more complex conditional checks.

How to solve the 'Network Error' caused by Vue Axios across domains How to solve the 'Network Error' caused by Vue Axios across domains Apr 07, 2025 pm 10:27 PM

Methods to solve the cross-domain problem of Vue Axios include: Configuring the CORS header on the server side using the Axios proxy using JSONP using WebSocket using the CORS plug-in

How to configure zend for apache How to configure zend for apache Apr 13, 2025 pm 12:57 PM

How to configure Zend in Apache? The steps to configure Zend Framework in an Apache Web Server are as follows: Install Zend Framework and extract it into the Web Server directory. Create a .htaccess file. Create the Zend application directory and add the index.php file. Configure the Zend application (application.ini). Restart the Apache Web server.

What are the benefits of multithreading in c#? What are the benefits of multithreading in c#? Apr 03, 2025 pm 02:51 PM

The advantage of multithreading is that it can improve performance and resource utilization, especially for processing large amounts of data or performing time-consuming operations. It allows multiple tasks to be performed simultaneously, improving efficiency. However, too many threads can lead to performance degradation, so you need to carefully select the number of threads based on the number of CPU cores and task characteristics. In addition, multi-threaded programming involves challenges such as deadlock and race conditions, which need to be solved using synchronization mechanisms, and requires solid knowledge of concurrent programming, weighing the pros and cons and using them with caution.

Unable to log in to mysql as root Unable to log in to mysql as root Apr 08, 2025 pm 04:54 PM

The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

Summary of phpmyadmin vulnerabilities Summary of phpmyadmin vulnerabilities Apr 10, 2025 pm 10:24 PM

The key to PHPMyAdmin security defense strategy is: 1. Use the latest version of PHPMyAdmin and regularly update PHP and MySQL; 2. Strictly control access rights, use .htaccess or web server access control; 3. Enable strong password and two-factor authentication; 4. Back up the database regularly; 5. Carefully check the configuration files to avoid exposing sensitive information; 6. Use Web Application Firewall (WAF); 7. Carry out security audits. These measures can effectively reduce the security risks caused by PHPMyAdmin due to improper configuration, over-old version or environmental security risks, and ensure the security of the database.

How to monitor Nginx SSL performance on Debian How to monitor Nginx SSL performance on Debian Apr 12, 2025 pm 10:18 PM

This article describes how to effectively monitor the SSL performance of Nginx servers on Debian systems. We will use NginxExporter to export Nginx status data to Prometheus and then visually display it through Grafana. Step 1: Configuring Nginx First, we need to enable the stub_status module in the Nginx configuration file to obtain the status information of Nginx. Add the following snippet in your Nginx configuration file (usually located in /etc/nginx/nginx.conf or its include file): location/nginx_status{stub_status

Using Dicr/Yii2-Google to integrate Google API in YII2 Using Dicr/Yii2-Google to integrate Google API in YII2 Apr 18, 2025 am 11:54 AM

VprocesserazrabotkiveB-enclosed, Мнепришлостольностьсясзадачейтерациигооглапидляпапакробоглесхетсigootrive. LEAVALLYSUMBALLANCEFRIABLANCEFAUMDOPTOMATIFICATION, ČtookazaLovnetakProsto, Kakaožidal.Posenesko

See all articles