Display different header in the first page

I display a table in the header (not a header header but MS word identified as something above <? start: body? > tag) rtf model. This table has 3 rows, I need to display one of these lines in the first page and not in the other pages.

I have not found any method on the questioning of the page number. So, I used a flag in the following way: (in this case, text with red color denotes an RTF). Here's what my RTF file looks like:

Header 1 Header 2 Header 3
init_fieldThis is the line to be included on all pages
if_fieldThis line should not be indicated on the first page.end_if change_variable

<? Start: body? >

other stuff

<? end body? >

Where,

init_field

<? If: (xdoxslt:get_variable($_XDOCTX,'FLAG')! = 'NONFIRST')? > <? xdoxslt:set_variable($_XDOCTX,'FLAG','FIRST')? > <? end if? >

if_field

<? If: (xdoxslt:get_variable($_XDOCTX,'FLAG')) = 'FIRST'? >

end_if

<? end if? >

change_variable

<? xdoxslt:set_variable($_XDOCTX,'FLAG','NONFIRST')? >

BUT I still see all the rows in all the pages. It seems that the value of the "FLAG" variable is not preserved between pages. For me, it seems, header is generated once and same header is used in all pages

Don't know if this is exactly what you are looking for, but why not just place the second line which must be on the first page only after the

Header 1 Header 2 Header 3
init_field This is the line to be included on all pages

if_field This line should not be indicated on the first page. end_if change_variable

other stuff

Tags: Business Intelligence

