mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 12:45 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: NewPage and transheader
PostPosted: Fri Jun 08, 2012 4:17 pm 
Offline

Joined: Thu Dec 08, 2011 11:32 am
Posts: 13
Country: France (fr)
Hi,

I need to have my Transheader on every pages but the first one.
When Im using CurrReport.NEWPAGE function the transheader doesnt appear (cf : http://www.mibuso.com/forum/viewtopic.php?f=23&t=7512&hilit=printoneverypage+currreport.newpage)

So I made 2 Headers sections, one for the first page (PrintOnEveryPage No) and one for every pages (PrintOnEveryPage Yes).

But the 2 Headers are printed on every pages ...

Quote:
IF esta='' THEN
esta:="Edition Special Rubric".establishement;

IF "Edition Special Rubric".establishement<>esta THEN BEGIN
CurrReport.NEWPAGE;
esta:="Edition Special Rubric".establishement;
END;


Any tips ??


Top
 Profile E-mail  
 
 Post subject: Re: NewPage and transheader
PostPosted: Fri Jun 08, 2012 11:07 pm 
Offline

Joined: Sat Feb 18, 2012 2:42 am
Posts: 53
Location: Portland, OR
Country: United States (us)
Hi, try this code in the OnPreSection trigger of the section you want to toggle:

IF CurrReport.PAGENO = 1 THEN
CurrReport.SHOWOUTPUT(FALSE);

Good luck!


Top
 Profile E-mail  
 
 Post subject: Re: NewPage and transheader
PostPosted: Mon Jun 11, 2012 4:43 pm 
Offline

Joined: Thu Dec 08, 2011 11:32 am
Posts: 13
Country: France (fr)
It seams like it works just fine !


Thanks, much appreciated !


Top
 Profile E-mail  
 
 Post subject: Re: NewPage and transheader
PostPosted: Mon Jun 11, 2012 8:39 pm 
Offline

Joined: Sat Feb 18, 2012 2:42 am
Posts: 53
Location: Portland, OR
Country: United States (us)
Glad I could help you with that one!


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: