on 08-05-2010 4:39 PM
Hi All,
I'm interested in getting access to the specific Details section in .Net code. I am using Crystal Reports 10 and have 26 detail sections in the designed report. As I am in .Net code iterating over the details sections they aren't named like they are through the designer. The designer uses Da, Db, Dc, etc. and the .Net object has the name as DetailSection1, DetailSection2, etc.
Is there a way to know which detail section I am in like the designer uses.
As a quick hack I have given the CssClassName a string that I can reference in the code but I'd love not to use the hack.
Any suggestions?
Thanks,
Jim
Not really. I never noticed this inconsistency...
I think you're best to stay with your work-around. Another work-around that was suggested here; place a text field into each section with the name of the section as it is in the designer. Hide the field, then iterate through he sections looking for the text field and checking it's contents. Yuck...
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.