--- In Axapta-Knowledge-Village@yahoogroups.com, amit bansal
<[EMAIL PROTECTED]> wrote:
>
> hi dear 
Hi hunny! ;)

>            basically prog section are used for the complex design
reports
>   what u hav to do just pick the data according to ur query and
display in the prog section according to ur design.and if u use more
than one prog sectin then chk out there control no. in properties and
 call it in fetch according to ur requirment by writing
element.execute(controlno. of prog section);
>    I thik this'll help u
>   all d best
>   amit 
> 

Well, i just made a report with one prog. section that should print
this section four times on one page... like such: 
___________
|    |    |
|____|____|
|    |    | 
|____|____|

i used a counter in the class declaration to count the calls of
executeSection
the fetch-method does a query run and sends the current record, then
calls executeSection

in executeSection, the placement is done by checking the counter with
mod..
if it's the first, third, fifth... call, the section is placed with
element.gotoYmm100(0) and 
this.leftMargin(0,Units::mm) 
on the top left, 
if it's the second, fourth, sixth... call, i use 
gotoYmm100(0) and 
leftMargin(148.5, Units::mm) 
to get top right, 
the same thing with bottom left and bottom right and 
on every fourth call it creates a new page. After that, the counter is
incremented and it does a super() call

long story short, the result is not a landscape format A4 like it
should be but portrait and it only shows the top left and bottom right
section. by my logic, everything *should* work
of course there's a major error in my logic - where? 

Thanks for help
Robert

> drescher_r <[EMAIL PROTECTED]> wrote:
>   Hi! I'd like to know how to use them in reports so that there are four
> of them on one sheet and that the query supplies records not line-wise
> but section-wise.. 
> 
> the point is that i want to create reports in A4-format which contain
> 4 records each placed in another quarter of the page
> 
> So long and thanks for all the hints ;)
> robert
> 
> 
> 
> 
> 
> Sharing the knowledge on Axapta. 
> 
> 
> 
>   SPONSORED LINKS 
>         Business finance course   Business to business finance  
Small business finance     Business finance consultant   Business
finance magazine   Business finance schools 
>     
> ---------------------------------
>   YAHOO! GROUPS LINKS 
> 
>     
>     Visit your group "Axapta-Knowledge-Village" on the web.
>     
>     To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>     
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service. 
> 
>     
> ---------------------------------
>   
> 
> 
>   
> 
> Send instant messages to your online friends
http://uk.messenger.yahoo.com
>






Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to