download
order  

Visual Basic 6 and VBA code fragments for Loops Access

 

In the Visual Basic 6 code fragments below are included in the Code-VB fragments library.
Fragments are snippets of code you can insert in your procedures.
Each item between braces correspond to a variable of the given type.
They are replaced with the new or existing variables by Fragment Builder in Code-VB tools.

For Each Control in Form

For Each {CONTROL} In {FORM}.Controls
    {CONTROL}
Next

For Each Control in Me

For Each {CONTROL} In Me.Controls
    {CONTROL}
Next

Loops Access For Each Control in Me