[b]Printing User Defined Page NO Sequence[/b]

Hi,
I have report which has atleast 100 pages which is printed on weekly bases , The Problem is that before running this report user want to key in desired starting page No e.g if user key in in the parameter 5 then report should be started from page 5 to onward 5..6..7..8.. till end of report,similiarly if user key in 9 then report should be started from page 9 to onward 10..11..12..13.. till end of report.I have tried my best but enable to find its solution yet.I have tried format trigger but it set once the page No and set for all pages with the same number.
Declare
page_num number:=:pg;
Begin
srw.get_page_num(page_num);
srw.set_field_num(0,page_num+1);
End;
It is too urgent if anybody has this solution I would be
obliged.
Thank You
Khurram Siddiqui

I do not know if this solution will exactly suit your purpose . You can use the pagestreaming feature of reports . Give 'pagestream=yes' in command line or url . You get a navigation enabled set of pages where user can enter the page number and go to the desired page .
Please refer docs to know more about this feature .
Thanks
The Oracle Reports Team

Similar Messages

  • PrintToPrinter print User defined page uncorrect

    Hi Experts.
    I have a CR2008 rpt file and using VS2008 to PrintToPrinter this rpt.
    This CR2008 set user-defined page and when I am using this PrintToPrinter method, I got a A4 page size in the Microsoft XPS Document Writer (not my user-defined page size).
    I'd like to know why this method can't support user-defined page size

    Hi RaphaelJB,
    With such a specific symptom it's implied that you can print with other apps and with PS CS5 using regular size paper.
    The main points from this article I'd suggest are see if there are printer driver updates and try resetting the printing system.
    OS X Yosemite: Printing troubleshooting
    Regards,
    Nubz

  • How do you add a user defined page size for a "standard" user

    I have been trying to add a User Defined Page size in the Adobe PDF Properties with a "Standard" AD account.  When I click add/modify, no error shows up on the screen but the page size does not show up in the drop down menu.  The only accounts that can add page sizes are "Admin" accounts, as far as I know.  Does anyone know a workaround?  PLEASE HELP!!!

    Firefox unable to store your password without username.
    *https://support.mozilla.org/en-US/kb/password-manager-remember-delete-change-passwords

  • [Ask] Print user defined Field

    Hi guys, need some help here....
    Can I print user defined field? If it can, how?
    thx guys...I really need it

    hi yoga,
    Yes you can display user defined field in PLD.
    create a database field,select table name and
    select column type you can see user defined field
    in name(For example :U_doctype) and its description.
    Jeyakanthan

  • Photoshop CS5 quits when asked to print an "user defined page"

    I own an iMac desktop and after updating to Yosemite, when trying to print with PS CS5 and image with "user defined" sizes,in my HP Officejet 6000, PS freezes and quits abruptly.  Erstwhile I used to do this w/o any problem.   Any ideas?  Thank you!

    Hi RaphaelJB,
    With such a specific symptom it's implied that you can print with other apps and with PS CS5 using regular size paper.
    The main points from this article I'd suggest are see if there are printer driver updates and try resetting the printing system.
    OS X Yosemite: Printing troubleshooting
    Regards,
    Nubz

  • Can no longer print user defined sizes in Photoshop

    I have been printing large format pictures (13x32) for years using Photoshop and Epson printers. I suddenly lost the ability. The option for custom sizes disappeared in the page setup settings. I don't think there's anything I haven't tried. I tried on three different computers. I wiped a drive clean, reinstalling everything several times. I went back to older versions of Photoshop and the Mac OS. I bought a new printer (Epson 1280) without results. I reset the preferences. I have local gifts waiting for pictures and I completely stymied. Can someone come to the rescue of this not yet senile mid-octogenarian?? HELP
    PMac dual G4   Mac OS X (10.4.5)  

    For years I have created 13x32 custom paper without a problem. Either Epson or Apple made a recent change because now the maximum width is 12.95" and when I reduced my paper size to that, the problem was solved.

  • Server response late and redirecting to user defined page

    Hi
    Can any body tell how to know server response time
    if perticular time reached it should redirect to userdefined page saying that server is busy pls try after some time
    here i am using iplanet web server and ias application server

    There is not much you can do if the server is too busy to handle your request. You may be able to configure the server to return a custom page.
    In the case of a long running process you can do something the following
    package com.test;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class ServletTimeTest extends HttpServlet  {
         public void doGet(HttpServletRequest req, HttpServletResponse res) {
              try {
                   //Create object to get results of sub-thread
                   ServletTimeTestResults resultObject = new ServletTimeTestResults();
                   //Create sub-thread
                   Thread servletTimeTestThread =
                        new Thread(
                                  new ServletTimeTestThread(
                                            resultObject, Thread.currentThread()));
                   //start sub-thread
                   servletTimeTestThread.start();
                   //Wait ten seconds for sub-thread to finish processing
                   try {
                        Thread.sleep(10000);
                   } catch (InterruptedException ie) {
                        //sub-thread has finished in less than 10 seconds
                        System.out.println("Servlet sleep interrupted");
                   //set the flag to make sure sub-thread stops processing
                   resultObject.setStopProcessing(true);
                   //check if sub-thread completed processing sucessfully
                   if (resultObject.isProcessingComplete()) {
                        //if sub-thread did finish processing then return results from
                        //resultObject here.
                        System.out.println("Processing completed");
                   } else {
                        //if sub-thread did not finish processing then redirect to
                        //error page here.
                        System.out.println("Processing IS NOT completed");
              } catch (Exception e) {
                   e.printStackTrace();
    package com.test;
    * sub-processing thread.
    * @author Tolmke
    public class ServletTimeTestThread implements Runnable {
         //Object to facilitate inter-thread communication
         ServletTimeTestResults resultObject;
         //Callback handle to servlet thread
         Thread mainThread;
         public ServletTimeTestThread(
                   ServletTimeTestResults resultObject,
                   Thread mainThread) {
              this.resultObject = resultObject;
              this.mainThread = mainThread;
         public void run() {
              boolean wait = true;
              int count = 0;
              //main processing thread. Need to periodically check resultObject.isStopProcessing()
              //to determine if main thread wants to terninate sub-processing
              while ((wait) && (this.resultObject.isStopProcessing() == false)) {
                   try {
                        Thread.sleep(1000);
                        System.out.println("In proecessing thread...................");
                        //count can be set to values greater or less than 10 seconds to test
                        //various scenarios
                        if (count++ > 3) {
                             wait = false;
                   } catch (InterruptedException ie) {
                        ie.printStackTrace();
              }//End while
              //If servlet thread did not set falg indicating timed out then set
              //processing successfully completed lag.
              if (this.resultObject.isStopProcessing() == false) {
                   this.resultObject.setProcessingComplete(true);
              //if servlet thread has not timed out then interrupt the
              //the thread from th esleep state.
             this.mainThread.interrupt();
         }//End run method
    }//End class ServletTimeTestThread
    package com.test;
    * Object to facilitate communication between main servlet thread
    * and a processing sub-thread.
    * @author Tolmke
    public class ServletTimeTestResults {
         //Flag indicating sucessful completion of processing
         private boolean processingComplete;
         //Flag indicating that sub-process should stop processing
         private boolean stopProcessing;
         public boolean isProcessingComplete() {
              return processingComplete;
         public void setProcessingComplete(boolean processingComplete) {
              this.processingComplete = processingComplete;
         public boolean isStopProcessing() {
              return stopProcessing;
         public void setStopProcessing(boolean stopProcessing) {
              this.stopProcessing = stopProcessing;
    }

  • User defined selection screen sequence

    Hello Everyone,
    I have a kind of an issue with selection screens. Story goes like this. I have a main sel.screen (no 1000) where I have some selection list. Now based on this selection i display another sel.screen (with my given number, let's say 9000). Then i fill selection criterion on screen 9000 press F8 and I get results. So far so good. Now when i 'back' button system displays the first, initial sel.screen (1000) instead of the last displayed (9000). I've tried to modify this behaviour and I am able to display the last sel.screen (9000) after pressing 'back' button but then when i press 'F8' instead of results I get initial sel.screen (1000) again. Is there anything I could do to make it work in the way I want to ?
    Regards
    Pawel

    Ok so let me present the code (or at least the most important parts) as Selva asked because using 'set screen 0' did not help. it is possible that I used it in wrong place so even more presenting code should help:
    * some global data definition
    *definition of mail sel.screen:
    SELECTION-SCREEN BEGIN OF BLOCK selscr1
                     WITH FRAME TITLE text-001.
    PARAMETERS: "select interface
         p_i001(4) as listbox visible length 20 OBLIGATORY DEFAULT 'XXX'.
    SELECTION-SCREEN END   OF BLOCK selscr1.
    *definiotion of following sel.screens;
    SELECTION-SCREEN BEGIN OF SCREEN 1002.
      SELECTION-SCREEN BEGIN OF BLOCK selscr2 WITH FRAME TITLE text-001.
        PARAMETER: p_ws02(4) as listbox visible length 20 OBLIGATORY DEFAULT 'XXX'.
    *    PARAMETER: p_t02 like GV_TABNAME DEFAULT 'zint_v_infin002'.
      SELECTION-SCREEN END   OF BLOCK selscr2.
    SELECTION-SCREEN end OF SCREEN 1002.
    SELECTION-SCREEN BEGIN OF SCREEN 1004.
      SELECTION-SCREEN BEGIN OF BLOCK selscr3 WITH FRAME TITLE text-001.
        PARAMETER: p_ws04(4) as listbox visible length 20 OBLIGATORY DEFAULT 'XXX'.
      SELECTION-SCREEN END   OF BLOCK selscr3.
    SELECTION-SCREEN end OF SCREEN 1004.
    *******************   END OF SCREENS ***********************************************************
    AT SELECTION-SCREEN ON p_i001. "parameter from screen 1000
      CASE p_i001.
        WHEN '002'.
          call SELECTION-SCREEN 1002.
        WHEN '004'.
          call SELECTION-SCREEN 1004.
        WHEN OTHERS.
          CALL SELECTION-SCREEN 1000.
       ENDCASE.
    *** some settings made basing on selections from following screens
    AT selection-SCREEN on p_ws02.
      gv_werks = p_ws02.
    AT selection-SCREEN on p_ws04.
      gv_werks = p_ws04.
    INITIALIZATION
    * filling listbox
    START-OF-SELECTION.
      CASE p_i001.
        WHEN '002'.
         "select 002 relevant data
         "alv display
        WHEN '004'.
         "select 004 relevant data
         "alv display
      ENDCASE.
      END-OF-SELECTION.
    so as i mentioned before when i press 'back' on alv list I end up with screen 1000 instead 1004 (it's 1004 in real life not 9000). when i tried to change i was able to display 1004 selection when i pressed 'back' on alv but then instead of getting new list system takes ma back to 1000 scr again
    regards
    Pawel

  • Adding user defined field in print layout design of Bill of matrial Report

    I want to add "Drawing No" which is user defined field in Bill of Material report need immediate help .

    Hi,
    If you add the UDF in BOM-Title then the UDF will be in OITT table.
    If you add the UDF in BOM-Rows then the UDF will be in ITT1 table.
    You will find BOM-Title or BOM-Rows in Production Module (ie., in User Defined Fields --> Manage User Fields)
    In PLD, You can print the UDF if you search in the above said tables.
    Raja.S

  • How to Use Sequence Object Inside User-defined Function In SQL Server

    I'm trying to call sequence object inside SQL Server user-defined function. I used 
    Next Value for dbo.mySequence  to call the next value for my sequence created. But I'm getting an error like below.
    "NEXT VALUE FOR function is not allowed in check constraints, default objects, computed columns, views, user-defined functions, user-defined aggregates, user-defined table types, sub-queries, common table expressions, or derived tables."
    Is there any standard way to call sequence inside a function?
    I would really appreciate your response.
    Thanks!

    The NEXT
    VALUE FOR function cannot be used for User Defined function. It's one of the limitation.
    https://msdn.microsoft.com/en-us/library/ff878370.aspx
    What are you trying to do? Can you give us an example and required output?
    --Prashanth

  • How to import user defined class in UIX page?

    Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
    Thks & Rgds,
    Benny

    what you are referring to is not javascript.
    it is JSP scriptlets. These are very different.
    In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
    However, you can run java code from within a UIX event handler; see:
    http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
    event handler code is run before the page is rendered.

  • User Defined Default Starting Page

    Hopefully an easy question...what table holds the user defined default starting page? Specifically in 11g.
    Thanks!

    Hi,
    Tried to set default dashboard for all the users.
    1. Created a session init block
    2. Used data source as select '/shared/SH Test/_portal/Test1' from dual
    3. Assigned this value to PORTALPATH session variable
    4. In Presentation services > Administration > My account > Default dashboard should be set to 'default'. Then only the dashboard specified in init block will be displayed otherwise My account will override the init block.
    5. Save the changes made to rpd.
    5. Logout and relogin to see if it is working fine. it is working perfectly fine.
    For details please refer the GSC replication document. But it is for all the users.
    if customer would like to have user/group based home page.
    1. They may need to have 2 separate tables.
    i. Group_path_tab with 2 columns. Group_id, portal_path
    Have group wise portal path for all the groups
    ii. User-group map table
    Group_id, Group_name, user_id
    User should be part of some group.
    2. Then in the init block write the sql should be something like this
    select A.portal_path from Group_path_tab A, User_group_map B
    where B.user_id = :USER
    and B.Group_id = A.Group_id
    SO based on USER session variable, it will try to identify the group and then the portal_path.
    Finally assign this value to PORTALPATH session variable.
    xample:
    Kindly refer the below one..it will very helpful to set homepage for to be different on a per user/group basis
    http://varanasisaichand.blogspot.com/2010/09/default-dashboard-using-portalpath.html
    http://total-bi.com/2011/01/obiee-11g-change-default-dashboard/
    i.e:
    Init block
    select '/shared/AFS/_portal/GPC AFS Reporting' from dual
    Variable target is PORTALPATH (IT'S CASE SENSITIVE)
    '/shared/AFS/_portal/GPC AFS Reporting'
    finally it's be like this
    actual (earliar one)
    http://w01sgpcbiapp1a:9704/analytics/saw.dll?dashboard&PORTALPATH=&/shared/AFS/_portal/GPC AFS Reporting
    after calling default one :
    http://w01sgpcbiapp1a:9704/analytics/saw.dll?dashboard&PortalPath=%2Fshared%2FAFS%2F_portal%2FGPC%20AFS%20Reporting
    My earliear post :
    https://forums.oracle.com/forums/thread.jspa?messageID=9917328&#9917328
    Thanks
    Deva
    Edited by: Devarasu on Oct 18, 2011 9:24 AM

  • Sequence Quiz Using User Defined Variables - Can See Underlying Variable Name On Move

    I have just tested using 1 slide to capture several user defined variables and the next slide to insert those variables as options in a sequence quiz slide.
    This works but as soon as I grab an object to begin sequencing them the underlying variable name shows up alongside the variable content.
    Am wondering if I am attempting something that shouldn't be possible in Captivate and / or if there is a fix?
    Thanks

    Sure, I'm using Captivate 8. On a test project I've created:
    a slide with 2 text entry boxes, their contents are stored in variables
    another slide with a sequence question (using the native captivate question slide)
    The labels on the 2 sliders on the question slide use the variables from the previous slide.
    This works, so if the variables are as follows:
    $$data_sequence1$$ - "blah blah blah"
    $$data_sequence2$$ - "blah"
    The labels on the sliders on the sequence question will be "blah blah blah" and "blah".  as intended.
    The issue is when I click one of the sliders to drag it to sequence the variable name will flash up on screen. So if I touch the slider with the label "blah blah blah" $$data_sequence1$$ will flash up on screen.
    I have other slides on there but these are the two related to this question. I haven't fully published the project I've previewed it.

  • The sequence of system modules & user-defined modules

    Hi Experts,
    can u help me clear about the execution sequence about system modules , user-defined modules & the adapter of XI/PI ??
    I presume the sequence is first adapter ,second own modules, finally system modules at the sender end. 
    and the sequence at the receiver end is first own modules , second system modules ,third adapter.
    im right?
    by  the way,  how about the sequence when the scenario is be setted to synchronization, specially the sequence of the
    response.
    thx in advance.
    Brian.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
    1. for async sender/receiver adapters, you use modules before the standard adapter module.
    2. for sync sender/receiver adapters, you can wither use modules before the standard adapter module (they will affect the request message) or after the adapter module (affecting the response message).

  • Does SQLDeveloper support printing or saving a User Defined Report?

    Once you generate a user defined report, how can you print it out or save it (pdf/tif/jpg/...)?

    File - Print should do that, but there's a current bug (up to v1.5), that only lets you print the visible area.
    So best you right-click in the results, Export Data - xls, and print with your favorite spreadsheet...
    Have fun,
    K.

Maybe you are looking for