OCI: how to move cursor?

I'm writing a program with OCI (for Oracle server -linux) and gonna handle
as much data as number of millions.
The problem is that I have to show a page which can hold only 10~50 records
at once and if 30 records from 100000th row through 100030th row is to be shown,
I think I have to move cursor to the starting position(100000th row in this
case), right?
Is there anyone who can tell me how to make this work with oci library function?
All I can do at the moment is passing all those previous 99999 records by and
select next 30 records. You know, this takes very very long time and makes no
sense to end users.
Any suggestions or idea would be greatly appreciated.
null

OCI doesn't have any screen handling functions nor is it the purpose of OCI. If you want screen handling functions, you can use curses or GTK+ or, if you really want to shoot yourself in a foot, MFC.

Similar Messages

  • How to move cursor from one textfield to another textfield byusing enterkey

    hii all,
    I have a problem in java script.
    To move cursor from one textbox to another text box ,I have take the length of the textboxes of the first column.I used onkeyDown event .
    in the function ,firest i checked the condition like
    for(i=0;i<form1.box.length;i++) //box is the name of the textboxes
    if(event.keyCode==13)
    form1.box[i+1].focus();
    return false;
    by using this the cursor is moving from first text box to secon textbox and stops.
    if i use event.returnValue=false; instead of return false ,then the cursor automatically going to the laxt textbox of the column.
    my problem is how i can focus the cursor from one textbox to another textbox one after the other till the end.
    if any one has solution please help me.
    also if we can do in another way also,please help me.
    thanx.>

    try the following code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnTest(str)     {     
              if(event.keyCode==13)          {
                   if(str == 4)     {
                        formHeader.box[0].focus();
                   else     {
                        formHeader.box[parseInt(str)+1].focus();
                   return false;
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('0');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('1');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('2');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('3');">
    <br>
    <INPUT TYPE="TEXT" name="box" value="" onKeyDown="javascript:fnTest('4');">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    ----------------------------------------------

  • How to move cursor to a particular field in a form when the form opens

    Hi All,
    Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
    Please let me know as soon as possible.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Satya,
    Try the following
    Open the forms personalization window
    Seq: 10
    description : Move cursor
    Level : Function
    On Condition Tab-
    Trigger Event : when-new-item-instance
    Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
    Processing Mode : Both
    Context:
    whatever context you want to do it respoansibility level or user level.
    On the Actions Tab
    Seq: 1
    Type: Bulletin
    Bulletin type : GO_ITEM
    Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
    see if it works for you.
    cheers,
    Ankur

  • How to move cursor from Line item to kuagv-kunnr after E-Message in VA01

    Hi,
    Hope yiou can help.
    I have set an error message to have sold-to and ship-to equal in some cases.
    When the error message is displayed the cursor moves to the material field in the sales order leaving the header greyed out.
    I need it in the sold-to party field (kuagv-kunnr) but I need to do this from USEREXIT_CHECK_VBAP.
    Any ideas?
    Thanks.
    Bubble

    but when i change the value in the item (F1 or F2) of master block and tab our the detailed block should clear but its not happening as i have used clear_block('detailed Block Name')What do you mean? The joining between master and detail block using one of the column (F1 or F2)? If yes. Then why are you changing the value of primary key? It should not allow you to change. Form will display error like Child records exists etc.
    but when we open a form after entering the value in the Item of master block and shows error no data found.. (bcoz as no data to clear in the detailed block).Really i am confused now. Because NO_DATA_FOUND error comes when any SQL fires to fetch data from database. Not at the time of using CLEAR_BLOCK built-in. I did not understand what you are trying to achieve.
    i mean when i change the values in the master block fields and tab out the detail block should get cleared and when we click again on the Go button the corresponding data should display.Why it should get cleared? I mean if you are entering the data in master block and records are already being fetched then what is the need to change the existing record.
    If you mean to say that the record you already fetch through the button. Then you change the existing record and you are supposing that form should behave like the button is doing now if records exists then fetch otherwise should go to the detail block and user can enter the new values then you should give one more button on the form to clear the screen and use same method to fetch records which you used for the button as i showed above.
    -Ammad

  • How to move cursor left to right in jtextpane

    I am developing a Urdu text editior in which i am faceing problem mentioned above so grateful for you reply
    Kuun Sajjad
    for you
    " Kash koi to batay"

    If you give more details you may get more replies
    :-)

  • Waveform graph:move cursor automatically to know coordinate

    Good Day
    Can i know how to move cursor automatically in the waveform graph
    example: i have known Y =2 what is the value of  x is...
    which properties in property node should i use?
    attached also my vi (Coordinate of XY data using cursor)
    Best Regards
    Ahmad Tarmimi
    Solved!
    Go to Solution.
    Attachments:
    coordinate XY.vi ‏40 KB

    Good Day
    I was trying to program the cursor automatically but it does'nt seem working for me..
    Can you please advise me on this matter... 
    Attached also my study pupose vi
    Best Regards
    Ahamd Tarmimi
    Spoiler (Highlight to read)
    Attachments:
    cursor adjustment.vi ‏53 KB

  • How to move mouse cursor

    Hello
    does anybody know how to move the mosecursor with lab view code. If anybody
    have some vi's that take care of this I would be most grateful
    Regards
    Stian Langeland

    For the Win32 case, there's an example available that does this very thing:
    http://digital.ni.com/explprog.nsf/websearch/c33e65e20b23f3e4862565ec004d67ec
    I searched the National Instruments Example Programs Database
    (http://www.ni.com/support/epd/) for "mouse" in order to turn this up.
    Regards,
    John Lum
    National Instruments
    > > Hello
    > > does anybody know how to move the mosecursor with lab view code. If anybody
    > > have some vi's that take care of this I would be most grateful
    > >
    > > Regards
    > > Stian Langeland
    >
    > I think there is no "native" labview solution to your problem.
    > It depends on the platform you are working on. If you use Win32 i'd suggest (if
    > you really need to move the mouse cursor programmatically... do you?) to call
    > some Win32 api func
    tion like MOUSE_EVENT or SEND_INPUT on WinNT. Look them up
    > in M$ documentation. To call them use from the Functions Palette -> Advanced
    > -> Call Library Function.
    > Hope this helps.
    > --
    > Wolf-Dieter Wall

  • How to move page in a section

    Hi,
    I use Pages '09 on Lion.
    I have a section in my document (seen by the yellow line around it) with several pages.
    I just can't find how to move, or better rearrange the page order in a section. Let's say I just want page 8 in my document move up and be page 5.
    How can I do this?
    Thanks.
    Andre

    You are using the Word processor document  in Pages and you can't move the pages but you can move sections.Normally in a WP document you move the content and not  the pages so
    Select the content you want to move
    Either cut it out  ( Cmd + X) and paste it where you want it. The text after where you insert the insertion point will move down when you paste the text. OR
    Place the  the cursor over the selection and press the mouse button and hold it down a while and start dragging. The selection will now move with the cursors. Move it to where you want it. You should be able to see a small black vertical line whch you place where the text shall start.

  • How to hide cursor???

    I'm creating a screensawer in Swing. How to hide cursor?? Please, help!

    Olessia,
    I cannot find a possibility to remove the Cursor (the Cursor type is used to set the cursor, cross_haired etc. as part of a component). It seems if there is no cursor defined or if it is set to null, the systems default cursor will be used.
    There is a workaround you can try. If you set the cursor in the bottom right hand corner of the screen, it's not visible (if it's an arrow that is). This is something you can perhaps use in the screensaver. Before the screensaver starts, set the cursor in this corner and store the coordinates that you moved it from. If the cursor is moved, simply put it back before the move is executed.
    If you manage this, I'd love to see the code...
    regards and good luck,
    Jeroen

  • Applescript MS Word move cursor

    Hi -- how do I use applescript to move the cursor
    a few characters (left, right, down) in a word doc?
    Thanks!

    Hi,
    You can also move the cursor without using the GUI Scripting.
    Here are some examples :
    tell application "Microsoft Word"
             -- count : The number of units by which you want to move
          move range text object of selection by a character item count 1 --move the cursor right
          move range text object of selection by a character item count -1 --move the cursor left
          end key selection move unit a line extend by moving -- move cursor to the end of line
          home key selection move unit a line extend by moving -- move cursor to the beginning of line
          move range text object of selection by a paragraph item count 1 -- move cursor to the beginning of next paragraph
          --** move the cursor after the last character in the next paragraph, error if no (next paragraph)
          set x to (get selection information selection information type first character line number) as integer
          try -- try block to not display the error
                move end of range (text object of paragraph (x + 1) of document 1) by a character item count -1
          end try
    end tell
    Here is a list a (the unit by which to move the collapsed range) that you can use with the move range  command : (a character item, a word item, a sentence item, a paragraph item, a line item, a story item, a screen, a section, a column, a row, a window, a cell, a character formatting, a paragraph formatting, a table, a item unit)
    Also, there are other commands to move cursor, like move range end until, go to next , navigate, ...

  • How to move video inside LR 4?

    Hi
    Could anyone please explain to  me how to move a video, from one folder to another inside LR 4?
    I've moved pictures from one folder to another inside LR 4 several times before, I just marked the pics I wanted to move, and draged them to the desired folder, but I can't do it with these videos........
    The arrow in the left side , in folders, pointing to the folder I wish to move, is greyed out, as if something is wrong, can't figure out why.....
    If I right click on the selected videos, there's no "move" option.......
    kindly
    Jan

    Hi Victoria
    Thx for your reply :-)
    Actually I'm not able to drag and drop any of my video files anymore....must be something "newbie" stuff :/
    I've attached a screenshot, and the videos I want to move, are inside the ¨DIGITAL....¨ folder,  but as said, I'm not able to move them anywhere...... Could it be that I've ¨locked¨something when messing around in LR 4??
    The Greyed out arrow is normal, as I see it now...
    what could I possible be doing wrong here?
    Kindly
    Jan

  • How to move a button in gird layout(16-block game)?

    I am designing a 16-block puzzel game and don't have any idea about how to move buttons in a grid on mouse click.

    This is the code now me help me to solve this problem.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Puzzel extends JFrame {
              JButton[] arr = new JButton[15];
              String[] add = {"1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7.jpg","8.jpg","9.jpg","10.jpg","11.jpg","12.jpg","13.jpg","14.jpg","15.jpg"};
              int X;
              int Y;
              public Puzzel(){
                        Image image;
                        Toolkit toolkit= Toolkit.getDefaultToolkit();
                        image=toolkit.getImage("icon.jpg");
                        ImageIcon icon=new ImageIcon("icon.jpg");
                        setIconImage(image);
                        setTitle("Puzzal");
                        JMenuItem pic = new JMenuItem("Solved");
                        pic.setMnemonic('a');
                        JPanel jp = new JPanel(new GridLayout(4,4));
                        ArrayList list = new ArrayList();
    MouseListenerClass M1 = new MouseListenerClass();
                           for(int x = 0; x < arr.length; x++)
                               arr[x] = new JButton(add[x], new ImageIcon(add[x]));
                               getContentPane().add(arr[x]);
                              list.add(arr[x]);
                        Collections.shuffle(list);
                        for(int x = 0; x < list.size(); x++)
                              jp.add((JButton)list.get(x));
                            getContentPane().add(jp);
                                 pack();
                                 setSize(427,427);
                                        setResizable(false);
                        /*for(int x=0;x<arr.length;x++){
                             arr[x].addSelectionListener(new SelectionAdapter());
                   public void widgetSelected(SelectionEvent event){System.out.println("IN");
                        if (event.getSource().getClass().equals(Button.class)){
                             Button button = (Button) event.getSource();
                             if (button.getText().equals("") )
                                  Toolkit.getDefaultToolkit().beep();
                                  else
                                       this.swapPlaces(((Integer) button.getData()).intValue());
                   public void widgetDefaultSelected(SelectionEvent event){
                                  System.out.println("Widget was defaultselected: " + event.getSource());
               for(int x = 0; x < arr.length; x++)
              arr[x].addMouseMotionListener(M1);
              private class MouseListenerClass extends MouseMotionAdapter
                   public void mouseDragged(MouseEvent E)
                   X=E.getX();
                   Y=E.getY();
                   for(int x = 0; x < arr.length; x++)
                        arr[x].setBounds(X,Y,100,100);
    public static void main(String[] args){
                    new Puzzel().setVisible(true);}
         }

  • How to move the "back" button to the top ?

    Hi there,
    I had some sub-menus and iDVD auto generate the "FORWARD" and "BACKWARD" buttons in the shape of a triangle. Problem is this buttons are alwayd at the bottom and I do not seem to be able to move the buttons around.
    Any tips on how to move these buttons to other places ?
    Thanks

    Old Toad wrote:
    You can't move them.  Those are hard coded into the themes.
    OT
    Thanks OT ... been trying for hours to move them !!

  • I can't figure out how to move my playlist folders to my iPod

    I have a 5th Generation iPod and I am using it with the latest version of iTunes on a dare I say it Windows machine.
    I organize my playlists in folders on my iTunes. When I sync to my iPod those folders do not carry over, but the playlists in those folders do not. I have sorted through the manual, the options on both iTunes and my iPod and this website, and for the life of me I can't even find a mention of how to move these folders over to my iPod.
    ANY help is apreciated.
    Thanks,
    Karl

    Although iTunes supports the use of folders in the manner you describe, unfortunately the iPod does not.

  • How to Move a Video File from Movie Section to "TV Shows" Section

    I have an Ipod classic, and am trying to figure out how to move a video file from the "Movie" section to the "Tv Shows" section. I have Itunes version 1.3 which for my device is listed as the most current version.

    haha itunes 1.3, epic.
    to clarify that, I think he would have an ipod classic 80gb which the newest version is 1.3 I think.
    However to answer your question, in itunes right click the movie, go to properties, then go to options, where it has media kind put it to tv show
    Message was edited by: Nudethecih

Maybe you are looking for