Hi
I have a problem with a programmed report in x++ code.
I need it with a body section and other programmables
sections.
A method in a class has the next code:
ReportDesign reportDesign;
ReportSection reportBlock,reportBlock1;
;
reportDesign = reportRun.design();
reportBlock =
reportDesign.autoSection(tablenum(con_reportes));
reportBlock1 =
reportDesign.addProgrammableSection(1);
reportBlock1.addTextControl("hello");
reportBlock.addStringDisplayControl('AccountNum');
reportBlock.addRealControl(TableNum(con_reportes),fieldId2Ext(FieldNum(con_reportes,columns),1));
and the report's fetch method is something like this:
boolean ret;
;
queryRun = new QueryRun(this);
while (QueryRun.next())
{
con_reportes_1 = QueryRun.getNo(1);
this.send(con_reportes_1);
element.execute(1);
}
return true;
Well, when I run the report,it shows the programmable
section (the text "hello") but not the body section.
Why doesn't it show the body? Can Somebody help me
please?
Thanks a lot for any help!
"No matter where you go, everybody is connected" - Lain
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.