Access2007创建数据库图文步骤
创建新数据库文件的方法有很多。注意在Access主窗口中office Online 区域左上角的空白数据库按钮。该按钮和文件菜单中的新建按钮都可以展现主窗口右侧的空白数据库区域。单击二者中的任何一个按钮都可以转换到主窗口,如图2-3 所示。 空白数据库区域代替了主
创建新数据库文件的方法有很多。注意在Access主窗口中office Online 区域左上角的"空白数据库"按钮。该按钮和"文件"菜单中的"新建"按钮都可以展现主窗口右侧的"空白数据库"区域。单击二者中的任何一个按钮都可以转换到主窗口,如图2-3 所示。" 空白数据库"区域代替了主窗口中的最近打开的数据库列表。
在"空白数据库"区域的"文件名"框中输入新数据库的名称。默认情况下, Access 会在一个最近使用Access 打开的Windows 文件夹中创建新的数据库文件。如需使用不同的文件夹,可以使用"文件名"右侧的文件夹图标进行浏览并将数据库创建在所需的位置。
Access 为新数据库提供了Dat abasel.accdb 的默认名称。
需确保提供的名称可以识别。在图2-4 中,新的数据库命名为MyAccessAutoAuctions.accdb (扩展名.accdb 为可选项,这是因为在未提供扩展名时,, Access 将自动提供扩展名)。创建完新的数据库后, Access 将自动打开该数据库。
图2-3 在"空白数据库" 区域的"文件名"框中输入新数据库的名称
注意: Access 2007 可以识别所有以前版本的Access 数据库文件. 默认情况下,将使用2007 格式(使用.accdb 扩展名),但是可以指定Access 2000 、2002-2003或者Access 2007 为默认格式.使用"文件"->"Access 选项" ~ "常用",选择"默认文件格式"选项并且选定所需要的格式. 例如,当一个Access 2007 文件大部分内容都在Access 2000 数据库中完成,此时就应该选择2000 格式来保留向后兼容.依然使用Access 2000 的用户将无法打开以_accdb 格式创建的Access 文件.
图2-4 新的My AccessAutoAuctions 数据库创建完成
Access 2007 可以直接兼容Access 2000 、2002-2003 和2007 等数据库。早期的Access 数据库文件(例如97 或者95) 必须转换为2000 、2002-2003 或者2007 格式才可以在Access 2007 中使用。Access 会检查正在打开的数据库文件,如果确定该文件必须进行转换,就会呈现出图2-5 中的"数据库增加功能"对话框。
图2-5 打开旧版的Access 数据文件会激活"数据库增加功能"对话框
在"数据库增加功能"对话框选择为"是"可以打开第二个对话框(不显示〉询问转换数据库的名称。选择No 就会以只读模式打开旧版本的数据库,此时允许查看但不可以修改数据库中的对象。该过程有时称为Æ!J!J旧数据库。
在必须要理解旧数据库的设计时,如果用户仍然使用旧的数据库且无法升级至Access 2007格式,那么启用一个旧数据库是非常必要的。
如果按书中所举的例子操作,请注意我们选择了MyAccessAutoAuctions.accdb 作为所创建数据库文件的文件名。该数据库用于我们的假定业务Access Auto Auctions 。输入文件名以后,Access 将创建一个空数据库。
了解Access如何处理数据:
Microsoft Access 处理数据的方法很多.出于简便,本书中太多数实例都使用了存储于本地在中的数据.本地在包含于Access • accdb 文件中.实例的情况目前就是如此.
在很多专业开发的Microsoft Access 应用程序中,实际的在保存在一个与其他界面对象(窗体、报哀、查询、页面、宏和模块)分离的数据库中(通常称为后端).放后端数据文件位于网络中的一个文件服务器上,每个用户在其计算机主都有一个前端数据库的复本(包含窗体和报表).这样做的目的是使应用程序更易于维护.通过将数据和在分离到另一个数据库中,维护工作(建立新的索引、修复在等)就会变得更容易并且不会影响到系统中的其他内容.
例如,在使用多用户系统并且在数据库中发现窗体或者报在有问题时.如果所有的数据和界面对象都处于同一个数据库,就必须在修复破损的窗体或者报表时关闭系统一一在对窗体或者报在进行修复时其他用户就无法使用应用程序.
通过将数据从其他的对象中分离出来,就可以在其他用户处理数据的同时修复错误对象.处理克问题之后,就可以向其他用户支付新的是改,这些用户就可以向他们的本地数据库中导入宵体或者报在.
另外,从界面对象中分离数据还有一个是为重要的原阁:安全性.通过结护数据库内部的数据,就可以更好地来控制信息.由于实现了后鹉数据库与用户的物理分离,用户不可能意外或故意删除者修改后端数据库文件.而且,后精数据易于备份和维护,并且不会影响到用户.
使用Access • accdb 数据库中的在朱开发应用程序,以后可以使用"数据库拆分器'向导自动删除.accdb 文件中的表以便于分离Access • accdb 文件.在本书的第6 章中对该过程做了解释.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

WeChat is one of the social media platforms in China that continuously launches new versions to provide a better user experience. Upgrading WeChat to the latest version is very important to keep in touch with family and colleagues, to stay in touch with friends, and to keep abreast of the latest developments. 1. Understand the features and improvements of the latest version. It is very important to understand the features and improvements of the latest version before upgrading WeChat. For performance improvements and bug fixes, you can learn about the various new features brought by the new version by checking the update notes on the WeChat official website or app store. 2. Check the current WeChat version We need to check the WeChat version currently installed on the mobile phone before upgrading WeChat. Click to open the WeChat application "Me" and then select the menu "About" where you can see the current WeChat version number. 3. Open the app

When logging into iTunesStore using AppleID, this error saying "This AppleID has not been used in iTunesStore" may be thrown on the screen. There are no error messages to worry about, you can fix them by following these solution sets. Fix 1 – Change Shipping Address The main reason why this prompt appears in iTunes Store is that you don’t have the correct address in your AppleID profile. Step 1 – First, open iPhone Settings on your iPhone. Step 2 – AppleID should be on top of all other settings. So, open it. Step 3 – Once there, open the “Payment & Shipping” option. Step 4 – Verify your access using Face ID. step

Having issues with the Shazam app on iPhone? Shazam helps you find songs by listening to them. However, if Shazam isn't working properly or doesn't recognize the song, you'll have to troubleshoot it manually. Repairing the Shazam app won't take long. So, without wasting any more time, follow the steps below to resolve issues with Shazam app. Fix 1 – Disable Bold Text Feature Bold text on iPhone may be the reason why Shazam is not working properly. Step 1 – You can only do this from your iPhone settings. So, open it. Step 2 – Next, open the “Display & Brightness” settings there. Step 3 – If you find that “Bold Text” is enabled

Is the clock app missing from your phone? The date and time will still appear on your iPhone's status bar. However, without the Clock app, you won’t be able to use world clock, stopwatch, alarm clock, and many other features. Therefore, fixing missing clock app should be at the top of your to-do list. These solutions can help you resolve this issue. Fix 1 – Place the Clock App If you mistakenly removed the Clock app from your home screen, you can put the Clock app back in its place. Step 1 – Unlock your iPhone and start swiping to the left until you reach the App Library page. Step 2 – Next, search for “clock” in the search box. Step 3 – When you see “Clock” below in the search results, press and hold it and

Screenshot feature not working on your iPhone? Taking a screenshot is very easy as you just need to hold down the Volume Up button and the Power button at the same time to grab your phone screen. However, there are other ways to capture frames on the device. Fix 1 – Using Assistive Touch Take a screenshot using the Assistive Touch feature. Step 1 – Go to your phone settings. Step 2 – Next, tap to open Accessibility settings. Step 3 – Open Touch settings. Step 4 – Next, open the Assistive Touch settings. Step 5 – Turn on Assistive Touch on your phone. Step 6 – Open “Customize Top Menu” to access it. Step 7 – Now you just need to link any of these functions to your screen capture. So click on the first

Can't enable Wi-Fi calling on iPhone? Call quality is improved and you can communicate even from remote locations where cellular networks are not as strong. Wi-Fi Calling also improves standard call and video call quality. So, if you can't use Wi-Fi calling on your phone, these solutions might help you fix the problem. Fix 1 – Enable Wi-Fi Calling Manually You must enable the Wi-Fi Calling feature in your iPhone settings. Step 1 – For this, you have to open Settings. Step 2 – Next, just scroll down to find and open the “Phone” settings Step 3 – In the phone settings, scroll down and open the “Wi-Fi Calling” setting. Step 4 – In the Wi-Fi Calling page, change “This iPhone

Are you trying to record something on your phone screen and it's going black? Typically, you can initiate screen recording from Control Center. In some cases, you cannot record items on the screen. We have mentioned all the scenarios along with the list of possible solutions that can help you record your screen properly. Reasons why screen recording goes black – If you try to record any DRM (Digital Rights Management) protected content while it’s playing on your iPhone screen, you won’t get anything. The output will be a pitch black screen. All leading OTT platforms like Netflix, Disney+, Hulu, and Peacock have this DRM that blocks any screen recording functionality. 2. Several websites prohibit the use of screen capture

Airplane mode is very convenient in some situations. However, the same airplane mode may give you a headache if your iPhone suddenly gets stuck on it. In this article, we have designed this set of solutions to get your iPhone out of airplane mode. Quick fix – 1. Try disabling Airplane Mode directly from Control Center. 2. If you are unable to disable Airplane Mode from Control Center, you can disable Airplane Mode directly from the Settings tab – If these tips don’t work, follow the fixes below to resolve the issue. Fix 1 – Force Restart Your Device The process of force restarting your device is very simple. All you have to do is follow these step-by-step instructions. Step 1 – You can start the process by pressing and releasing the Volume Up button. step
