How to refer a field created at the paper layout?

Hi,
I created a field for total pages of a report in the paper layout.
How do I refer to it in the formattrigger since I don't want to show it if there is only 1 page.
I tried putting & or : in front of the field name but it is not valid since the field is not created in data model.
Thanks for any help in advanced.

You can't reference the total number of pages in any way (an often heard complaint on this forum).
The workaround is to use srw.get_page_num on a format trigger of a field that you put at the end of the report. Then you know you are at the end of the report. If the page number is 1, you know there is only 1 page. Still a bit tricky how to use this in your case, but you may find a solution.
I knew I posted something about this before. Here it is:
Re: Print Condition of a margin object
Edited by: InoL on Apr 7, 2011 3:23 PM

Similar Messages

  • How to show a parameter value in the paper layout

    Hi,
    I have a paper parameter form. I need to show the value of the parameter at the top of my report as part of the title. Any ideas?
    Thanks,

    It should display the parameter value in the field you created in the paper layout.
    Make sure you selected the source of the field.
    From the property inspector of the created field go to the source property and select the parameter name from the pop-up list.
    Regards
    Mostafa Abolaynain

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • How to refer a .jar file in the code.

    How to refer a .jar file in the code.
    I want to use a library dnsjava.jar, which I download from the internet. I want to know how to refer it
         If I am compiling the code on Solaris
         If I compiling the code on windows using eclipse.
    I added the following line in my code to refer to this library. But it always complains of not found the class
    import org.xbill.DNS.*;
    I tried the following to add this library but did not work
    On eclipse/windows: Went to window-> preferences -> BuildPath _> class path Variable.
    On Solaris: Could not add this library /opt/java_reference/v1.6.0_04/jre/lib. Although I am logged in as root, but not able to add the library there. Complains of Permission denied.

    Set the classpath option when compiling.
    javac -classpath /path/to/lib/dnsjava.jar YourProgram.java
    I don't use Eclipse, but it probably has a library list on your project preferences. Add it there.
    Regards,
    Henrique Abreu

  • How to run the paper layout & web layout?

    Hi,
    I have 10gR2 application server (Linux). A report was created in Reports 6i, now i opened the same in 10g and compiled in my local machine(development pc with windows xp).
    question 1
    In the development pc, i can run the paper layout but the same cant in web layout.
    1. How to run the weblayout?
    question 2
    Now my application is running in&as web enabled. A menu calling a report ,that i want to run as paper layout, is it possible in web enable mode? Otherwise i have to run as web layout.
    please guide me.
    Kanish

    Thanks for the advice.
    I am trying to run any iViews that connect to the R/3 back end.  I have read that you have to first connect to the SLD, and then set up the JCO connections.  Correct?
    I have got the SLD running, but I can't connect to it.  I have supplied the required SLD Data Supplier information in the Content Administrator. 
    In the Visual Administrator, under the SLD Data Supplier, I enter the Host, Port, User, and Password, but when I hit the Trigger Data button I get an error saying "Operation Failed!  Failed to collect SLD data.  Failed to send HTTP data: 401: Unauthorized.  Please check if the target SLD system is available and the SLD bridge is started there."
    Any help?

  • Problem with the paper layout!!!

    I have a repeating frame in my report which it brings me back several records order by seven fields. I have a problem in the paper layout. I wondering if it's possible to change the view of my paper layout and if some of the order's by four first field would change then the next records would print in the next physical page.

    Hi Toby,
    Thank you for your help. Well, at the following you can see the 3rd line of my code and at the last line I
    try to specify the charset. I have checked that ISO-8859-7 is ok for greek fonts but unfortunately it still doesn't work...
    Maria.
    <%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
    <%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
    <%@ page contentType="application/vnd.ms-excel" %>
    <rw:report id="report">
    <rw:objects id="objects">
    </rw:objects>
    <html xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-7">
    ..........

  • Crashes every time i try to view the paper layout of a specific report...

    When opening a report developed in reports 6, i am unable to edit/view the Paper Layout with the following error (basically a standard microsoft error):
    Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience....
    Error signature
    AppName: rwbuilder.exe AppVer: 10.1.2.0 ModName: rw.dll
    ModVer: 0.0.0.0 Offset: 001928b6
    I am still able to view the Layout Model in version 6i for this report, it just crashes every time in 10g (i have also checked on other developers computers here, and exactly the same thing). Also, i have tested the rdf in a 10g r2 application server environment, and the report does run successfully!
    Any ideas out there for things to try would be appreciated...
    Cheers,
    Tim.

    Hi Sean,
    thanks for answering. No, it crashes anyway. I tried changing the identity plate color in all different modules. I was able to change it once when I had just bought a new computer and installed Lightroom, but now I can't. I wonder if there are any cache files or anything causing this. Unfortunately I don't know enough about this to fix it myself. I wondered whether LRB is causing a problem simply by having it installed, but as I said, after I removed it from the Web Galleries folder, the problem still occurred. Is there any way to recreate the identity plate in Photoshop (same font and size etc.) and reimport it into Lightroom? I need to finish my website and my name is sol light, it is barely legible. Any fix or workaround would be appreciated.

  • How to refer a field in a header as a variable

    Hi,
    Question: Report header has student id display using <?STUDENT_ID?>, how can I refer this field as a variable in the body section to do some if statement?
    have tried to use the folllowing fashion in the header
    <?variable@incontext:v_id;STUDENT_ID?> but then the value won't display on the header
    thanks.
    Munshar

    thank you for your answer.
    I think my biggest problem is confused with :
    when to use xdoxslt: or xsl: or xdofo ?
    so with your answer, is the following if statement correct ? ( assuming STUID is under rowset2)
    <?if: xdoxslt:get_variable($_XDOCTX, ’stu_var’) = /DATA/ROWSET2/ROWSET2_ROW[STUID]?>
    i am trying to learn as much as I can without any trainings .
    Thanks.
    Munshar

  • How to get a group created in the OD into ical and EDIT it ?

    hello,
    We would like to use iCal instead of web service to view and edit a group's calendar created in the OD/Repertory (like places or ressources)..
    Viewing is ok by adding the calendar's group link using alt+command S (my iCal is in french so I give you the shortcut)....
    So how do we edit a calendar's group under iCal (like places or ressources) ?
    Thank you

    Hi, you might want to read this thread: http://discussions.apple.com/thread.jspa?messageID=6049520
    Good news is there is a work around.. Bad news is it is sloppy at best. This should have been supported from day 1. I seriously hope they come out with a fix.

  • How to display header fields names in the next page in report6i

    how to display repeat header field names into the next page in report6i urgent plz......
    When i am runing report in 1st page only the header information is displaying in 2 page the header info is not displaying only records are displaying.So i want to display the header info in 2nd page also.
    Plz help out.

    Hello,
    Go to the report layout model and select those items/objects which are not getting display on next page and open the property pallet by pressing F4 key and set the property Print Object On to All Pages then it will display on all pages.
    -Ammad

  • How to add additional field " SEGMENT" in the FBL5N Report

    Hello ,
    The Requirement is we need add the field " Segment" in the Report FBL5N.
    Could you please advice How to add the field " Segment" to the FBL5N Report.
    Thanx & Regards
    Ramesh

    Hi,
    try SAPNET note 373268.
    Best regards, Christian

  • How to eliminate a field created by Application Enhancement Tool

    Hello All,
    I´ve created some fields with Application Enhancement Tool and now i need to delete one of then. When i select at webclient to delete it, system says that i need to do manual steps to eliminate the field. Can anybody tell me what are this manual steps?
    Another thing, is there any way to update entries of combo fields created by AET without being at webclient?
    Thanks in advance!
    Rafael Morcelli

    Hi,
    could you send me the text which describe the manual step?
    As far as I know the only manual step that you have to do after deleting the AET field is remove the field from the UI Configuration.
    Updating the entries of the entries of the combo field(dropdown list box) can be done via AET.
    Technically, you can also directly edit the generated Domain. However, I would not recommend you to do this.
    It is better, if you update the entries via AET.
    Regards,
    Steve

  • How to get a field value in the report

    hi all :-
    i need to get the field value in the formate trigger inside a specified field in the report?

    please post your request in the report category forum

  • How do you unlock fields when clearing the signature using the SignatureServcie?

    I have a workflow built using Process Management and is available through Workspace.  A claimant completes their expense report, digitally signs the form and submits it to their approver.  The form is setup to lock a set of fields after signature.  The approver then has the option to approve or disapprove the form.  When they disapprove the workflow clears the digital signature using Clear Signature Field operation in the SignatureService and routes it back to the claimant.  When the form is opened by the claimant the digital signature has been cleared as expected, but the fields are still locked.  Is there an autoamted way to unlock them?  Is this a service configuration issue or is there another service operation we need to call after clearing the signature? 
    We did try using Javascript to set the readonly property on the field with no luck. Any thoughts?
    We are developing on ES3 and will be upgrading to ES4 in the next week.

    You need to link the image.  See the example for the Canada flag below.
    <img src="http://forums.ni.com/ni/attachments/ni/130/6908/1/Canada-small.PNG" border=0>
    Replace with the image you like.  This goes into the signature box within the profile tab of the personal settings.
    RayR

  • How to transfer photo albums created on the iPad to Aperture or iPhoto?

    Hi!
    I have created a photo album on iOs 5 with selected pictures of the Photostream features, now I'd like to sync back this album to Aperture 3.2.2 or iPhoto on the Mac, so I can share them with Facebook or MobileMe.
    Is there a way to do that?
    Thanks

    Thanks Fred, but the only photos that appear in Apertureare the ons of the iPad photo roll, not the Photo Albums created from the Photostream.
    Hence, once pictures are in an album which was created directly on the iPad, I do not see any option to sync it back to Aperture or iPhoto. As the pictures are from Photostream, I do not see options in the photo album to save them back to the photo roll.
    I created the album on the go, because, I was travelling without my computer and thought it would be great to make on the iPad the picture selections of the photos that I had put on my computer but did not have time to classify. I did the selection of photos, put them all in an album. There is no way to share back these 300 pics to Facebook or Mobileme or Flickr directly from the iPad, so I want to bring them back to my MAcbookPro to do it, but i can't find a way to transfer the album to the computer, and now, I have to do the selection again... Seems like Time wasted...

Maybe you are looking for