Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Research Papers Database. 2 Form – Add – Delete – Change … information in the database.

Similar presentations


Presentation on theme: "1 Research Papers Database. 2 Form – Add – Delete – Change … information in the database."— Presentation transcript:

1 1 Research Papers Database

2 2 Form – Add – Delete – Change … information in the database

3 Forms Datasheet View similar to the datasheet view of a table… similar to an excel spreadsheet Use forms to add, change, delete info in DB Form in Datasheet View – Default Form Created when database created Custom Form – More flexible – More Control Permissions  Not every should see payroll info, but someone in the payroll office should have that capability 3

4 Main Forms and Subforms 4 Main Form Two Subforms: Charges and Payments Subform  part of a main form and displays info about the current record in the main form

5 Controls and Properties Controls let you view and work with data in your database application. The most frequently used control is the text box, but her controls include command buttons, labels, check boxes, and subform/subreport controls. Controls can be bound or unbound (or calculated) 5

6 Bound Form Vs Unbound Form All forms have controls and each form can have many properties. Bound Form – Controls are directly connected to a field in the database or query. Unbound Form – Are not directly connected to a field in the database or query. – The database fields will need to be manually connected to the database via SQL in your VBA Code 6

7 Controls and Properties 7 Control Properties

8 Bound Form in Design View 8 NOTE: see next slide for directions to create this form

9 Create a Form Create basic form using the form wizard. This will be your main form. (You can create a new blank form, but it is much easier to make changes to an existing form instead of creating an entirely new one.) – Create  Form Wizard – Tables/Queries: Client – Move ClientID, FirstName, and LastName fields from Available to Selected – Form Layout: Columnar – Form Name: Client – Select Modify the form’s design, and click Finish 9

10 Properties of the Form Control 10

11 Control Source for FirstName Property 11

12 Control Source for FirstName Property 12 NO means: You can't move the focus to the control by pressing the TAB key.

13 Control Source for FirstName Property 13

14 Main Form Design 14

15 Create the Charges Sub Form 15

16 Add the Charges Sub Form to the Main Form (Client) 16 Name may be different

17 Charges Subform Property Sheet 17

18 Use the PaymentType Query 18 Choose ALL Fields!

19 PaymentMethods Query 19

20 Completed Form 20


Download ppt "1 Research Papers Database. 2 Form – Add – Delete – Change … information in the database."

Similar presentations


Ads by Google