Customizing   FieldProperties  Ms. Lara Jo F. Boongaling
Field Properties Are field characteristics set for each field  name with its corresponding data type while  in the Design...
The field properties window
Create a new database file namedProperties. Design a new structurehaving these field names and datatypes.1.   Company ID(t...
Field Size Property Is used to specify the number of characters to  be entered in a field. It is also used to set the ma...
Copy the table empfile1 to empfile2.In the design view , change the field size   property to their new settings:Company ID...
Format Property Is used to customize the way numbers, dates,  times and text are displayed and printed.
Date / Time Data Type       Format
Decimal Places Property Specifies the number of digits to the right of   the decimal point, which Access uses to   displa...
In empfile2, set the following to their new   Format and Decimal Places property settings:Age – General Number w/o decimal...
Input Mask Property Is a field template or a pattern to validate  how each character is entered into the field. This mak...
In empfile2, set the input mask of the following   fields:Company ID - >AAA-000(to display 3 capital   letters, dash and 3...
Caption Property Is used to assign a different label to appear at  the top of the column in the Datasheet View. This is ...
Default Value Property Is used to assign a value that is automatically  displayed in a table when records are  entered. ...
Set the caption property of Birthday field to  Birthdate.Set the Default Value Property of Gender field  to “M”.
Validation Rule Property It allows you to verify data as you enter it into  the table It is an expression used to specif...
Validation Text Property Is used to specify the text to appear in the  alert box that tells the user when a validation  r...
In empfile2, assign the validation rule paired   with the validation text message.    Field Name    Validation Rule   Vali...
Required Property To specify whether a value is required in a  field. If it is set to YES then the field is required to ...
Allow Zero LengthProperty Is used to specify whether a zero-length  string (“”) is a valid entry in a table field.Yes – a...
In empfile2, assign these property settings to   the following fields:Company ID         Yes (Required Property)Employee N...
Activity:Give the input mask of the ff:1. It will accept 3 small letters, a dash and 3   digit numbers. (entry required)2....
ThankYou!
Day4customizing field properties part1
Day4customizing field properties part1
Day4customizing field properties part1
Day4customizing field properties part1
Day4customizing field properties part1
Upcoming SlideShare
Loading in …5
×

Day4customizing field properties part1

979 views
938 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
979
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Day4customizing field properties part1

  1. 1. Customizing FieldProperties Ms. Lara Jo F. Boongaling
  2. 2. Field Properties Are field characteristics set for each field name with its corresponding data type while in the Design View. It determines how long the field can be, what it will look like, what default value will be, and what can be entered.
  3. 3. The field properties window
  4. 4. Create a new database file namedProperties. Design a new structurehaving these field names and datatypes.1. Company ID(text) 6. Birthday(date/time)2. Company Name(text) 7. Gender(text)3. Company Address(text) 8. Position(text)4. Employee Name(text) 9. Department(text)5. Age(number) 10. Salary(number)save as empfile1.
  5. 5. Field Size Property Is used to specify the number of characters to be entered in a field. It is also used to set the maximum size for data stored in a field set under the Text, Number or AutoNumber data type.
  6. 6. Copy the table empfile1 to empfile2.In the design view , change the field size property to their new settings:Company ID – 30 charactersEmployee Name – 30 charactersAge – ByteGender – 1 character
  7. 7. Format Property Is used to customize the way numbers, dates, times and text are displayed and printed.
  8. 8. Date / Time Data Type Format
  9. 9. Decimal Places Property Specifies the number of digits to the right of the decimal point, which Access uses to display numbers.Auto – default setting.0 to 15 – the digits appear at the right of the separator is the specified number of decimal places set by the user.
  10. 10. In empfile2, set the following to their new Format and Decimal Places property settings:Age – General Number w/o decimalsBirthday – Medium DateSalary - Standard
  11. 11. Input Mask Property Is a field template or a pattern to validate how each character is entered into the field. This makes data entry easier to handle by assigning a desired format to Text, Number, Currency and Date/Time data type entries in a datasheet.
  12. 12. In empfile2, set the input mask of the following fields:Company ID - >AAA-000(to display 3 capital letters, dash and 3 – digit numbers)Salary - P99,999.99(to display a 5-digit value of two decimal places with a P sign)Age - 99(will accept and display a 2-digit value)Gender - >L(will accept any letter to display in upper case)
  13. 13. Caption Property Is used to assign a different label to appear at the top of the column in the Datasheet View. This is usually used in case you want to display a different name that will serve as the field name, aside from the previously one set in the Design View.
  14. 14. Default Value Property Is used to assign a value that is automatically displayed in a table when records are entered. It takes effect only on new additional records.
  15. 15. Set the caption property of Birthday field to Birthdate.Set the Default Value Property of Gender field to “M”.
  16. 16. Validation Rule Property It allows you to verify data as you enter it into the table It is an expression used to specify requirements for data entered or to limit the values that can be entered in a field. The maximum length set is 2048 characters.
  17. 17. Validation Text Property Is used to specify the text to appear in the alert box that tells the user when a validation rule is broken. The maximum length is 255 characters.
  18. 18. In empfile2, assign the validation rule paired with the validation text message. Field Name Validation Rule Validation Text Age >=18 and <=60 Enter ages 18 to 60 only Gender M or F Enter M or F only Department MNGT or ACCT or Department MKTG or PROD or Choices: MAIN MNGT, ACCT, MKTG, PROD, MAINSet the Department field to:Field Size- 4 Input Mask - >AAAA
  19. 19. Required Property To specify whether a value is required in a field. If it is set to YES then the field is required to enter data, if set to NO, then the field does not have any requirement set.
  20. 20. Allow Zero LengthProperty Is used to specify whether a zero-length string (“”) is a valid entry in a table field.Yes – allow a zero length property as a valid entry.No – if you do not allow a zero length property as a valid entry.
  21. 21. In empfile2, assign these property settings to the following fields:Company ID Yes (Required Property)Employee Name Yes (Required Property)Position Yes (Zero Length Property)Department Yes (Required Property)Salary Yes (Required Property)
  22. 22. Activity:Give the input mask of the ff:1. It will accept 3 small letters, a dash and 3 digit numbers. (entry required)2. It will accept 4 capital letters. (entry required)3. It will accept 3 capital letters, dash and 3 digit numbers. (entry optional)
  23. 23. ThankYou!

×