1 / 10

Data Types and Field Properties

Data Types and Field Properties. Data types and field properties are used to format data so that it can be used and managed The data type defines the value of a cell and the field property defines the format of the data within the cell

jeverett
Télécharger la présentation

Data Types and Field Properties

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Types and Field Properties • Data types and field properties are used to format data so that it can be used and managed • The data type defines the value of a cell and the field property defines the format of the data within the cell • For example: the data type for a zip code field is number and the field property is used to limit the size of the entry to 5 characters 5.01 Understand database tables used in business.

  2. Why are data types important? • In the example on the right, the Adoption data was correctly sorted in ascending order because the data type for Date was used. • To control data. • In the example on the left, the Age data was sorted in descending order, but because the data type was not set as Number, the field cannot be sorted correctly. 5.01 Understand database tables used in business.

  3. Example of a Data Type • The data type for the adoption date field is date/time 5.01 Understand database tables used in business.

  4. What data types are available? • Text • Memo • Number • Date/time • Currency • AutoNumber • Yes/No • Lookup Wizard Note: OLE Object and Hyperlink data types are not addressed in this objective. 5.01 Understand database tables used in business.

  5. When to use data types: • Think of data types and field properties as tools that increase the power of the database. • The default format for all data types is text. • Use a different data type if you need to control how the data in a particular field will be searched, sorted, or used in calculations. 5.01 Understand database tables used in business.

  6. Why are field properties important? • To control how data is entered in a field • Requiring the same format for all of the phone numbers is a way to ensure accuracy In this example, an Input Mask field property was used to force the user to enter the telephone number in a specific format. 5.01 Understand database tables used in business.

  7. Example of a Field Property Actual Data • An input mask field property is used for the Adoption Date field to make sure the date is entered correctly 5.01 Understand database tables used in business.

  8. Field Properties: • Field Size • Format • Input mask • Caption Note: Only 4 field properties are mentioned and addressed in this objective. 5.01 Understand database tables used in business.

  9. When to set field properties: • Use a field property if you want to specify how the data is entered, what data can be entered, and how the data will appear. 5.01 Understand database tables used in business.

  10. Steps in Creating a Database • Plan the structure of the database (sketch on paper) • How will the data be grouped? • What will the field names be? • What will you name the database? • Open and save a new database • Create a table • Enter the field names • Set the data types • Set the field properties • Enter the data 5.01 Understand database tables used in business.

More Related