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

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

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

除了可以使用自动 报表 和向导功能创建 报表 以外,Access中还可以从设计视图开始创建一个新 报表 ,主要操作过程有:创建空白 报表 并选择数据源;添加页眉页脚;布置控件显示数据、文本和各种统计信息;设置 报表 排序和分组属性;设置 报表 和控件外观格

除了可以使用自动报表和向导功能创建报表以外,Access中还可以从“设计”视图开始创建一个新报表,主要操作过程有:创建空白报表并选择数据源;添加页眉页脚;布置控件显示数据、文本和各种统计信息;设置报表排序和分组属性;设置报表和控件外观格式、大小位置和对齐方式等。

  5.4 编辑报表

  考点12 设置报表格式

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

  (2)选择下列操作:

  ①如果要设置整个报表的格式,请单击相应的报表选定器。

  ②如果要设置某个节的格式,请单击相应的节选定器。

  ③如果要设置一个或多个控件的格式,请选定相应的控件。

  (3)在工具栏上单击“自动套用格式”按钮 。

  (4)在列表中单击某种格式。

  (5)如果要指定所需的属性(字体、颜色或边框),请单击“选项”按钮。

  考点13 添加背景图案

  报表中的背景图片可以应用于全页。

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

  (2)双击报表选定器打开报表的属性表。

  (3)将“图片”属性设置为.bmp,.ico,.wmf,.dib或.emf文件。如果在其他应用程序上已经安装了图形过滤器,就可以使用这些过滤器所支持的任何文件。如果不能确定文件的路径或名称,请单击“生成器”按钮 。

  (4)在“图片类型”属性框中指定图片的添加方式:嵌入或是链接。如果指定的是嵌入图片,该图片将存储到数据库文件中二如果以后将同一个图片嵌入到其他窗体或报表中,该图片将再次存储到数据库文件中。而如果指定的是链接图片,则该图片并不存储到数据库文件中,但是必须在硬盘上保存该图片的复本。如果要有效地使用硬盘空间,应指定为“链接”设置。

  (5)通过设置“图片缩放模式”属性可以控制图片的比例,该属性有以下3种设置。

  剪裁:按实际大小显示图片如果图片的大小超出了负边距以内的区域,则区域以外的图像需剪掉。

  拉伸:将图片的大小调整到符合页边距以内的区域。此设置可能会扭曲图像。

  缩放:将图片的大小按照页边距以内区域的高度或宽度调整,此设置既不会剪辑图片也不会扭歪图像的比例。

  (6)通过设置“图片对齐方式”属性可以指定图片在页面上的位置。Access将按照报表的页边距来对齐图片。可用的设置选项有:“左上”、“右上”、“中心”、“左下”及“右下”。

  (7)将“图片平铺”属性设置为“是”可以在页面上重复图片平铺将从“图片对齐方式”属性中指定的位置开始。

  将“图片缩放模式”属性设置为“剪裁”模式时,平铺的背景图片效果最好。

  (8)通过设置“图片出现的页”属性可以指定图片在报表中出现的页码位置:可用的设置选项有:“所有页”、“第一页”及“无”。

  考点14 添加日期和时间

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

  (2)单击“插入”菜单中的“日期和时间”命令。

  (3)如果要添加日期,请选中“包含日期”复选框,然后再单击相应的日期格式选项。

  (4)如果要添加时间,请选中“包含时间”复选框,然后再单击相应的时间格式选项。

  考点15 添加分页符和页码

  1添加介页符

  在报表中,可以在某一节中使用分页控制符来标志需要另起一页的位置。例如,需要报表标题页和前言信息分别打印在不同的页上,可以在报表页眉中标题页上要显示的最后一个控件之后和第二页的第一个控件之前设置一个分页符。

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

  (2)单击工具箱中的“分页符”按钮 。

  (3)单击报衷‘扣需要设置分负符的位置,请将分负符设置在某个控件之上或之下,以免拆分了控件中的数据。

  Access将分页符以短虚线的方式标在报表的左边界上。

  如果要将报表中的每个记录或记录组均另起一页,可以通过设置组页眉、组页脚或主体节的“强制分页”属性来实现。

  2添加页码

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

  (2)单击“插入”菜单中的“页码”命令。

  (3)在“页码”对话框中,根据需要选择相应的页码格式、位置和对齐方式。对于对齐方式,有下列可选选项:

  “东”:在左页边距添加文本框。

  “中”:在左右页边距的正中添加文本框。

  “右”:在右页边距添加文本框。

  “内”:在左、右页边距之间添加文本框,奇数页打印在左侧,而偶数页打印在右侧。

  “外”:在左、右页边距之间添加文本框,偶数页打印在左侧,而奇数页打印在右侧。

  (4)如果要在第一页显示页码,请选中“首页显示页码”复选框。

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 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)

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.

How to avoid third-party interfaces returning 403 errors in Node environment? How to avoid third-party interfaces returning 403 errors in Node environment? Apr 01, 2025 pm 02:03 PM

How to avoid the third-party interface returning 403 error in the Node environment. When calling the third-party website interface using Node.js, you sometimes encounter the problem of returning 403 error. �...

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.

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.

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 efficiently obtain component_verify_ticket in EasyWechat 5.5? How to efficiently obtain component_verify_ticket in EasyWechat 5.5? Apr 01, 2025 pm 12:42 PM

Get ComponentVerify in EasyWechat5.5...

How to use Debian Apache logs to improve website performance How to use Debian Apache logs to improve website performance Apr 12, 2025 pm 11:36 PM

This article will explain how to improve website performance by analyzing Apache logs under the Debian system. 1. Log Analysis Basics Apache log records the detailed information of all HTTP requests, including IP address, timestamp, request URL, HTTP method and response code. In Debian systems, these logs are usually located in the /var/log/apache2/access.log and /var/log/apache2/error.log directories. Understanding the log structure is the first step in effective analysis. 2. Log analysis tool You can use a variety of tools to analyze Apache logs: Command line tools: grep, awk, sed and other command line tools.

Is there a mac version of mysql Is there a mac version of mysql Apr 08, 2025 pm 02:30 PM

Question: Can MySQL run on macOS? Answer: Yes. Specific instructions: It can be installed through the official MySQL installer. You can use Homebrew to install, providing command-line-driven installation methods and dependency management. Create databases and tables using the MySQL command line client. Optimize query performance and understand indexing, query cache and database standardization. Avoid conflicting version issues and use a single installation method. Ensure secure configuration, use strong passwords and access controls.

See all articles