- Local time
- Today, 07:11
- Joined
- Jul 9, 2003
- Messages
- 16,886
Mike Wolfe's latest newsletter contains and interesting section on looping through a set of controls:- "7 Ways to Loop Through Controls on a Microsoft Access Form" Here's the Link:- https://nolongerset.com/loop-through-controls/
The 8th way to Loop through a set of Controls
There's a method he did not cover, you can modify the control name. A normal control name might be "txtMyTextBox"... To use this method you add an extra character between the the prefix and the control name like this:- "txtXMyTextBox" and use the "X" to identify the group of controls that you want to modify.
The 9th way to Loop through a set of Controls
There's another method I developed. You put a rectangle around the group of controls you want to work on. Your code will only affect the controls inside the rectangle. I call it the "Nifty Container". You can read more about it here:-
If you would like a free copy of the "Nifty Container" then send me a message using this forums private messaging system and I will send you a coupon code allowing you to download it for free...
The 8th way to Loop through a set of Controls
There's a method he did not cover, you can modify the control name. A normal control name might be "txtMyTextBox"... To use this method you add an extra character between the the prefix and the control name like this:- "txtXMyTextBox" and use the "X" to identify the group of controls that you want to modify.
The 9th way to Loop through a set of Controls
There's another method I developed. You put a rectangle around the group of controls you want to work on. Your code will only affect the controls inside the rectangle. I call it the "Nifty Container". You can read more about it here:-
Nifty Container
Nifty Container – Nifty Access
www.niftyaccess.com
Nifty Container - YouTube Video
If you would like a free copy of the "Nifty Container" then send me a message using this forums private messaging system and I will send you a coupon code allowing you to download it for free...
Last edited: