本文介绍了如何使用字符串调用控件的afterUpdate事件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个想法是这样的:

代码将数据输入到控件txtRR1,txtRR2,txtRR3等中。

forms(me.name)(" txtRR"& ; cstr(i))= aValue,工作正常。


现在我想从类似

forms(me.name)(" txtRR"& cstr(i))(")中调用txtRRi_afterUpdate。 _afterUpdate")或表单(me.name)(" txtRR"& cstr(i))_ afterUpdate。这两个都失败了。


到目前为止,所有尝试编写afterUpdate调用的尝试都失败了。

解决方案





----------

The idea is this:
The code enters data into controls txtRR1, txtRR2, txtRR3 etc. by
forms(me.name)("txtRR" & cstr(i)) = aValue, which works fine.

Now I want to call txtRRi_afterUpdate from something like
forms(me.name)("txtRR" & cstr(i))("_afterUpdate") or forms(me.name)("txtRR" & cstr(i))_afterUpdate. These both fail.

All attempts to code the afterUpdate call have failed so far.

解决方案



----------


这篇关于如何使用字符串调用控件的afterUpdate事件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 04:53