How to implement "First Page" command in WAD

Hi there
I have a bug in my code, in that if the user pages down a few times, then chooses to Display All Rows (option provided in dropdown), the code works correctly to display all rows, but starts at the point at which the user was ... not from row 1 as should be the case.
In case this doesn't make sense :
- Assume that the table shows 10 rows at a time
- On first entry, rows 1-10 will be displayed
- User presses the standard page-down button ... rows 11-20 now displayed
- User now presses button to show all rows (say there are 30 rows in the query)
- User now sees rows 11-30, with no paging functionality.
I would like to add / insert an additional command which navigates to the first page, then shows all the rows, but I can't figure out how.
I have tried setting DATA_ROW_FROM to 1, but that doesn't help.
Please note that I can set the parameters to show all the rows, just need to be able to navigate to row 1 before I do that.
Any ideas?
Cheers,
Andrew

Come on ... nobody out there with an idea?

Similar Messages

  • How to implement Review Page functionality

    Hi,
    I developed one custom Page, In that page user will enter data and click on Submit.
    Requirement is before submitting, user needs review the data and click on submit.
    Please suggest how to implement this functionality.
    Thanks in Advance,
    Hanimi.

    So far I have noticed that the best idea will be to recreate and code by
    myself. As You probably know each SSHR function ends with review page that shows the changes I just want the same.
    So problem that I have is, I need to implement Dynamic Approvals so the
    employee should be able to see who is going to approve and add approvers if
    neccessary. And I cannot find any information on how to code that.
    I jsut want the same functionality as in standard modules.

  • Regarding sap script how to create first page and next page

    could u plz let me explain the steps for creating
    WE HAVE " PAGE BUTTOR" IN THE FORM.
    THERE WE CAN CREATE MULTIPLE PAGES
    I HAVE ONE    MAIN WINDOW   FOR "FIRST PAGE"
    I HAVE ONE MORE   MAIN WINDOW   FOR  "NEXT PAGE"
    LIKE THIS
    HOW CAN I TEST THE MULTIPLE PAGE S
    EXPLAIN CLEARLY
    FIRST PAGE
    NEXT PAGE
    THIRD PAGE
    FOUTH PAGE
    IN SAP CERIPT FORM

    hi
    in ur script u have  page button click to it and now do this
    goto 
    EDIT-->Create Element
    after this u have an pop-up
    now enter ur page name and description here and press enter
    insimilar manner creat the pages that u want
    Now once uahve created the pages  click to windows button
    and do this
    EDIT-->Create Element
    after this u have an pop-up
    now enter ur window  name and description here and press enter
    Now once u have created the windows click to page window button
    here u will give the page name in the box and do the same
    EDIT-->Create Element
    an popup will apear select the window u want to have on this window ok
    now code inside this window
    Hope this will solve ur problem
    Cheers
    Snehi Chouhan

  • How to view first page of newsletter (Publisher file convert to ?)

    I am using Dreamweaver CS4 on a Mac.  I am trying to post the first page of our newsletter on the page.  See http://indianaeagleforum.org/newsletter.htm  Here it is FrontPage 2002 and the newsletter was done in Publisher 2007.  I am redoing the website in Dreamweaver.  I can save the Publisher file as a .jpg but then the page is too wide.  It saves as 1276 px wide and the web site is 955 px wide.  In FrontPage I can specify the width and still keep the correct aspect ration and it will shrink the page.  What should I do in Dreamweaver?  I can save the Publisher file as a .tif or.png or as .html.  I am afraid the .png file would not print well.  What would you suggest?  Thank you.

    Dear Diana,
    never quit, please!I quote: ... the file is too big and takes too long to load ...
    If you really want to follow our recommendations, there are still plenty of opportunities to "optimize", resize (by using compression techniques), correct, cut, aso. all your images for the web.
    Very good "little helpers" you will find in Photoshop, Fireworks, Microsoft Office Picture Manager, MS Photo Editor aso. Perhaps you work with all of them already or you know them at least, so the application should not be a problem.
    "Microsoft Office Picture Manager" as an element of "Home and students" I prefer if it's necessary to convert multiple images at once in different sizes.
    Phew, a long load time is not a must now, or!?Hans-G.

  • How to make first page to be on the left?

    Hey,
    Is there any way to make a 2-page document with the two pages displayed side-by-side?
    I tried setting various options, but I could only get either the two pages under each other; or one page on the right, one on the left, but the one on the left is below the first one
    If anyone used Scribus, I'm looking for the "First page: on the left" option :/
    Thanks.

    Sure, just start the page numbering at 2.
    In the pages panel, double click the black arrow above the first page
    and in the "Start page number at" type 2.
    Ariel

  • How to make first page my home page, not Firefoxe's privacy page

    Before version 29 Firefox brought up my home page -- the only one. Now, no matter what I specify to be the home page the Firefox "privacy" page is loaded first with my home page as a secondary (and not shown) page.
    Loading the privacy page wastes CPU time and is aggravating. How do I turn off that over-riding, default page?

    This can be caused by problems with the file(s) that store preferences and possibly other files like the compatibility.ini file.
    You may have security software that protects some files against changes.
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How to implement a page level validation !!

    Hello ,
    I want to implement page level validation.
    thanks
    Edited by: kumar73 on Apr 21, 2010 1:41 PM

    Should be pretty easy - your condition would probably just be the click of the button (button name) or the request value sent by the button (SUBMIT?) You can do a function returning boolean as the type
    The code would be something like:
    begin
      if :P1_SHUTTLE is not null or
      :P1_SHUTTLE2 is not null or
      :P1_SHUTTLE3 is not null or
      :P1_SHUTTLE4 is not null or
      :P1_SHUTTLE5 is not null then
        return(true);
      else
        return(false);
      end if;
    end;

  • How to implement a page showing different database tables

    I am wondering what is the best way to implement the following task:
    On the left side of a page, there are two Listboxes. On the right side of the page, I want to display different database tables depending on the selected value from those two Listboxes.

    I am wondering what is the best way to implement the
    following task:
    On the left side of a page, there are two Listboxes.
    On the right side of the page, I want to display
    different database tables depending on the selected
    value from those two Listboxes.A Data Table component isn't really designed to dynamically swap which database table you're binding too (and therefore which set of columns you will display) under the covers. Here are a couple of general strategies to consider for accomplishing your functional requirements:
    * Create a separate Data Table component for each possible database table, all on the same page, and dynamically set the "rendered" property of the selected Data Table to true, while setting it to false for all other Data Tables. That way, only the corect one will be shown.
    * Create a separate page for each Data Table, using a similar look and feel so that it appears to the user like it's all the same page. To save cutting and pasting the list components, put them in a JSP Page Fragment so they can be reused on each page. ((SIDE NOTE: This is a very common technique for simulating what looks like tabbed panes, but where the implementation actually uses separate pages.))
    * Use frames so that the left frame (containing the list boxes) stays the same, and the right frame switches to a different page for each of the tables. This is essentially another way to share the list components across the pages.
    * Abandon all the ease-of-use stuff Creator provides for binding to data tables, and write code that programmatically erases all the old child components and creates new ones. This is the sort of thing you'd need to do for a "SQL BROWSER" sort of application, where the set of columns is not known ahead of time.
    Craig McClanahan

  • How to make first page to display when running the project

    hi friends,
    as i am new this development in webdynpro, i am getting lot of support from the forum. i am thankfull them all.
    now i am having many views in my project and i am navigating from one another. if i want to make one particular view as first view to be displayed when i am runnning the project.

    hi,
    If u have more than one view.To define a view as a start view, you must create an outbound plug for this view.
    note:For Create Outbound Plug or Create Inbound Plug. In
    the work area of the Navigation Modeler, click once on the view for which you want to create the plug. It is irrelevant whether you start by defining an outbound plug for the start view or creating an inbound plug for the subsequent view.
    regards,
    Arun

  • How long does one page in iWeb go?

    Hi,
    I currently have a website up on freewebs.com and now I have my own domain name and am working on making a new site with iWeb and just started using it the other day.
    When you are working on a page within iWeb lets say the Welcome page, are you limited to one page or can you keep on going within that page so it scrolls down. Let's say my first page is really 5 pages do I just keep adding stuff to that first page and it will automatically scroll when someone opens it in their browser (provided they click the down arrow)?
    What I'm really asking is, is their a limit to how long your first page is? I hope this is making sense here.
    S.

    I don't think that a page in iWeb is limited in it's length. There maybe a limit that apple has placed on it, but it is well past 6000 pixels. You can change how long your page is by opening the inspector and clicking on the second tab from the left. This will open your "page" dialouge. Edit the length of your page by increasing the number in the "content height" field. About the automatic updating of the length in your page; that does happen, but only when you move certain things. iWeb will not lengthen your page when you keep adding more stuff into it. It will increase the length, however, if you litterally move the position of something that is a default item in your selected template. For instance, iWeb will update the length of your page if you move the position of that default text field (wich is in French or somethinng) beyond the current page's "page length" limitation. You can see more clearly the boundaries wich you've set for yourself by changing temporarily the "browser background" color (also in the "page" dialouge in the inspector.
    One other tip: (this is not at all related) Personally I don't like the look or configuration of the links in Apple's provided navigation menu. I choose not to display the nav menu and I use my own. It takes more work - you have to worry about style and all of that in addition to coordinating all those links. so let's say you use a tab configuration like i do. I have five tabs, and I have about 40 pages on my website. That means I had to make 200 links just for my custom nav menu. Coordinating them to make sure each one is correctly configured is another thing. I think it's worth it though. - And the copy and paste technology invented 3 billion years ago has been used more and more by me to complete that task! check it out if you like at DesignNashville.com.
    got ?'s email at [email protected] and I'll see what I can do for you.

  • WAD report - How to navigate to first page?

    Good day,
    When i run my WAD report, have the pages navigation.
    When i click to LAST page and then click button "Change variables", a get my report with new data by another key, but it display it's LAST page too!
    How can i changed variables and get the report with NEW data starting with FIRST page.
    I have found BI_COMMAND "NAVIGATE_ROW_PAGE_START", but there is unavailable in command constructor.
    Regards and waiting for answer.
    Thank you!

    I think this would be possible by having custom CSS embedded in web template. E.g. see here:
    http://www.zimmertech.com/tutorials/css/20/changing-cursors-tutorial.php

  • How to print second page as continuation of First Page.

    Hello,
    I am printing a script. I want to print next page as continuation of first page.
    I am printing some contents. It is overflowing the first page, But remaining contents are not appearing at
    Next page.
    How to print that.
    Can any body plz help.

    Hi,
       If the text doesn't fit in page, the it will be printed in the next page.
    If it is one line or two line by increasing the length of the window, you can accomodate.But if it more than than then its not possible to print in the same page.
    If you dont want to get the text truncated then just use PROTECT and ENDPROTECT command in order to protect the text.
    Then the whole text will be printed either in First Page or Second page depending on the amout of text.
    Thanks & Regards,
    Vamsi.

  • How do I print only the first page of multiple PDF documents?

    I have about 1,500 PDF files (scientific papers) that I need to print only the first page of... Any suggestions on how to do this as a single job or as a few jobs? The files are organized in a bunch of different folders, so if there was some way to do this folder by folder, that would be ok too. Thanks!

    Make sure that in System Preferences Printing & Fax pane you set the default printer to the one you want to use, then put all of these PDF files into their own folder, then open terminal and type the following (without hitting return afterward):
    lpr -o page-ranges="1-1"
    Then drag one of the PDF files into the terminal window (it will add it's path to the end of your command) and replace the file name with *.pdf, so it will look like this:
    lpr -o page-ranges="1-1" /Users/todd/Documents/My\ Folder/*.pdf
    Then hit return.

  • How to start the page count from second page (first is title)

    Hi all,
    I have been using Livecycle for a little while now and think I have got to grips with quite a bit of it to make some fairly simple interactive forms, but I have started to make more complex forms now and although I am able to work a lot of things out, one thing has stumped me. There are lots of threads about page numbering, but none seem to address my problem: I wish to have a 'page number' on the master page (done that) but I have 2 master pages, one is used for the first page (then not at all) and the second master page is used after that, that is the one with the page count on, that way the page number appears at the bottom on every page, apart from the first one. I need a way for the count to 'skip' the first page (as this is a title page and I do not want that numbered) and start numbering from page two of the form, but have it numbered as page 1.
    So basically the document will be Title page (no numbering), then pages after that of the form, starting from '1' shown on the bottom- it is a dynamic form that may change length as the user adds to it. Is there a script that I need to use, and if so how should I implement it? Any help would be appreciated, apologies if this is not very clear!

    Use the Custom object "Master Page n of m" on the second master page.
    Steve

  • How to show the first page and then rest will be created in background

    Dear Friends,
    I am suffering from some seriouse issue of slow opening of report....
    I am using vs2005 and asp.net 2.0 and crXI R2 sp4,
    using oledb for getting data from ms sql server 2005.
    Now my one report called accounts ledger
    when i execute the report query it takes 1.03 mins for 515000 records..no issue with it ,
    when i execute the report from report desginer for 515000 records its taking 26 mins . It is generating all
    32000 pages.
    Now same report i run from my web based erp application it takes 30mins to execute 32000 pages now
    this is too much time it is taking and now our client is fedup of ussss..
    So is there any way that we can show First page at the earliest and rest of the pages willl be getting created in background? is it possible ?
    We have to give them the solution as sson as possible...
    can anyone suggest the diff ways to get out of this problem .......
    Please ur co operation will be appriciated....
    thansk

    Hi Mithun,
    Here are a few points related to performance issue. These might be helpful.
    The performance of a report is related to:
    External factors:
    1. The amount of time the database server takes to process the SQL query.
    ( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
    2. Network traffics.
    3. Local computer processor speed.
    ( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
    4. The number of records returned
    ( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
    Report design:
    1. Where is the Record Selection evaluated?
    Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
    They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
    For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
    in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
    SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
    2. How many subreports the report contains and in section section they are located.
    Minimise the number of subreports used, or avoid using subreports if possible because
    subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
    records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
    factor why a report takes a long time to preview.
    3. How many records will be returned to the report.
    Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
    4. Do you use the special field "Page N of M", or "TotalPageCount"
    When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
    of the report before it displays the first page, therfore it will take more time to display the first page of the report.
    If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
    5. Link tables on indexed fields whenever possible.
    6. Remove unused tables, unused formulas, unused running totals from the report.
    7. Suppress unnecessary sections.
    8. For summaries, use conditional formulas instead of running totals when possible.
    9. Whenever possible, limit records through selection, not suppression.
    10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
    For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
    SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
    11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
    12. Perform grouping on server
    This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
    Regards,
    Shweta

Maybe you are looking for