Re: Looping variables - Integer vs Long



David W. Fenton <dXXXfenton@xxxxxxxxxxxxxxxx> wrote:

<snip>
: ...and tend not to use counter-based loops except when
: dealing with collections of items for which there is no dedicated
: object type to use in the For/Each structure.

But counter-based loops are convenient when you need the
counter value within the loop's code block, e.g. aray(i) = ...

--thelma

: David W. Fenton http://www.bway.net/~dfenton
: dfenton at bway dot net http://www.bway.net/~dfassoc
.



Relevant Pages

  • Re: Looping variables - Integer vs Long
    ... David W. Fenton wrote: ... For Each ctl In Me.Controls ... and tend not to use counter-based loops except when ...
    (comp.databases.ms-access)
  • Re: Dirty Event for Form is not "firing".
    ... >>>unless the record already exists (not an newrecord) it will be ... OnDeleteConfirm event to fire and because ... "Do you want to delete the record for 'David W. Fenton"?" ...
    (comp.databases.ms-access)
  • Re: VB Scripts in Access Tables
    ... David W. Fenton wrote: ... >test the length of ClientID. ... that it's a numeric data type (probably ...
    (comp.databases.ms-access)
  • Re: Anyone with brains????
    ... "David W. Fenton" wrote: ... same kind of situation as is the case in Europe, ... history of how badly guest worker programs have worked in European ...
    (soc.motss)
  • Re: Jury Duty
    ... Xns975FA0D2E23Ff99a49ed1d0c49c5bbb2@xxxxxxxxx, "David W. Fenton" ... they should be making Kansas more like Oz. ... does the movie revert to black and white at ...
    (soc.motss)