Access Forms
description
Transcript of Access Forms
![Page 1: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/1.jpg)
Access Forms
ISYS 562
![Page 2: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/2.jpg)
Components of a Form
• Form Header, Form Footer• Page Header, Page Footer• Detail Section• Controls
![Page 3: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/3.jpg)
Bound and Unbound Forms
• A bound form is a form that is tied to either a table or query.– Form’s Record Source property
• Unbound form:– Example: Switchboard
![Page 4: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/4.jpg)
Form Properties
• Format• Data• Event• Other
![Page 5: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/5.jpg)
Creating a Form
• Form/New– Design View– Form Wizard– Auto Forms
• Customize the Generated Form using the Design View
![Page 6: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/6.jpg)
Add Additional Controls
• Examples:– Toolbox
• Textbox with expression– =Count(SID)– =IIF(GPA < 2.0,”Bad”,”Good”)
![Page 7: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/7.jpg)
Data Validation
• Table design view• Form
– Textbox Data tab
![Page 8: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/8.jpg)
Conditional Formatting
• At form design view:– Format/Conditional formatting
![Page 9: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/9.jpg)
ReadOnly Form
• Form properties:– Form/Data:
– Set no to: Allow Edit, Allow delete, Allow Deletion, Data Entry
![Page 10: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/10.jpg)
Main/Sub Form
• 1. Create a join query and use the join query to create a form.
• 2. Using Form Wizard:– Add two tables
![Page 11: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/11.jpg)
Main/SubForm with Total
1. Create a textbox in subform’s form footer: =Count(sid)
2. Create a textbox in main form’s footer: = [subform name],[Form]!TextBoxName
![Page 12: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/12.jpg)
Form Design View
• ToolBox and Wizards
![Page 13: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/13.jpg)
ToolBox: View/Toolbar/ToolBox
![Page 14: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/14.jpg)
Command Button Wizard
![Page 15: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/15.jpg)
Option Group Wizard
![Page 16: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/16.jpg)
ComboBox Wizard
![Page 17: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/17.jpg)
ListBox Wizard
![Page 18: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/18.jpg)
Creating Reports
![Page 19: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/19.jpg)
Report Sections
• Report Header/Footer– View/Report Header, Footer
• Page Header/Footer– View/Page Header, Footer
• Group Header/Footer– View/Sorting and grouping
• Detail section
![Page 20: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/20.jpg)
Creating Reports
• Design view– Format/Condition formatting– Group subtotal
• Adding textbox
• Report Wizard
![Page 21: Access Forms](https://reader035.fdocuments.in/reader035/viewer/2022062410/56815d4f550346895dcb57cc/html5/thumbnails/21.jpg)
SwitchBoard Manager
• Tools/Database Utilities/SwitchBoard Manager
• SwitchBoard window:– Main form– New: Add a new switchboard form– Edit: Edit items on a switchboard form
• Edit switchboard window:– New: Add a new item on a form– Edit