Hallo.
I need to write a piece of code that accesses each check box on a form. I've tried looping thru the controls & testing to see if the left three characters are "chk" (the prefix I use for check boxes), but I can't get the Control object's name - I guess it doesn't have this property.
So maybe I need to do a for each CheckBox in Me, only I don't really understand the For Each... Next statement, and can't figure out the example given in MSAccess help (97).
If anyone could shed any light on my problem, I'd be very grateful.
Cheers,
Douglas JL Common sense is what tells you the world is flat.
I need to write a piece of code that accesses each check box on a form. I've tried looping thru the controls & testing to see if the left three characters are "chk" (the prefix I use for check boxes), but I can't get the Control object's name - I guess it doesn't have this property.
So maybe I need to do a for each CheckBox in Me, only I don't really understand the For Each... Next statement, and can't figure out the example given in MSAccess help (97).
If anyone could shed any light on my problem, I'd be very grateful.
Cheers,
Douglas JL Common sense is what tells you the world is flat.