Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15621

[RESOLVED] List all textboxes in a ActiveReports Designer...

$
0
0
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 :(

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


Viewing all articles
Browse latest Browse all 15621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>