[AccessD] Max of 20 values

Arthur Fuller fuller.artful at gmail.com
Sat Jul 23 11:50:49 CDT 2011


Hmmm. I didn't know you could do that. Kewl I'll just scamper off and write
a little looper thing and see if it works!

Thx,
A.

On Sat, Jul 23, 2011 at 12:31 PM, Gustav Brock <gustav at cactus.dk> wrote:

> Hi John and Arthur
>
> You also could loop exactly the controls in question:
>
> Set frm = Me.Form   'or a subform.
> For intControlM = 1 To 20
>  Set ctl = frm.Controls("M" & CStr(intControlM))
>  ' Do stuff.
> Next
>
> /gustav
>
>
>



More information about the AccessD mailing list