Similar Questions

  • Different presentation between the first page and following pages within a section

    Hello

    I met a requirement as follows:

    The report prints some information to order. Each command is a section, including the header and the lines. For a section, there may be several pages (if the number of lines is good enough). It is necessary that, on the first page of each section, it prints all order information in the header of the report and for the next page, it displays only the sequence number in the header of the report.

    It seems necessary different presentation between the first page and the following pages. Has anyone required even like that? Any advice will be useful.

    Thank you
    Clark

    Do you use a for-each@section to get the different sections?

    In this case use "Different first Page" in the "Page layout".

    Published by: amri on July 13, 2010 15:34

  • Different footer on the first page and last page

    Hello
    I try to display continue on the first page and average pages and Total amount on the last page on a multipage PO. I can view the page of different footer for the first page and last page, but the pages means is not a footer. What to do if possible. There are so many threads here, but not one gives exact measurements.


    first page header footer

    Add a Page break
    2nd foot header

    Add the Section break = > Next Page
    <? start@last-page-first:body? > <? end body? >
    last page footer


    Help, please

    Thank you

    Did you miss this?

    http://winrichman.blogspot.com/search/label/different%20page%20header
    http://winrichman.blogspot.com/search/label/element%20in%20header
    http://winrichman.blogspot.com/search/label/diff%20header

  • Create a header ONLY on the first page

    How can I create a document that has only a header on the first page? I tried everything, including Page breaks, which don't work. All I want is to create a fundamental part of the "header" where a logo only appears at the top of the first page and does not appear on any other page but I can't figure out how. I use Microsoft Office 2010 on Windows 7. Help!

    Select different 'First Page' option, and all customizations made to the header/footer on the first page will then apply and not on all subsequent pages.

  • Header in .rtf model would not come on the first page?

    Hello

    I developed a custom AR States indicate, in the report I print several times on the second page (it should not come on the first heading of the page), how can I do this.
    Please enter your comments?

    Thank you
    Sridhar

    Hello

    Use the different first page header option.
    The first page is not giving any header leave it empty, give the details of the header on the second page, it will come to the remaining page as well.

    Thank you
    Ananth

  • When I download a PDF in iBooks app Apple´s always displays the first page of the pdf.

    When I download a PDF in iBooks app AppleĀ“s always displays the first page of the pdf. So, how can I change this first page to another page in the pdf file? We want to download a PDF file in the iBooks app. iBooks still displays the first page of the pdf, but the fist of our pdf page is always the same (black color). And we want to differentiate each other pdfs.

    There is no standard to do this, in particular no standard method to store in a PDF file, a preview map. Is iBooks entirely to Apple, but as most of the software that he will probably use the first page without condition.

    If iBooks can show something different (and it does its not useful), you will get this information to Apple.

  • The LEXMARK 2300 series printer displays only the first page in Vista

    Printer only prints the first page but another page #s are displayed; However once you have printed the first page, other pages do not print and those page # disappear off the screen

    Printer only prints the first page of the document, even when the other page #s displayed. is my badly installed driver because I did everything he asked to uninstall then reinstall

    Hi lcwater,

    Please do not forget to download the latest drivers/software from the Lexmark Web site:

    http://support.Lexmark.com/index?page=home&locale=en&UserLocale=en_US&segment=download

    In addition, please see the following article on the Lexmark Web site:

    http://support.Lexmark.com/index?page=content&ID=SO4442&ACTP=search&viewlocale=en_US&UserLocale=en_US&segment=support&ProductCode=&searchID=1275498114885

    I hope this helps!

    Debra
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Header/footer for the first page only

    Hi all

    Is it possible to have headers/footers with option, first page only? The current options are

    • Not first
    • Only in the last
    • Not last
    • Back only
    • In front only

    Is it possible to have 'first only?

    We use Documaker Studio 12.3. Thank you.

    I think that if you want a header, footer on the first page only, which means that you should not use the copy on overflow attribute. Then those who would only be on this first page.

  • Windows displays only the first page of a multipage document - solutions?

    I recently installed an HP printer on my laptop with the help of a support HP online technician, but only the first page printed - the other eight were empty.

    Also, one-third of the right side of the document (electronic mail) was chopped up, while the leftmost column prints (Windows Live/Hotmail/Hotmail address) in the full preview and printing is not available since I upgraded to IE8 on my laptop HP under Vista Home Premium.

    How do I Center this document so that it will print correctly, and can I add the "Print preview" option in my Google toolbar, or install an another toolbar that includes?

    Thank you!

    http://welcome.HP.com/country/us/en/support_task.html

    Go to the above link > 'See support and troubleshooting information' > key in your number of printer > there is the use of manuals there.

    For more information, contact HP:

    http://welcome.HP.com/country/us/en/contact_us.html

    See you soon.

    Mick Murphy - Microsoft partner

  • New Windows 7 pro machine always prints the first page in a direction, but all other pages are printed in a different orientation

    We bought a new PC for one of our employees that is running Windows 7 Pro 64 bit. We have several printers throughout our office area. There are three printers that this person will print to the two Ricoh printstations and a Brother Laser printer. Any printer that employee uses printers still print the first page, a focus on the next page and all other pages in the other direction. The first page is always printed in the opposite direction of whatever orientation has been selected.

    If it has a four page document and select landscape as the orientation, the first page prints in portrait orientation while the other three pages will be printed in landscape. She can go back and print the document again and all four pages will be printed in the right direction. This happens no matter which printer she uses, as well as any program (Word 2010, Excel, Adobe, web pages, etc...). Any suggestions?

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    Hope this information helps.

  • 12.1.3 report BI Publisher showing is not the section on the first page

    Hello

    As part of the upgrade of our R12.1.3, I created a purchase as RTF model report.

    Very well, but for some reason any retail (body text of the RTF model) does not appear on the first page but begins on the second page (there is a purchase order with multiple lines) generate sections of header and footer. I use the MS Word table to display the detail section.

    Is there something I can check?

    Thank you
    Sinan

    passed the updated model. Check and let me know

  • Footer text on the first Page only

    Hi all
    I need assistance with the addition of the text on the first page of my .rtf in the footer only. I searched the forum and I have not found exactly what I'm trying to implement. There is a wire that has
     <?start@first-page:body?>footer text <?end body?>
    but once this syntax is added, I get an error message. My end user want that the text on the first page of the footer, the model may be one of many pages once presented as a preview. Any information or help is appreciated.

    You can use different first page option in ms word, then you will get a single footer on the first page.

    go to your header or footer double click then you go in the upper msword option another first page check only option so that you can get the footer that you need.

    http://winrichman.blogspot.com/2008/08/different-page-header-and-footer.html

  • Preview.app stuck on the first page of the PDF in single page mode

    I regularly Preview.app view PDF files and want to use the "Single Page" function to display an entire page at one time. I have 'Single Page' display set as the default behavior.

    Lately when I open a PDF file, they properly open the first page, but I am unable to navigate to another page via the drop-down page, touch up/down arrow. If the PDF file has a table of contents, I am able to go beyond the first page through it and then proceed to navigate normally. If it is not a table of contents, the only solution is to continuous scrolling mode and continue to navigate beyond the first page.

    It's very annoying! Unfortunately, I can't remember where this started happening. It could be when I upgraded to MacOS Sierra, but I can't confirm.

    Everyone else see this behavior?

    Hold down the Option/ALT key, then use the cursor to the TOP or to the BOTTOM of the key.

  • Open the first page in English, then the following pages in Greek

    When I open Firefox, using Google.co.uk as my default page, the first page in English, all following pages open in Greek. I am running Windows XP Pro.

    Hi Greg, you hear each subsequent page on Google, or if you click on one of the results of the research?

    If it's on Google, you might accidentally change your language on Google and have to change in their settings. If this is the case on other pages than Google you need to adjust your language settings in Firefox. Find you them in the window settings, under 'content '. Then follow the simple guide here: https://support.mozilla.org/en-US/kb/settings-fonts-languages-pop-ups-javascript?esab=a & s = language & r = 2 & as = s #w_languages

    If none of this helps, you can also reset Firefox. The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information. Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

    Thank you.

  • Printing moved on the first page printed with C309G

    I bought a HP all in one Photosmart Premium (C309G) today, it seemed a valid upgrade to my aging Photosmart 2410 for print and copy every day.

    However...

    It's something that I have not been able to resolve or explain so far. The first page that is printed is moved from 10mm to the bottom of the page, all others print in the correct position. This is also true of photocopies, if I do a duplicate from the front, the first page is moved to the bottom while the second page is in the correct position (only one face is also moved).

    HP had me install the generic of 550 c driver, and does the same thing, except that it prints the first to the last, the first page of the document is assigned, while the pilot C309G print name, so the problem presents at the last page with that. In fact, which is very useful because it is a simple matter of most of the software to add an additional page, in white (although wasteful).

    My Laserjet 1022N, nor the C309G reported paper size available in the properties of the printer (Win XP), but both shows correctly in the driver settings. The Laserjet printer does not display the move, however. The pilot made 550 c display available as A4 paper size, but moving.

    I'm stumped at this point. HP tried to blame the software I print since then, but this is partly because they have not read what I said correctly, IE I explained I could fix by adding a blank page in Word, WordPerfect, Corel Draw etc-, but that I couldn't do when printing from Firefox or Outlook, that display the same questions.

    My feeling is that the printer is not been properly initialized for the first page, perhaps to be told that the page size is to the letter instead of A4, but it's just a deep feeling. There is no setting that I can find on the printer itself to set the size of paper, other than from the region, which is set correctly to Europe. With the scanning, I offer myself as a paper size A4, no letter, so he seems to indicate that the printer is configured properly.

    Use the 6 x 4 built-in photo paper tray, the images are correctly, so another thought I have is the rolls of paper collection is a malfunction in some way.

    The device is normally connected via ethernet (cable), but I also tried USB without any difference. I uninstalled an reinstalled the drivers (I use just the base driver package).

    Any thoughts greatly appreciated that it has left me speechless.

    Thank you.

    Rik

    Kudos to HP support, after 48 hours of trying everything they could think, they proposed a power cycle, and cured the issue. I was able to identify the cause of too, whenever I have install the drivers on another machine on the network, moving is recurring. So, now I just power cycle after each installation.

Maybe you are looking for

  • can't turn on

    Power on password or administrator password. I'm locked up. It's a HP Pavilion g7 w/CORE i3 Comes with 51249365 Help, please!

  • opening files with windows vista movie maker .vcr

    Im trying to open the files of replay of a game that I play. But the Director of windows won't open them. is there a way to do this that I'm missing or not?

  • Weird NonPersistentObjectException

    Hi all Right now, I have an application that will provide a listener on calendars & address books. Whenever a new event is created, I store an event object wrapping the new BlackBerryEvent object in a hash table (that implements persistent). And when

  • BlackBerry Smartphones BB Messenger - Contact display problem

    My BB, I have 10 contacts, but I really said I had only 1 (IE. Contact (1/10). It is a BB company that was forwarded to me. I don't see these other 9 contacts and I want to erase them. Thank you!

  • accidentally image license?

    How can I return an accidentally imagen license?, help or faq usage and license etc... Adobe stock does not say that it is not possible.I don't use or download it to my computer the image.Thank you