0% found this document useful (0 votes)
34 views

Assignment On PC Access Table

This document discusses modifying table and field properties in a relational database like Access. It explains that tables contain records made up of fields, and different field types can store text, numbers, dates, etc. It provides steps for modifying tables and fields in Design View, including changing field names, data types, descriptions, and order. It also describes several important field properties like field size, input mask, format, and default value that can be set to ensure data integrity.

Uploaded by

Drishti Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Assignment On PC Access Table

This document discusses modifying table and field properties in a relational database like Access. It explains that tables contain records made up of fields, and different field types can store text, numbers, dates, etc. It provides steps for modifying tables and fields in Design View, including changing field names, data types, descriptions, and order. It also describes several important field properties like field size, input mask, format, and default value that can be set to ensure data integrity.

Uploaded by

Drishti Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Modifying Table and

Field Properties
z

DRISHTI SHARMA

SEM-2, BSc (Hons.) PHYSICS

JAMIA MILLIA ISLAMIA


Introduction to Tables

• Tables are essential objects in a


database because they hold all the
information or data. For example, a
database for a business can have a
Contacts table that stores the names of
their suppliers, e-mail addresses, and
telephone numbers.
Overview
A relational database like Access usually has several related tables. In a well-designed database,
each table stores data about a particular subject, such as employees or products. A table has
records (rows) and fields (columns). Fields have different types of data, such as text, numbers,
dates, and hyperlinks.

1. A record: Contains specific data, like information about a particular employee or a


product.
2. A field: Contains data about one aspect of the table subject, such as first name or
e-mail address.
3. A field value: Each record has a field value. For example, Contoso, Ltd.
or [email protected].
Working with a Table in Design View

 To create a new table in Design view, we define the fields that will comprise the table before
we enter any data.

 In Design view for tables, each row corresponds to a field.

 We can edit, insert, and delete fields in our database tables in Design view.

 We insert a field by adding a row, while we delete a field by removing a row.

 We can also change field order by dragging a row selector to a new position.
Create or Modify a Table in Design View
z

Step 1-Click the Create tab, and then click the Table Design button, or select the table we want to modify
in the Navigation pane, and then click the Design View button.

Step 2-Click in a Field Name cell, and then type a modified field name.

Step 3-Click in a Data Type cell, click the Data Type list arrow, and then choose a data type.

Step 4-Click in a Description cell, and then type a description. If the Property Update Options button
appears, select an option, if necessary.
Step 5-To insert a field, click the row selector below where we want the field, and then click the Insert
Rows button on the Ribbon.

Step 6-To delete a field, click the row selector for the field we want to delete, and then click
the Delete Rows button on the Ribbon.

Step 7-Click the Save button on the Quick Access Toolbar, and then if necessary, enter a table name
and click OK.
Step 8-When it is done, click the Close button in the Table window.
Modifying a Table in Design View
Data Types
Some of the data types are given below:
Field properties
A field property applies to a particular field in a table and defines one of the field's characteristics or
an aspect of the field's behavior. We can set some field properties in Datasheet view. We can also
set any field property in Design view by using the Field Properties pane.
Some of the field properties are as follows,
 Field Size: In the Field Size box for Text fields, we can enter the maximum number
of characters that can be entered in the field.
 Input Mask: For Text and Date field types, this feature provides a template with
punctuation marks to make entering the data easier.

 Format: Click the drop-down list and choose the format in which text,
numbers, and dates and times are displayed.

 Decimal Places: For a field that holds numbers, open the Decimal Places drop-
down list and choose how many numbers can appear to the right of the
decimal point.
 Default Value: When we know that the majority of records require a certain
value, number, or abbreviation, we can enter it in the Default Value text
box. 

Validation Rule, Validation Text, Required etc. are some of the field properties.
Using field properties to ensure data integrity
The data integrity can be ensured by setting field properties such as Field Size, Format,
and Required.

o Field Size : Field Size can be set to hold a specific number of characters, up to as many as 255
for text fields. If we were using a text field to hold the two-letter state postal abbreviation, the
field size could be set to 2 to ensure that no one enters a full state name into this field.

o Format : The Format field property can be set to display text or numbers in a standardized way.
For example, text can be set to show as all uppercase, and numbers can be set to show scientific
numbers, percentages, or decimals.

o Set the Required property to Yes if we want users entering data to be required to enter


something in the field. Choose No if users are allowed to leave the field blank.
yo u
a nk
Th
!!

You might also like