L
Leo
Hi helpers,
I have a single form with many controls, which acts like a dialog for
settings criteria for many different reports. (instead of giving each a form
for asking criteria).
Based on the requesting command button on switch board, by the "OpenArgs" of
this form, I like to activate a certain group of controls, suiting the
requested report for asking user for its criteria , and other controls should
be disabled and invisible.
I tried it with "Control" object, but it could not help.
Is there any way to loop through all controls of the form, and based on the
OpenArgs Value of the form, and tag or name of the control, disable control?!
I have a single form with many controls, which acts like a dialog for
settings criteria for many different reports. (instead of giving each a form
for asking criteria).
Based on the requesting command button on switch board, by the "OpenArgs" of
this form, I like to activate a certain group of controls, suiting the
requested report for asking user for its criteria , and other controls should
be disabled and invisible.
I tried it with "Control" object, but it could not help.
Is there any way to loop through all controls of the form, and based on the
OpenArgs Value of the form, and tag or name of the control, disable control?!