NEXT,PREV,FIRST,LAST PROBLEM

hi to all
i'm using form6i and run in c\s
i have 7 records, (1,2,3,4,5,6,7), the problem is when i click next_Record button it will go the the last_record which is 7. when i click previous it will go to the first record which is 1. when i click last_record it will go to last. when i click first it will to to first..
my trigger is when button pressed for 4 buttons..
execute_query
LAST_RECORD
execute_query
First_Record
execute_query
Previous_RECORD
execute_query
Next_RECORD
is my code wrong?

my trigger is when button pressed for 4 buttons..
execute_query
LAST_RECORD
execute_query
First_Record
execute_query
Previous_RECORD
execute_query
Next_RECORD
is my code wrong?execute query....?
are you only navigating between the records already queried or querying the records at each button click.... clarify???

Similar Messages

  • First,last next previous,save, delete,execute,find.

    experts,
    am using jdev 11.1.1.4.0
    in jdeveloper has buttons like such as first,last next previous,save, delete,execute,find.
    what my question is?
    is it possible to do this?
    i don't want these buttons,
    instead of the buttons -- i needed icons. for doing same operation.
    for explaination,
    let us, take an eg:
    In jdeveloper we do some changes in designing or may coding part.
    after then, our hand moves to save these changes.so press save icons to save all of them.
    this is my point.
    when the user make all entry in my ui.he want to save the datas by not pressing buttons. by pressing save icons. (i.e) floppy disk icons. in our tool bar
    i want that save icons instead of save button doing same operation.
    like wise
    i want these operation undo ,redo,first,last,next.previous. not in button. only icons. do these operations.
    if it's possible can one show the way.
    r else paste link
    how to do this?
    Edited by: subu123 on Jul 25, 2011 2:40 AM
    Edited by: subu123 on Jul 25, 2011 2:48 AM

    Hi,
    In our application we use the "af:commandToolbarButton" component but instead of the "text" property you use the "icon" and "disabledIcon" properties.
    <af:commandToolbarButton shortDesc="the tooltip"
                                         id="button
                                         actionListener="#{yourAction}"
                                         icon="/images/yourIcon.png"
                                         disabledIcon="/images/yourDisabledIcon.png"/>
    </af:commandToolbarButton>Gabriel.

  • Jquery or code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010

    Jquery or dynamic code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010.
    i have a dynamic SP gridview contains Previous and next
    buttons for paging.
    page doesn't contain Update panel.
    grdXRPSUsers.PagerSettings.Mode = PagerButtons.NextPrevious;
    grdXRPSUsers.PagerSettings.PreviousPageText = "< Previous Page";
    grdXRPSUsers.PagerSettings.NextPageText = "Next Page >";
    grdXRPSUsers.PagerSettings.FirstPageText = "First Page";
    grdXRPSUsers.PagerSettings.LastPageText = "Last Page";
    When i click on Next or Previous page in the gridview it will take more time and showing progress bar in th below.
    As per my client request, i need to change the
    progress bar to Loading image (Wheel at middle of the grid at fething time).
    How its possible either through jquery or Programming(code behind).
    Please help

    Hi,
    According to your description, my understanding is that  you want to add loading image when click the paging button to load the data.
    I suggest you can use Jquery BlockUI Plugin to show a block image when loding data in paging click event.
    Here is a similiar thread for your reference:
    How to display a loading image until a gridview is fully loaded
    More information:
    Jquery BlockUI Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • In the latest version of Firefox, I am not able to open a new tab neither by Ctrl+T nor from the File Tab nor by pressing the '+' sign next to the last tab

    In the latest version of Firefox, I am not able to open a new tab neither by Ctrl+T nor from the File Tab nor by pressing the '+' sign next to the last tab. So the only solution is opening "New window" which is extremely messy. Kindly help me with this issue.

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • My address book in v. 32.0 will not sort properly e.g. by first, last, etc.; how can I correct this?

    My address book has 106 names. I have selected for an ascending-sort by display name. But it will not fully sort that way; instead, the names appear as batches, within each of which the sort is (mostly) correct. When I click on Name at the top, the sort toggles between ascending and descending, as expected, but the change occurs within each of the seeming batches rather than overall. Also, it seems that in 1 or more batch, the name displayed is not what I have chosen, e.g. first, last or display.
    In other words, displayed is one long list of names but it's really sets of names, that are treated as such. I want them all to be in one "set" and correctly sortable as such.

    I also have this problem sorting my address book which did not occur until I updated to Version 32.0. I will go back to version 31 but v32 needs to have someone look at the sort module and make corrections.

  • Displaing First/Last user name, typed by Russian in GW Address Book

    The GW Gateway for Exchange with directory exchange and sync enabled
    creates contacts on Exchange side, no problem. But I have First/Last user
    name,
    typed by Russian. After the directory exchange I can see undefined symbols
    in First/Last Name
    in Groupwise Address Book
    Also I have a problem with formatting contacts in Exchange Address Book.
    The contact is formatted as "FirstName LastName",
    as discussed
    http://forums.novell.com/group/novel...wise.7x.other-
    gateways/readerNoFrame.tpt/@thread@1011@F@10@D-,D@+980+984/@article@984
    Thanks.
    Alexey

    I am working with a number of issues with Novell on Cyrillic chars
    being displayed. Would you please try the SP2 beta client before I
    start to work though this one with Novell. Thanks
    On Fri, 02 Mar 2007 15:34:35 GMT, [email protected] wrote:
    >The GW Gateway for Exchange with directory exchange and sync enabled
    >creates contacts on Exchange side, no problem. But I have First/Last user
    >name,
    >typed by Russian. After the directory exchange I can see undefined symbols
    >in First/Last Name
    >in Groupwise Address Book
    >Also I have a problem with formatting contacts in Exchange Address Book.
    >The contact is formatted as "FirstName LastName",
    >as discussed
    >http://forums.novell.com/group/novel...wise.7x.other-
    >gateways/readerNoFrame.tpt/@thread@1011@F@10@D-,D@+980+984/@article@984
    >
    >Thanks.
    >
    >Alexey
    Tim
    Tim Heywood (SYSOP)
    NDS8
    Scotland
    (God's Country)
    www.nds8.co.uk
    In theory, practice and theory are the same
    In Practice, they are different

  • Stories Limitation? - Unable to use Next/Prev Jump with individual Stories.

    I have tried to use Stories on a recent DVD project to save scripting a 'Play All' button. From reading many people have advised using Stories for this particular reason. However I have run into one issue which I can't get around:
    When selecting an individual story to play I can't find a way to allow the user to 'Next Jump' or 'Prev Jump'. This only seems possible if the whole track is selected as if the user presses 'Play All' - then the user can Next Jump / Prev Jump to the following or previous track.
    What I want to do is allow the user the option to simply Next / Prev Jump when playing an individual story so they can return to the menu instead of pressing the menu button. Is this a limitation with Stories? I have read other people having a similar problem but would like confirmation if anyone knows. Thank you.

    hangmanstudios wrote:
    What I want to do is allow the user the option to simply Next / Prev Jump when playing an individual story so they can return to the menu instead of pressing the menu button.
    Argh.... sorry when I read these parts of the original post I thought you were referring to the next/previous in a story that would not work and you had to wait for the story to end or break out with the menu command. The link you later referred to, well then I got it. You want to jump between stories.
    There are various ways to try to do things but there is no way to assign the story to end jump two different ways (sort of) based on whether the prev/next command is pressed. In other words if you have a menu that has a story to play Scene 2 of a movie, you can arrange things so that when Scene 2 is over you can either go back to the Menu OR go to another story. If you want to point people into an entire movie and start at a Scene you can point to a "Play All" story and the Chapter Marker in the Play All story and it will prev/next. If the story jumps to a story on another track, you can try to script previous next to work, but then again it is only in the context of having some decisions made as to how you want it to navigate, but it may not be perfect...not sure if that makes sense(?)

  • Conditional function for next/prev links in gallery

    Has anyone written a function to conditionally show/hide the
    next/prev
    links?
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    =============================
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/

    Maybe that was poor phrasing. I'm wanting to the links only
    when necessary.
    I don't them to loop. In other words I only want the previous
    button
    available when there is a previous image. So it wouldn't show
    on the first
    image. The same with the next link.
    Bryan Ashcraft (remove brain to reply)
    Macromedia Certified Dreamweaver Developer
    Paragon Visuals ::
    http://www.paragonvisuals.com
    Adobe Community Expert (DW) ::
    http://www.macromedia.com/go/team/
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Got Questions? Get Answers
    DWFAQ ::
    http://www.dwfaq.com
    PVII ::
    http://www.projectseven.com/go/
    "kinblas" <[email protected]> wrote in
    message
    news:e5ublf$kr4$[email protected]..
    > Just curious ... why would you want to conditionally
    hide them as opposed
    > to just removing them? What would your condition be?
    >
    > --== Kin ==--

  • Prevent player to jump to unwanted places using Next/Prev in Track

    Just got into quite a big issue on a finished project ready for duplication.
    The project is HUGE, about 90+ Tracks, and a number of menus that are far near the limit. But it's working fine.
    No Track is meant to have a link to another, you choose and play a Track from a menu (English or Swedish, adding subtitles and stuff).
    However, if I try Next/Prev in Apple DVD player, WinDVD or PowerDVD it works fine, ie nothing happens.
    If I try the disc in some stand-alone players, it works fine too (either nothing happens, or I see a symbol that the user action is prohibited).
    But, on one of the office players (a Toshiba SD-350E or something like that), I get very weird things. Pressing Next starts playing another Track in the project. If I then try Next/Prev I end up in a black screen and the player stops. That's no good.
    Now, is there any work-around for this that is quick and dirty? The project is closed, no money left, except for the duplication.
    It feels hard to leave to duplication, knowing a user could hang the player...

    I figured this is what I have to do... too bad I didn't realised this when the project was still in develop... :-/
    And sure, all the Tracks have their End jump set, and a Menu call set, too. The Title button is also set for the project (jumping to the title menu, accoring to which language choosen after First play).
    And why the heck are the manufacturers making DVD players that does not follow the DVD standard???

  • Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.   When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and

    Please read my question carefully, this is, I think, a question for the experts. It's not the usual name change question.
    When I setup my new MacBook Pro, something slipped by me and my computer was named First-Lasts-MacBook-Pro (using my real first and last name).
    I changed the computer name in Preferences/Sharing to a new name and Preferences/Accounts to just be Mike. I can right click on my account name, choose advanced, and see that everything looks right.
    However, If I do a scan of my network with my iPhone using the free version of IP Scanner, it lists my computer as First-Lasts-MacBook-Pro! And it lists the user as First-Last.
    So even though another Mac just sees my new computer name, and my home folder is Mike, somewhere in the system the original setup with my full name is still stored. And it's available on a network scan. So my full name might show up at a coffee shop.
    Can I fully change the name without doing a complete re-install of Lion and all my apps?

    One thought... you said the iPhone displayed your computer's old name? I think that you must have used the iPhone with this computer before you changed the name. So no one else's iPhone should display your full name unless that iPhone had previously connected to your Mac. For example, I did this exact same change, and I use the Keynote Remote app to connect with my MacBook Pro. It would no longer link with my MacBook Pro under the old name, and I found that I had to unlink and then create a new link under the new name. So the answer to your question is, there is nothing you need to do on the Mac, but rather the phone, and no other phone will display your full name.

  • PO requisition notifications page not showing NEXT/PREV links

    Hello All,
    In the PO Requisition Notifications page, the region containing all the lines "ReqLinesNotificationsRN" doesn't show any NEXT/PREV navigation links if the number of lines are more than the default value set at Profile - PO:%Notif%lines%disp%Limit%
    FYI,
    1. I've checked with Profile - PO:%Notif%lines%Disp%Limit% and found it 20 lines by default. I've tried removing this value and made it to NULL. Still no effect.
    2. Personalizing "ReqLinesNotificationsRN", which is a table region, I've set the option "records to be displayed" to 20. Still no effect
    Can somebody please inform how to find a solution to this?
    Thanks,
    Anand

    Most likely, the Status column has been inadvertently turned off or repositioned too far to the right for it to show in the panel. Drag the panel into an open area of your screen and drag out its right edge to make it wider. If you still don't see the Status column, choose Panel Options... from the panel menu and re-enable it by ticking its checkbox under Show Column.

  • Last problem in my project!!

    i've intend to open this 'Receipt.class' by clicking button from other class file called 'Main.class'
    Normally we used this statement "Receipt open = new Receipt();" to open,
    but what if the class file is like that??
    Please help me even giving me the clues!! please.. this is my last problem in my project!!!
    import java.awt.geom.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.print.PrinterJob;
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.print.*;
    public class Receipt extends JPanel implements Printable, ActionListener {
    final static JButton button = new JButton("Print");
    public Receipt() {
         setBackground(Color.white);
    button.addActionListener(this);
    init();
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() instanceof JButton) {  
    PrinterJob printJob = PrinterJob.getPrinterJob();
    printJob.setPrintable(this);
    if (printJob.printDialog()) {
    try {
    printJob.print();
    catch (Exception ex) {
    ex.printStackTrace();
    public void paintComponent(Graphics g) {
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D) g;
         drawShapes(g2);
    public void drawShapes(Graphics2D g2){
    g2.drawString("Hello world",50,50);
    public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
    if (pi >= 1) {
    return Printable.NO_SUCH_PAGE;
         drawShapes((Graphics2D) g);
    return Printable.PAGE_EXISTS;
    public void init{
         JFrame f = new JFrame();
         JPanel panel = new JPanel();
         panel.add(button);
         f.getContentPane().add(BorderLayout.SOUTH, panel);
         f.getContentPane().add(BorderLayout.CENTER, new Receipt());
         f.setSize(580, 500);
         f.show();

    I don't quite get your question. What did you mean by open? Did you mean to display it. Receipt is a JPanel, to show it you need to have it inside a Frame or an Applet or some sort of container.
    try this
    import javax.swing.*;
    Receipt receipt = new Receipt();
    JFrame aFrame = new JFrame("Display Receipt Panel"); //create a JFrame
    aFrame.getContentPane().setLayout(new BorderLayout()); //set Layout Manager for the frame
    aFrame.getContentPane().add(receipt, BorderLayout.CENTER); //add panel to the frame
    aFrame.show(); //show the frameThe above block of codes create a JFrame and add the Receipt panel to the Frame. Then call the Frame to show. You can put this code in a method, if you need to use this Frame and panel again, make them instance variables rather than local variables.

  • Urgent: Formular question: get first/last month value with qty value

    We've got a query result as the following:
    Jan_2007 -- Feb_2007 -- Mar_2007 -- Apr_2007
    0 --- 54 --- 0 --- 3
    23 ---0 --- 12 --- 7
    In the above query result,
    1st row shows the sales quantity in Jan_2007 is 0, in Feb_2007 is 54, in Mar_2007 is 0, and in Apr_2007 is 3.
    2nd row shows the sales quantity in Jan_2007 is 23, in Feb_2007 is 0, in Mar_2007 is 12, and in Apr_2007 is 7.
    We would like to add a new column to get the first/last month value with quantity, e.g., in 1st row, the 1st month value with quantity value (>0) is Feb_2007, and the last month value with quantity value (>0) is Apr_2007. Therefore the 1st month value with qty is Feb_2007 and the last month value with qty is Apr_2007. In 2nd row, the first month value with qty is Jan_2007 and the last month value with qty is Apr_2007. But how to use formular to get the 1st/last month values with qty?
    We will give you reward points!

    Hello Kevin,  
    You can create forumula using [Boolean Operator|http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm]
    IF<Logic Expression> THEN <Expression1> ELSE <Expression2> can also be made using a formula in the form
    You can also use the [AND, OR Logical operators |http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm]to check all the keyfigure columns.
    Thanks
    Chandran

  • Next/Prev in Report row counter

    How do you have the Next/Prev selectors appear with the row counter section at the bottom of reports.
    I created an SQL report, and although I selected use report pagination, the Next/Prev selectors are missing at the bottom of the report with the row counter.
    If I manually create an Next/Prev process, this build buttons outside the report row counter in the report region. Since all my other reports have the selectors inside the report with the counters, it looks goofy to sudddenly have Next/Prev buttons outside the report.
    Thanks

    Kevin,
    Edit the report's attributes and verify that pagination is indeed turned on. Also, are you using HTML DB 1.6?
    Sergio

Maybe you are looking for

  • How do I change the Apple ID on all of my songs?

    I recently updated to the new version of itunes and when i went to play a song that I had been playing before the upgrade Itunes asked me to authorise the computer. The apple ID was an old one, (the one that I had bought the song with) but I have sin

  • Tables running long in Internet Explorer

    Hey guys, I'm new here, and still somewhat of a noob when it comes to html and web design so be easy on me. One of my new projects is creditcardrewardzone.com, which I thought was looking pretty good until someone told me that it was completely screw

  • Where to store the password data for  exiting user in Elgamal Algorithm

    hi, i am doing a project in Intelligent security in java using Elagamal algorithm. The feature of Elgamal is that the password is not stored in database . Then where is the password is stored to check for a existing user . If i am an existing user th

  • How do I transfer music from itunes on my new Macbook to my new iPhone 4

    Hi, I am very new to this and while I see a previous post on this subject it does not help. Is there a link to how I can do this, its prob simple but I need a hint please. I have sparkly new iPhone that I cant get my music onto. Looking for transfer/

  • Manual for MS-6378

    All I need is a manual for MS-6378. Can anyone please help. I tried to replace motherboard, but did not work properly. Now I need to jumper settings and where to plug power switch.