M
mugziegumz via AccessMonster.com
I'd like to create an AVERAGE function in a blank form. Is this possible? I
have 3 columns I need to average out. Performance, Attitude, Attendance. How
in a blank form do I enter in the calculation in the control source property
box?
In reference to the Access bible it's possible to create simple funcitons
such as:
Creating a Calculated Control
A calculated control displays a value that isn’t stored in the form’s
underlying Record Source. To
understand creation of a calculated control, you will now create one as
follows:
1. Select tblProducts in the Navigation Pane.
2. Click the Create tab on the ribbon, then click on the Blank Form command
in the
Form group to display a new form in Layout View.
3. Drag the Cost and SalePrice fields from the Field List onto the form.
4. Switch the form to Design View.
5. Click on the Text Box command in the Controls group and draw it on the
form.
6. Set the Name property to txtProfit.
The txt prefix means the control is a text box.
7. Set the Control Source property to =[SalePrice]-[Cost].
8. Change the Format property to Currency.
9. Change the Decimal Places property to 2.
10. Change the label’s Caption property to Profit:.
11. Switch to Form View to test the calculation.
have 3 columns I need to average out. Performance, Attitude, Attendance. How
in a blank form do I enter in the calculation in the control source property
box?
In reference to the Access bible it's possible to create simple funcitons
such as:
Creating a Calculated Control
A calculated control displays a value that isn’t stored in the form’s
underlying Record Source. To
understand creation of a calculated control, you will now create one as
follows:
1. Select tblProducts in the Navigation Pane.
2. Click the Create tab on the ribbon, then click on the Blank Form command
in the
Form group to display a new form in Layout View.
3. Drag the Cost and SalePrice fields from the Field List onto the form.
4. Switch the form to Design View.
5. Click on the Text Box command in the Controls group and draw it on the
form.
6. Set the Name property to txtProfit.
The txt prefix means the control is a text box.
7. Set the Control Source property to =[SalePrice]-[Cost].
8. Change the Format property to Currency.
9. Change the Decimal Places property to 2.
10. Change the label’s Caption property to Profit:.
11. Switch to Form View to test the calculation.