Re: Help with understanding order of For Each Control
- From: rkc <rkc@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 23:52:58 GMT
David W. Fenton wrote:
rkc <rkc@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:gvA3f.37626$Xl2.24112@xxxxxxxxxxxxxxxxxxxx:
David W. Fenton wrote:
"Terry Kreft" <terry.kreft@xxxxxxxxx> wrote in
news:ol2dnZfynb783dPeSa8jmw@xxxxxxxxxxx:
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 ..."
Isn't it the same as the z order? That is, if you use BRING TO
FRONT, does it not change the order?
Of course, I'm not sure why you'd ever need a collection
processed in a particular order == that rather defeats the
purpose of collections.
Have you never used an Order By clause in the SQL used to retrieve
a Recordset? What does that do if not determine the order in
which data is stored in the Fields Collection? Why would you do
that if you didn't want to process the 'collection' in a
particular order?
Er, what?
A SQL resultset is not a collection, except colloguially speaking.
SQL Resultset?
What good would a ->dao.recordset<- be without the fields collection? The whole purpose of a recordset is to support operations on the Fields collection.
I was speaking of collections in the sense used in the object models
for automating Access, and DAO and VBA. In those contexts,
collections are, by definition, unordered.
Point to documentation that says that.
This is from the VBA help file:
<quote> Collection Object
A Collection object is an ordered set of items that can be referred to as a unit.
</quote>
.
- Follow-Ups:
- Re: Help with understanding order of For Each Control
- From: David W. Fenton
- Re: Help with understanding order of For Each Control
- References:
- Help with understanding order of For Each Control
- From: Jozef
- Re: Help with understanding order of For Each Control
- From: Tom van Stiphout
- Re: Help with understanding order of For Each Control
- From: Terry Kreft
- Re: Help with understanding order of For Each Control
- From: rkc
- Re: Help with understanding order of For Each Control
- From: David W. Fenton
- Help with understanding order of For Each Control
- Prev by Date: Bind a Subform to a Query
- Next by Date: Re: User Deleted Secured.mdw - now what do I do?
- Previous by thread: Re: Help with understanding order of For Each Control
- Next by thread: Re: Help with understanding order of For Each Control
- Index(es):
Relevant Pages
|
Loading