{Solved}用于平均多个字段的表单控制语法 [英] {Solved} Form Control Syntax for Averaging mulitple fields

查看:54
本文介绍了{Solved}用于平均多个字段的表单控制语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开发质量管理数据库MS Access。

有一个表格,显示10个表示10个不同测量值的字段10个不同的时间,从表格中10个字段的相同表格绘制中的1到10。

我需要AVERAGE这10个控件,但不能正确识别语法。

甚至可以这样做吗?

概念运算符填写字段并取平均值他是。

请帮助

解决方案

在表格上有一个标签字段,该字段在表格的OnCurrent事件中更新

展开 | 选择 | Wrap | 行号


我越来越近了。

Ok表格名称= Rockwell CHECK SHEET

表格包含文本框;批处理#1,批处理#2,批处理#3 ....到10

试图完全使用你的代码,但遇到常量编译错误,它们非常通用,如果不通我不知道出了什么问题。


首先,你必须在你的表单上创建一个名为lblAvg的标签控件。

展开 | 选择 | Wrap | 行号

Developing Quality Mangement DataBase MS Access.
Have a form, displays 10 Fields representing 10 different measurements 10 different times a 1 thru 10 on same form drawing from 10 fields in table.
I need to AVERAGE these 10 controls, but cannot get syntax correct.
Can this even be done?
Concept Operator fills in the fields and it averages for him.
Please Help

解决方案

Have a label field on the form which is updated in the OnCurrent event of the form

Expand|Select|Wrap|Line Numbers


I am getting closer.
Ok Form name = Rockwell CHECK SHEET
Form Contains Text Boxes; Batch #1, Batch #2, Batch #3.... to 10
Tried to use your code exactly, but run into constant compile errors, they are very general, and I cannot fix it if I do not know what is wrong.


Firstly, you must create a label control on your form called lblAvg.

Expand|Select|Wrap|Line Numbers


这篇关于{Solved}用于平均多个字段的表单控制语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