How do you identify one particular Text Object in a section that contains ten different Text Objects?
I'm trying to use SetText method of the RDC (version 8 and VB 6) to put values into specific text objects but the RDC doesn't appear to give you a way to recognize which object has which field name associated with it. If I put an UnBound item on the RDC report, it is easily identified as @UnBoundString1. But with a text object, it doesn't give you a name. Even if you hover the mouse over the text object you just put down, the bubble help doesn't give it a field name that you can easily identify it with.
When you go to VB and press the F2 button to get VB's Object Browser, it does list all the Text Object's name as Text1, Text2, Text3. But like I said, how can you visibly tell which text object on the report is Text2? Seems like there's a lot of hunting and pecking going on to find just the field you want to issue the SetText to. And I'm not to crazy having to code something like
For Each Text Object in XXXX
'do this
Next
Seems like you should be able to pinpoint just the one Text Object you want (instead of filtering through a bunch of them) just like you can if you've established a database field on the report.
Any ideas?
I'm trying to use SetText method of the RDC (version 8 and VB 6) to put values into specific text objects but the RDC doesn't appear to give you a way to recognize which object has which field name associated with it. If I put an UnBound item on the RDC report, it is easily identified as @UnBoundString1. But with a text object, it doesn't give you a name. Even if you hover the mouse over the text object you just put down, the bubble help doesn't give it a field name that you can easily identify it with.
When you go to VB and press the F2 button to get VB's Object Browser, it does list all the Text Object's name as Text1, Text2, Text3. But like I said, how can you visibly tell which text object on the report is Text2? Seems like there's a lot of hunting and pecking going on to find just the field you want to issue the SetText to. And I'm not to crazy having to code something like
For Each Text Object in XXXX
'do this
Next
Seems like you should be able to pinpoint just the one Text Object you want (instead of filtering through a bunch of them) just like you can if you've established a database field on the report.
Any ideas?