36
CSC 240 (Blum) 1 More Access Some simple security measures Reports

CSC 240 (Blum)1 More Access Some simple security measures Reports

Embed Size (px)

Citation preview

Page 1: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 1

More Access

Some simple security measures

Reports

Page 2: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 2

Open the Movie database in Notepad and find some readable text (plaintext)

Page 3: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 3

Start Access but do not open a database

Page 4: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 4

Go to Tools/Security/Encode/Decode Database …

Page 5: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 5

Use the Encode/Decode dialog box to select the database to encrypt

Page 6: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 6

Choose a name for the encrypted database

Page 7: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 7

Open the encrypted database in Notepad and look for anything readable

Page 8: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 8

Open the encoded database in Access which knows how to decode it.

Page 9: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 9

Close the database, then open it “exclusively.”

Page 10: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 10

Go to Tools/Security/Set Database Password …

Page 11: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 11

Enter a password and repeat it in the Verify textbox. Click OK.

Page 12: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 12

Close database and re-open it. You should be prompted for a password.

Page 13: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 13

Add Movie poster field

• Perform the necessary steps to add the movie release poster to the database. You can find an image at http://www.imdb.com/ or http://movies.yahoo.com/

• You remember OLE Object field, use Paint to save image as bmp, etc.

Page 14: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 14

Create a Movie form like the one below.

Page 15: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 15

Go to the Report object and click on Create report by using wizard

Page 16: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 16

Select the table or query for the report and then select the desired fields.

Page 17: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 17

Proceed through the wizard questions

Page 18: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 18

Proceed through the wizard questions

Page 19: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 19

Proceed through the wizard questions

Page 20: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 20

Proceed through the wizard questions

Page 21: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 21

Proceed through the wizard questions

Page 22: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 22

Result so far

Page 23: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 23

Go to Design View.

Page 24: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 24

Change the size, position and text and the

labels to make a better looking report.

Page 25: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 25

Remove the MovieRunTime textbox.

Page 26: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 26

Place two textboxes on the report.

Page 27: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 27

Delete the labels that come with the textboxes.

Page 28: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 28

Enter the text =([MovieRunTime] \ 60) & “ hr ” in the first textbox

Page 29: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 29

Enter the text =([MovieRunTime] Mod 60) & “ min”

in the first textbox

Page 30: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 30

In Layout View

Page 31: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 31

Make more room for title

Page 32: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 32

Right click on the MovieReleaseTimne Textbox and choose Properties

Page 33: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 33

Under Format/ Text Align select Left.

Page 34: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 34

In Layout View

Page 35: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 35

Another Report

• Create a billing field in the appropriate table. – By billing we mean whether an actor or an

actress is the lead, second lead, etc. It determines the order in which the actors will be listed.

• Then create a query that lists the artists associated with the movies and make a report from that.

Page 36: CSC 240 (Blum)1 More Access Some simple security measures Reports

CSC 240 (Blum) 36

Go to the Sorting and Grouping button and add the Billing field to the fields used for sorting.