Вы находитесь на странице: 1из 2

Activity 13 MODIFYING FORM

CHANGING THE LABEL


The following steps show you how to change the labels name.
1. With the Form still active, click the Form View button. To display the Form Design View.
2. Click the Form Maximize button to expand the forms size.
3. Position the mouse pointer on the NDW label and then press the left mouse button.
Access displays a small black square around the text box.
4. Move the mouse pointer inside the NDW label box and then press the left mouse button
again.
5. Delete the word NDW and then type Number of Days Worked:
6. Repeat procedure number 4 and 5 to change the label:
Label
Change to
PR
Rate per Day:
GP
Gross Pay:
TD
Total Deduction:
NP
Net Pay:
7. See the result of the revised form.

CALCULATED CONTROL
To display the calculated GP of each Employee in a form, you can add a Calculated control on
the Ave field. A Calculated control uses an expression to define a calculation for the control.
Expressions are combinations of operators (such as + or -), control names, field names,
functions, and constants that returns a value.
The following steps show you how to add a calculated control to the GP field.
In the Form Design Window, click the Gross Pay text box. Access displays a small black
square around the field.
Click the GP field again.
Inside the Text box, delete the GP then type this expression :
=([NDW]*[PR])

Click the TD field again.


Inside the Text box, delete the TD then type this expression :
=([SSS]+[PHIC]+HDMF+WTAX+ADV_VALE)
Click the NP field again.
Inside the Text box, delete the NP then type this expression :
=([GP]*[TD])
Click the Form View button to display the form.

Вам также может понравиться