Skip to main content

Microsoft Access MS Access Basics Tips and Trick-7

Adding Data An Access database is not a file in the same sense as a Microsoft Office Word document or a Microsoft Office PowerPoint are. Instead, an Access database is a collection of objects like tables, forms, reports, queries etc. that must work together for a database to function properly. We have now created two tables with all of the fields and field properties necessary in our database. To view, change, insert, or delete data in a table within Access, you can use the table’s Datasheet View. A datasheet is a simple way to look at your data in rows and columns without any special formatting. Whenever you create a new web table, Access automatically creates two views that you can start using immediately for data entry. A table open in Datasheet View resembles an Excel worksheet, and you can type or paste data into one or more fields. You do not need to explicitly save your data. Access commits your changes to the table when you move the cursor to a new field in the same row, or whe...

Microsoft Access MS Access Basics Tips and Trick-3

Objects

MS Access uses “objects" to help the user list and organize information, as well as prepare specially designed reports. When you create a database, Access offers you Tables, Queries, Forms, Reports, Macros, and Modules. Databases in Access are composed of many objects but the following are the major objects:-

  • Tables
  • Queries
  • Forms
  • Reports

Together, these objects allow you to enter, store, analyze, and compile your data. Here is a summary of the major objects in an Access database;

Table

Table is an object that is used to define and store data. When you create a new table, Access asks you to define fields which is also known as column headings.

  • Each field must have a unique name, and data type.

  • Tables contain fields or columns that store different kinds of data, such as a name or an address, and records or rows that collect all the information about a particular instance of the subject, such as all the information about a customer or employee etc.

  • You can define a primary key, one or more fields that have a unique value for each record, and one or more indexes on each table to help retrieve your data more quickly.

Query

An object that provides a custom view of data from one or more tables. Queries are a way of searching for and compiling data from one or more tables.

  • Running a query is like asking a detailed question of your database.

  • When you build a query in Access, you are defining specific search conditions to find exactly the data you want.

  • In Access, you can use the graphical query by example facility or you can write Structured Query Language (SQL) statements to create your queries.

  • You can define queries to Select, Update, Insert, or Delete data.

  • You can also define queries that create new tables from data in one or more existing tables.

Form

Form is an object in a desktop database designed primarily for data input or display or for control of application execution. You use forms to customize the presentation of data that your application extracts from queries or tables.

  • Forms are used for entering, modifying, and viewing records.

  • The reason forms are used so often is that they are an easy way to guide people toward entering data correctly.

  • When you enter information into a form in Access, the data goes exactly where the database designer wants it to go in one or more related tables.

Report

Report is an object in desktop databases designed for formatting, calculating, printing, and summarizing selected data.

  • You can view a report on your screen before you print it.

  • If forms are for input purposes, then reports are for output.

  • Anything you plan to print deserves a report, whether it is a list of names and addresses, a financial summary for a period, or a set of mailing labels.

  • Reports are useful because they allow you to present components of your database in an easy-to-read format.

  • You can even customize a report's appearance to make it visually appealing.

  • Access offers you the ability to create a report from any table or query.

Other MS Access Objects

Let us now take a look at other MS Access objects.

Macro

This object is a structured definition of one or more actions that you want Access to perform in response to a defined event. An Access Macro is a script for doing some job. For example, to create a button which opens a report, you could use a macro which will fire OpenReport action.

  • You can include simple conditions in macros to specify when one or more actions in the macro should be performed or skipped.

  • You can use macros to open and execute queries, to open tables, or to print or view reports.

  • You can also run other macros or Visual Basic procedures from within a macro.

  • Data macros can be attached directly to table events such as inserting new records, editing existing records, or deleting records.

  • Data macros in web apps can also be stand-alone objects that can be called from other data macros or macro objects.

Module

Module is an object in desktop databases containing custom procedures that you code using Visual Basic. Modules provide a more discrete flow of actions and allow you to trap errors.

  • Everything that can be done in a macro can also be done in a module, but you don't get the macro interface that prompts you what is needed for each action.

  • Modules are far more powerful, and are essential if you plan to write code for a multi-user environment, because macros cannot include error handling.

  • Modules can be standalone objects containing functions that can be called from anywhere in your application, or they can be directly associated with a form or a report to respond to events on the associated form or report.

Comments

Popular posts from this blog

Microsoft PowerPoint FORMATTING PRESENTATION Tips and Tricks-12

Using Slide Master in Powerpoint 2010 Slide master is simple way of applying changes to the entire slide. Every presentation has at least one slide master, but you can have more than one. Using features like copy/ paste and format painting you can make changes to different sections within the presentation to make them look similar, however, if you want to use a theme and background throughout the slide, using the slide master is a simpler and more graceful way of approaching it. Given below are the steps to customise your slide master. Step (1):  Go to  Master Views  group under the  View  ribbon. Step (2):  Click on  Slide Master  to open the  Slide Master  Ribbon. The top most slide in the left sidebar is the  Master  slide. All the slides within this master template would follow the settings you add on this master slide. Step (3):  You can make changes to the master slide in terms of the theme, design, font properties, ...

Microsoft PowerPoint MS POWERPOINT BASICS Tips and Tricks-11

Adding Slide Notes Powerpoint 2010 Slides notes can be very useful tools for presentation. These notes are not displayed on the screen in the  Slide Show  mode, but the presenter can see them so they can prepare well to present the slides. Depending on your printing settings, you can also print out the slide notes along with the slides. This chapter will show you how to add slide notes to an existing presentation. Step (1):  To locate the slide notes set the view in  Normal  mode. Step (2):  Slide Notes section is indicated by the "Click to add notes". Step (3):  You can click on the top border and drag the section to increase its size to make it easier to type. Step (4):  Type your text in this section as slide notes. You can only use bullets, numbering and alignment functions in the Slide Notes section. All other functions can be selected, but will apply to the selected slide, not the notes. Slide notes can be printed from the print menu under B...

Microsoft Excel-office ADVANCED OPERATIONS Tips and Tricks-8

Using Macros in Excel 2010 Macros in MS Excel Macros enable you to automate almost any task that you can undertake in Excel 2010. By using macro recorder from  View Tab » Macro Dropdown  to record tasks that you perform routinely, you not only speed up the procedure considerably but you are assured that each step in a task is carried out the same way each and every time you perform a task. To view macros choose  View Tab » Macro dropdown . Macro Options View tab contains a Macros command button to which a dropdown menu containing the following three options. View Macros  − Opens the Macro dialog box where you can select a macro to run or edit. Record Macro  − Opens the Record Macro dialog box where you define the settings for your new macro and then start the macro recorder; this is the same as clicking the Record Macro button on the Status bar. Use Relative References  − Uses relative cell addresses when recording a macro, making the macro more versatile b...