J
J L
I need to loop through a form's controls collection and delete some
based on type and location. I have tried For..Each and For i = 0 to
form.controls.count - 1 but when I delete any it messes up the loop.
What is the correct way to go about this. I thought this was answered
before but can not find it.
TIA,
John
based on type and location. I have tried For..Each and For i = 0 to
form.controls.count - 1 but when I delete any it messes up the loop.
What is the correct way to go about this. I thought this was answered
before but can not find it.
TIA,
John