Presentation is loading. Please wait.

Presentation is loading. Please wait.

Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,

Similar presentations


Presentation on theme: "Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,"— Presentation transcript:

1 Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships, and queries, and your coworkers have started using the database. Now it’s time to create forms. Forms make it easier and faster to enter and understand your data. They also put an attractive face on your database, and they let other users view only the data you want them to see. This course explains how to create several types of forms.

2 Build a database V: Create forms for a new Access database Course goals Use the Form tool to create a simple form. Use the Split Form tool to create a split form — a form that lets you work with single records and large amounts of data. Use the Form Wizard to create a form. Use Layout view to change a form. Use Design view to change a form.

3 Build a database V: Create forms for a new Access database Basic forms Your new asset- tracking database is already saving time and money, but some coworkers don’t like using Datasheet view to enter data — a grid of columns and rows isn’t that easy to use. Not a problem: Forms to the rescue. A form is a screen that allows you to enter, change, and view the data in a database. Think of forms as windows into your data that help users understand and work with that data.

4 Build a database V: Create forms for a new Access database Basic forms Let’s take a quick look at what goes into a form, using the picture as a guide. Forms are made up of controls, such as text boxes, buttons, document tabs, and drop-down lists, grouped in a way that makes them easy to use and helps you get work done.

5 Build a database V: Create forms for a new Access database Basic forms Let’s take a quick look at what goes into a form, using the picture as a guide. The controls in the form are usually bound, or connected, to the tables or queries in your database — but not always.

6 Build a database V: Create forms for a new Access database A quick look at form design You design forms in much the same way that you designed the tables for your asset- tracking database. Start by listing the data that you want to enter or view. Then decide on the controls you need in order to capture and work with your data. For example, if you need to enter or edit data, you use a text box. If you need to give users a list of choices, you use a list control.

7 Build a database V: Create forms for a new Access database A quick look at form design You design forms in much the same way that you designed the tables for your asset- tracking database. If it helps, try sketching your form. If other users are involved, you can have them review your sketch.

8 Build a database V: Create forms for a new Access database Create a form with the Form tool The Form tool automatically creates a form that is bound, or connected, to a single data source, either a table or a query. You select your data source, click a button, and Access creates the form. The new form displays all the fields in the data source, but you can remove any fields that you don’t want to see.

9 Build a database V: Create forms for a new Access database Create a form with the Form tool The picture illustrates the process. In the Navigation Pane, select the table or query that you want to use as the data source for the form. Click the Create tab, and in the Forms group, click Form. The new form opens in Layout view, which gives you a chance to change it.

10 Build a database V: Create forms for a new Access database Create a form with the Form tool The picture illustrates the process. Optionally, change your form. For example, you can easily remove a control that you don’t need by right- clicking the control and clicking Delete. After you finish, save your work — and there’s your form.

11 Build a database V: Create forms for a new Access database Create a split form with the Split Form tool Split forms are a new feature that can make it easier to view, enter, and change single records or large amounts of data. A split form combines a form with a datasheet. If you only need to enter or change a single record, use the form. If you need to enter or view a lot of data, use the datasheet.

12 Build a database V: Create forms for a new Access database Create a split form with the Split Form tool The picture shows how to create a split form. In the Navigation Pane, select the table or query that you want to use as the data source for the split form. Click the Create tab, and in the Forms group, click Split Form. Access creates the new form and opens it in Layout view, which gives you a chance to change it.

13 Build a database V: Create forms for a new Access database Create a split form with the Split Form tool The picture shows how to create a split form. Optionally, change your form. For example, you can easily resize the controls by clicking and dragging.

14 Build a database V: Create forms for a new Access database Create a form with the Form Wizard You use the Form Wizard when you want more control over a form than the other tools provide. For example, the Form Wizard allows you to group and sort the fields in the form. It also allows you to use fields from more than one table or query.

15 Build a database V: Create forms for a new Access database Create a form with the Form Wizard Here’s how to use the Form Wizard. On the Create tab, in the Forms group, click More Forms, then click Form Wizard. Use the first screen of the wizard to select the tables, queries, and fields that serve as the data sources for your form. Remember that if you use multiple data sources, they must participate in a relationship.

16 Build a database V: Create forms for a new Access database Create a form with the Form Wizard Here’s how to use the Form Wizard. On the second screen of the wizard, select a layout, such as tabular or stacked. On the third screen, select a style. You can preview each style by clicking it and seeing the results in the left-hand pane.

17 Build a database V: Create forms for a new Access database Create a form with the Form Wizard Here’s how to use the Form Wizard. On the fourth screen, give your form a name and click Finish.

18 Build a database V: Create forms for a new Access database Ways to change forms Your new forms are nice, but they aren’t quite right. You’d like to resize some fields, rearrange some others, and maybe have your forms display the current date and time. No problem. Access provides two main tools for changing a form — Layout view and Design view. You use Layout view to change the look and feel of a form. Design view lets you do some tasks that Layout view won’t.

19 Build a database V: Create forms for a new Access database Ways to change forms The picture shows how to work with each view. To open a form in Layout view, go to the Navigation Pane, right-click the form, and then click Layout View. Use the commands on the Format and Arrange tabs. For example, in the AutoFormat group, click a style to apply it to the form.

20 Build a database V: Create forms for a new Access database Ways to change forms The picture shows how to work with each view. Follow the same steps to open a form in Design view. Once you’re there, you can do a number of things you can’t in Layout view, such as adding certain types of controls to the form.


Download ppt "Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,"

Similar presentations


Ads by Google