帮助理解For Each Control的顺序 [英] Help with understanding order of For Each Control
本文介绍了帮助理解For Each Control的顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
这里的任何人都知道,当你在表格上执行For Each循环时,
控制集合,Access是否循环通过它们按字母顺序或
控制ID或???。
任何想法?
谢谢!
Hello,
Does anyone here know for sure, when you do a For Each loop on a forms
controls collection, does Access cycle through them in Alphabetical order or
control ID or ???.
Any ideas?
Thanks!
推荐答案
Jozef写道:
你好,
这里有人知道,当你做的时候对于窗体
控件集合的For Each循环,Access是按字母顺序循环还是
控制ID或???。
任何想法?
Hello,
Does anyone here know for sure, when you do a For Each loop on a forms
controls collection, does Access cycle through them in Alphabetical order or
control ID or ???.
Any ideas?
出于某种原因,我认为这是按照创建的顺序。
显然我现在不确定。我只是这么认为。
For some reason I think it''s in the order they were created.
Obviously I don''t now for sure. I just think that.
2005年10月12日星期三19:29:05 GMT,Jozef < me@you.com>写道:
我相信订单没有记录。如果您需要特定的订单,
您最好自己完成工作:收集数组中的控件或
集合,按照您想要的方式对它们进行排序,并处理它们方式。
-Tom。
On Wed, 12 Oct 2005 19:29:05 GMT, "Jozef" <me@you.com> wrote:
I believe the order is undocumented. If you need a specific order,
you better do the work yourself: collect the controls in an array or
collection, sort them the way you want, and process them that way.
-Tom.
你好,
这里有人知道,当你在表格
控件集合上执行For Each循环时,Access是按字母顺序循环还是通过
控制ID或???。
任何想法?
谢谢!
Hello,
Does anyone here know for sure, when you do a For Each loop on a forms
controls collection, does Access cycle through them in Alphabetical order or
control ID or ???.
Any ideas?
Thanks!
很可能它对应于创建序列,因为它就是
已添加到表单控件集合中,但正如Tom所说:如果您需要
特定订单......
Terry Kreft
" Tom van Stiphout" <无************* @ cox.net>在消息中写道
新闻:ot ******************************** @ 4ax.com ...
Most likely it corresponds to creation sequence as that is when it would be
added to the forms controls collection, but as Tom says "If you need a
specific order ..."
Terry Kreft
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:ot********************************@4ax.com...
2005年10月12日星期三19:29:05 GMT,Jozef < me@you.com>写道:
我相信订单没有记录。如果您需要特定的订单,
您最好自己完成工作:收集数组或
集合中的控件,按照您想要的方式对它们进行排序,然后按照这种方式处理它们。
-Tom。
On Wed, 12 Oct 2005 19:29:05 GMT, "Jozef" <me@you.com> wrote:
I believe the order is undocumented. If you need a specific order,
you better do the work yourself: collect the controls in an array or
collection, sort them the way you want, and process them that way.
-Tom.
你好,
当你在表格上做For Each循环时,这里有没有人知道/>控制集合,按字母顺序进行访问循环
或
控制ID或???。
任何想法?
谢谢!
Hello,
Does anyone here know for sure, when you do a For Each loop on a forms
controls collection, does Access cycle through them in Alphabetical order
or
control ID or ???.
Any ideas?
Thanks!
这篇关于帮助理解For Each Control的顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文