Link to home
Start Free TrialLog in
Avatar of jescho
jescho

asked on

Where can find the index of controls that you place in Data Report???

i need to find the index of every control, eg: textbox, label etc that i use in data report, but i can find it no where, do anyone know how to find the index of control in data report??
Avatar of msterjev
msterjev

You dont need index.Just use Collections.You can use For ... Each statement:

For Each control In rpt.Controls
 'Check the kontrol Name,Caption, and set the
 'desired properties
Next
ASKER CERTIFIED SOLUTION
Avatar of Valliappan AN
Valliappan AN
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jescho

ASKER

Actually i also using the similar way to find out the index of control in report. but i just wonder is there any part of the VB can see the index without using coding.
I dont understand what you mean. I dont think you could have an index to controls in Datareport, I mean a control array cannot be done, if I am right.

>>but i just wonder
is there any part of the VB can see the index without using coding.

What do you mean by this?

And any part. reason that you graded 'B', please read the guidelines for EE, since they dont recommend grading B unless, you expected some more, and that you did not get it enough answer or what.

Thanks for the points.