CPSC 203 Introduction to Computers Lab 21 By Jie Gao
October 17, 2002CPSC 203 Lab by Jie Gao Forms in Access A form in Access is used to provide a friendly interface to the user The user can input data into a table through a form created on that table The user can also navigate data by using the form
October 17, 2002CPSC 203 Lab by Jie Gao Create a Form Two methods: Wizard or Design View Form Wizard is easy to use. You can create a form for a table on the fly! Design View can provide you more power. You can implement advanced features!
October 17, 2002CPSC 203 Lab by Jie Gao Form Wizard Select Which fields will appear in the form You can select fields from multiple tables Form type Background Name You can click “Finish” when you accept the defaults for the following steps.
October 17, 2002CPSC 203 Lab by Jie Gao Form Design View You can Add controls to the form Drag fields into the form Adjust the form layout Add header or footer Even do something like programming
October 17, 2002CPSC 203 Lab by Jie Gao Queries in Access A query in Access is used to filter records and fields Only the fields and records which match the query are returned The data in a query’s view is from some table
October 17, 2002CPSC 203 Lab by Jie Gao Create a Query Two ways: Wizard or Design View Query Wizard can only create simple queries such as select part of the fields to display Query Design View provides you the powerful interface to create various queries
October 17, 2002CPSC 203 Lab by Jie Gao Query Design View Select tables which your query is from Select fields or define new fields to display in the query Set criteria Use the expression builder =, >,, <, … Like