Presentation is loading. Please wait.

Presentation is loading. Please wait.

Activity 11.7 DATAMANIPULATION.  Create calculated fields  Perform calculations at run time  Format fields One way of performing a calculation on data.

Similar presentations


Presentation on theme: "Activity 11.7 DATAMANIPULATION.  Create calculated fields  Perform calculations at run time  Format fields One way of performing a calculation on data."— Presentation transcript:

1 Activity 11.7 DATAMANIPULATION

2  Create calculated fields  Perform calculations at run time  Format fields One way of performing a calculation on data in a database is to create a calculated field which is worked out in a calculation performed on other fields in the database. This is called a calculation produced at run time. PRODUCING CALCULATIONS

3  Load MS Access  Calculated fields  Pay rise  New salary NEW CALCULATED FIELDS Choose a simple Query

4 NEW CALCULATED FIELDS Add the given fields: Forename Surname Position Salary Give the query a name And Select Modify

5 QUERY DESIGN In the first row of the first empty column enter the formula: Pay rise:[Salary]*5/100 New field name is written to the left of the colon Fieldname used in the formula must be exactly the same as those used in the database Field names used in formula muste be enclosed in square brackets

6 QUERY DESIGN Adjust the column In the next blank column enter the formula: New salary:[Salary]+[Pay rise]

7 RESULT OF THE QUERY The pay rise column needs to be modified! Go back to design view

8 CORRECTING Right-click and choose properties Watch out

9 VIEW AND SAVE


Download ppt "Activity 11.7 DATAMANIPULATION.  Create calculated fields  Perform calculations at run time  Format fields One way of performing a calculation on data."

Similar presentations


Ads by Google