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-6A

Create Tables

When you create a database, you store your data in tables. Because other database objects depend so heavily on tables, you should always start your design of a database by creating all of its tables and then creating any other object. Before you create tables, carefully consider your requirements and determine all the tables that you need.

Let us try and create the first table that will store the basic contact information concerning the employees as shown in the following table −

Field NameData Type
EmployeelDAutoNumber
FirstNameShort Text
LastNameShort Text
Address1Short Text
Address2Short Text
CityShort Text
StateShort Text
ZipShort Text
PhoneShort Text
Phone TypeShort Text

Let us now have short text as the data type for all these fields and open a blank database in Access.

This is where we left things off. We created the database and then Access automatically opened up this table-one-datasheet view for a table.

Let us now go to the Field tab and you will see that it is also automatically created. The ID which is an AutoNumber field acts as our unique identifier and is the primary key for this table.

The ID field has already been created and we now want to rename it to suit our conditions. This is an Employee table and this will be the unique identifier for our employees.

Click on the Name & Caption option in the Ribbon and you will see the following dialog box.

Change the name of this field to EmployeeID to make it more specific to this table. Enter the other optional information if you want and click Ok.

We now have our employee ID field with the caption Employee ID. This is automatically set to auto number so we don't really need to change the data type.

Let us now add some more fields by clicking on click to add.

Choose Short Text as the field. When you choose short text, Access will then highlight that field name automatically and all you have to do is type the field name.

Type FirstName as the field name. Similarly, add all the required fields as shown in the following screenshot.

Once all the fields are added, click the Save icon.

You will now see the Save As dialog box, where you can enter a table name for the table.

Enter the name of your table in the Table Name field. Here the tbl prefix stands for table. Let us click Ok and you will see your table in the navigation pane.




Comments

Popular posts from this blog

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

Microsoft PowerPoint MS POWERPOINT BASICS Tips and Tricks-12

Managing Sections in Powerpoint 2010 Given the popularity of PowerPoint and its versatility, there are situations when you are dealing with very large slide decks or just collaborating with multiple people to build the slides. In such cases, it is always helpful to be able to segregate the slides into smaller groups and work with these groups. PowerPoint 2010 introduces the concept of sections to achieve this. Here are the main functions you can execute with sections. Creating Sections The steps to create a new section are as follows. You can execute these steps from Normal or Slide Sorter views. Step (1):  In  Normal  or  Slide Sorter  view right click at the position where you want to add the section and select add section. Step (2):  The new section gets added to the presentation with all the subsequent slides being included in this section. Step (3):  By default the new section is named "Untitled Section" but you can change the section name. Right ...

Microsoft PowerPoint WORKING WITH MULTIMEDIA Tips and Trick-5

Adding Shapes to Slide in Powerpoint 2010 PowerPoint supports the addition of shapes in presentations. PowerPoint Shapes include basic geometric shapes, flowchart components, arrows, callouts, lines and other predefined special shapes. These shapes also double up as text boxes as they support adding text to them directly. Besides, you can also use these shape to crop pictures to shape. Given below are the steps to add a shape in PowerPoint. Step (1):  Go to  Illustrations  group under  Insert  Tab. Step (2):  Click on the  Shapes  drop down to view available shapes Step (3):  Select the shape you want to insert. This will change the cursor to a + sign Step (4):  Click and drag on the slide to create the shape. As you drag the shape will show up on the slide. Continue to drag and adjust the size and symmetry of the shape. The beginner to advance and start up step-5 Thank you all very much