Hi,
  I got the answer.the executesection() of programmable section i have checked, 
the record  goes to newpage or not.if yes,i have execute the programmable 
section.
   
  The code is:
  1) In ur classdeclaration mention the below macro & variables
   
  int                 counter;
   
      #define.CurrentVersion(1)
    #define.mm100Left(2000)
      #define.headerLabelTopMargin(1)
    #define.bodyFooterMargin(2)
  
     #localmacro.CurrentList
        printActionNote,
        printResponseNote
    #endmacro 
   
  2) Ur programmable section -> excuteSection()
   
  public void executeSection()
{
    element.checkForNewPage();
    if(counter == 1)
    {
          element.execute(4);element.execute(5);element.execute(8);
          counter = 0;
    }
    super();
}
   
  3) This method in ur Report -> method()
  void checkForNewPage()
{
    if (element.mm100Left() < #mm100Left)
    {
        element.newPage();
        counter = 1;
    }
}
   
  It works fine.
   
  Regards,
  vijay
   
  

vk <[EMAIL PROTECTED]> wrote:
  Hi,
  thanks for ur answer.my exact requirement is, for example
  I have 50 records to display the report.it should be printed  in 3 pages.In 
my first page, i use programmable section to display the column heading.but in 
my 2 & 3 page the column heading is not shown.how  to show the column heading 
in each page by using programmable section.? 
   
  regards,
  vijay

anjali khati <[EMAIL PROTECTED]> wrote:
  Dear Vijay,
if u want to print record in next page.
use element.nextpage .but this command execute in send method.
apart of this plz give me detail what u want.

Regards
Anjali


On 3/30/06, vk <[EMAIL PROTECTED]> wrote:
>
> Hi,
>   In my Report,I have displaying the column heading by using Programmable
> section.the first page it comes,bcz first time i have execute the
> programmable section.but the next page the column heading not shown.
>   my query is,
>   how to know the report ( records) goes to next page? i want, each page
> displaying the column heading using programmable section. how to do?
>
>   thanks in advance..
>
>   regards,
>   vijay
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group 
> "development-axapta<http://groups.yahoo.com/group/development-axapta>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>     [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>



--
Regards
Anjali khati
ERP Developer (Axapta)
Euroinfosys System Pvt.Ltd
Mob No:- 91-9910316855


[Non-text portions of this message have been removed]




    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "development-axapta" 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 

[Non-text portions of this message have been removed]





  SPONSORED LINKS 
        Computer part   Programming languages   Microsoft axapta     Support 
exchange 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "development-axapta" 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 

[Non-text portions of this message have been removed]



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