Shelly Cashman Access 2016 | Module 8: SAM Project 1b Shelly Cashman

Shelly Cashman Access 2016 | Module 8: SAM Project 1b

Shelly Cashman Access 2016 | Module 8: SAM Project 1b

All Around Outside Maintenance

MACROS, NAVIGATION FORMS, CONTROL LAYOUTS

GETTING STARTED

Open the file SC_AC16_8b_FirstLastName_1.accdb, available for download from the SAM website.

Save the file as SC_AC16_8b_FirstLastName_2.accdb by changing the “1” to a “2”.

Hint: If you do not see the .accdb file extension in the Save As dialog box, do not type it. Access will add the file extension for you automatically.

Open the _GradingInfoTable table and ensure that your first and last name is displayed as the first record in the table. If the table does not contain your name, delete the file and download a new copy from the SAM website.

PROJECT STEPS

Open the Preview Client Financial Report macro in Design View. Change the View argument to Print Preview. Save the change to the macro, and then close the Preview Client Financial Report macro.

The Open Basic Property List macro contains an error. Complete the following tasks to correct the macro:

Open the Open Basic Property List macro in Design View.

Click the Single-Step button.

Run the macro.

Correct the error. (Hint: The macro should open the Basic Property List report in Print Preview mode.)

Click the Single-Step button again to deselect it.

Save and close the Open Basic Property List macro.

Create a new macro with two submacros by following the directions below:

When the Macro Design window opens, display the Action Catalog.

Add the first submacro to the macro, using Open Property Table as the name for the submacro.

In the first submacro, use the OpenTable action to open the Property table in Datasheet View and in Edit data mode.

Add a second submacro to the macro, using Open Client Table as the name for the macro.

In the second submacro, use the OpenTable action to open the Client table in Datasheet View and in Edit data mode.

Save the macro with the name OpenTables.

Confirm that your macro matches Figure 1 below, and then close the macro.

Figure 1: OpenTables Macro

Open the Client Types table in Datasheet View, and then create a data macro for the table by completing the following tasks:

Click the Before Change button on the Table Tools tab.

Create the macro shown in Figure 2 on the next page.

Save and close the macro, and then save and close the Client Types table.

Figure 2: Data Macro for a Before Change Event

Create a Datasheet form based on the State table, and then save the form with the default name State. Close the form.

Create a Navigation form for the database with the following options:

Use the Horizontal Tabs layout.

Add the Manager, Client, and Property Datasheet forms to the Navigation form in that order.

Change the title (in the Form Header) to Basic Navigation Form. (Hint: Do not type the period.)

Save the navigation form with the name Basic Navigation Form. (Hint: Do not type the period.)

Confirm that your form matches Figure 3 on the next page. Save and close the Basic Navigation Form.

Figure 3: Basic Navigation Form – Form View

Open the Client form in Datasheet View, and then complete the following tasks to create a UI macro for the form:

Select the ClientNumber column. (Hint: The ClientNumber column has the caption “CL#”.)

Click the Property Sheet button.

Click the Build button for the On Click event, and then select Macro Builder.

Create a macro that opens the Client Master Form when a user selects a value in the ClientNumber column. The macro actions are shown in Figure 4 on the next page.

Save and close the macro, and then save and close the form.

Figure 4: UI Macro Associated with an On Click Event in the Client Form

Open the Main Menu Navigation Form in Layout View, and then complete the following tasks:

Add the Forms List form to the Main Menu Navigation Form as the last horizontal tab.

Rename the Forms List tab as Master Forms. (Hint: Do not type the period.)

Move the Manager tab so that it appears first in the list.

Confirm that the form matches Figure 5 on the next page, and then save and close the form.

Figure 5: Main Menu Navigation Form – Form View

Open the Open Master Forms form in Design View, and then add a command button to the form in the approximate position shown in Figure 6 on the next page. Use the Command Button wizard to create the command button while incorporating the following options:

Select Miscellaneous as the category and Run Macro as the action.

Select Forms Macro.Open Property Master Form as the macro.

Select the Text option, and then enter the text Open Property Master Form. (Hint: Do not type the period.)

Name the command button Open_Property_Master_Form. (Hint: Do not type the period.)

Save the changes to the form.

With the Open Master Forms form still open in Design View, complete the following tasks:

Select the three buttons on the form, and then use the Size/Space menu to adjust the size to To Widest.

Use the Size/Space menu to adjust the spacing of the button controls to Equal Vertical.

Align the buttons to the Left.

Confirm that your form matches Figure 6, and then save and close the Open Master Forms form.

Figure 6: Open Master Forms Form – Design View

Open the Manager Layout Form in Layout View, and then modify the form to match Figure 7 on the next page by completing the following tasks:

Select the cell containing the value for the FirstName field, and then split the cell horizontally.

Delete the LastName label.

Move the cell containing the value for the LastName field to the position shown in Figure 7 (to the right of the FirstName field in the cell created in Step 11a).

Change the FirstName label to Manager Name (including the space), as shown in Figure 7.

Move the StartDate label and StartDate field to the position shown in Figure 7.

Select the control layout for the form, and then change the control margins to Medium and the control padding to Narrow.

Save and close the form.

Figure 7: Manager Layout Form – Layout View

Open the States and Properties Tabular Report in Layout View. Select the control layout, and then change the report layout to Stacked as shown in Figure 8 on the next page. (Hint: To select a control layout, click the four-headed arrow in the upper-left corner of the report.) Save the change to the report, and then close it.

Figure 8: States and Properties Tabular Report – Layout View

Save and close any open objects in your database. Compact and repair your database, close it, and then exit Access. Follow the directions on the SAM website to submit your completed project.

2

The post Shelly Cashman Access 2016 | Module 8: SAM Project 1b Shelly Cashman appeared first on PapersSpot.

CLAIM YOUR 30% OFF TODAY

X
Don`t copy text!
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
???? Hi, how can I help?