Hello, eberybody
Those familiar with ActiveReports, do you know how to access the controls in a desiger at runtime?
When the report loads, i need to switch some texts in some text fields...
The code i wrote is this one. I've experimented and googled for the exact structure of the controls,
but it's not like with the VB6 forms :(
Those familiar with ActiveReports, do you know how to access the controls in a desiger at runtime?
When the report loads, i need to switch some texts in some text fields...
The code i wrote is this one. I've experimented and googled for the exact structure of the controls,
but it's not like with the VB6 forms :(
Code:
dim q as object
dim o as object
For each q in Me.Sections
For Each o In Me.Sections(q).Item
If TypeOf o Is DDActiveReports2.Field Then
o.text = replace(o.text, "input", "output")
End If
Next
Next