How to  Place the Cursor at Specific Position with-in a Char Field ?

Forms 4.5 ver.
Sun Solaris / Citrix env.
Char Field - Length 65434
How Can I Place the Cursor at "Specific Location"
with in a Field ?
with GO_ITEM('field Name') I can place the Cursor at Specific Field.
But, How Can I achieve to Place the Cursor at Specific
Position within that Field ?
I know, the starting position, length of string I want to hightlight with the Cursor.
tried using :
go_item('substr(field_name,position,length)') ;
but didn't work !
Is it possible ?
Thanks, Peri

The only cursor postion behavior that can be controled is the item property "Keep Position".
The following is the text from the on-line help for item property "Keep Position"
KEEP_POSITION Specifies whether the Keep Position property should be True or False. When Keep Position is True, the cursor returns to the same position it was in when it left the text item. When Keep Position is False, the cursor returns to the default position in the text item. Valid values are PROPERTY_TRUE and PROPERTY_FALSE.

Similar Messages

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • How to place the regions in required positions

    Hi
    I have a requirement like below to place the regions
    Region_Seq_10 Region_Seq_20
    Region_Seq_30
    Region_Seq_40 Region_Seq_50
    Region_Seq_60
    How Can I design exactly above mentione way of positioning the regions.
    Regards
    Kiran Akkiraju

    Region_Seq_10, 20 and 30 will need to be in "Display Point: Page Template Body (1)" with Region_Seq_10, 30 in Column 1 and Region_Seq_20 in Column 2
    Region_Seq_40, 50 and 60 will need to be in "Display Point: Page Template Body (2)" with Region_Seq_40, 60 in Column 1 and Region_Seq_50 in Column 2

  • Place the cursor in certain indicator

    Hello all,
    I want to ask whether anyone of you knows how to place the cursor of the mouse in certain indicator automatically when the program starts so that when I read, in my case 2D Barcode, it must be displayed in this certain indicator automatically.
    Thank you in advance,
    I G. 
    Solved!
    Go to Solution.

    Solved. I was using an indicator instead of control.
    Thanks!
    And that doesnt mean you can mark this as accepted solution.
    (Just kidding  )

  • How do I pgm place a cursor at particular position within a UITextField?

    Does anyone know how to programmatically place the cursor to a specific position
    within a UITextField; for example, within the parenthesis (...) of a telephone number?
    Ric.

    If you mean, for instance, after you type in ww.google.com and you needto come back and correct that to www... You press down your finger anywhere in the textfield until you see a big circle come up and then you drag back to the location of interest.

  • How to control the cursor position in the Table control in Module pool

    Hi,
    Can any body tell me how to change the cursor positon from last field of the first record to the
    first field of the second record , when user presses enter in the last field in the module pool
    programming.
    Thanks

    Hi,
    Please avoid posting duplicate posts.
    Re: how to get the cursor position from screen in module pool program
    Nag

  • How to make a screen field as selected when we place the cursor in the fiel

    Hi,
       I have a requirement like, needs to be automatically select a screen field value when i place the cursor in that field.
        The screen field value should be displayed in blue color as like we select the value using shift-end. when a new value is entered in that field, it should over-write the existing value.
         Any pointers would be appreciated.
    Thanks,
    Gopi.R

    Hi Gopi,
    you can look into some examples in transaction
    DWDM or BIBS
    Thanks,
    Krishan

  • How to place the images in Indesign xml file by Javascript?

    How to place the images in Indesign xml file by Javascript?
    We got the Indesign xml file, how to give the image placement link by Indesign javascript? Please help me its urgent.

    Hi,
    You can pass the image url as a href attribute=> file:///Users/me/Documents/my_pic.jpg directly within your xml. It just needs that you pass a local, static and valid url.
    If you want to add image later once the xml is flowed and so target specific nodes and inject images, it's a bit more complex. If the node is not part of the layout, you may try to reach the XMLElement objet and such an attribute, then layout the element.
    var x = some XMLElement
    x.xmlAttributes.add("href","file:///Users/m/Documents/my_pic.jpg" );
    If already placed, then you have to get the associated pageItem, then place your file into it.
    pagItm.place ( File ( "/Users/m/Documents/my_pic.jpg" ) );
    Hope that helps,
    Loic
    http://www.loicaigon.com

  • How to set the cursor in a text box when the application starts?

    Hi. It's me again. Its seems to me that there isn't any Spanish speaker, so I reformulate my question in English. What I want is to place the cursor in the text box so that the user can enter the text. Could anybody help me? Thanks in advance. MamenFLASH$

    Hi. I have Flash 2004 Professional, as 2. Any idea of how can I do it 
    by means of Java Script or action script 2? Thanks in advance. 
    MamenFLASH$
    El 23/01/2010, a las 21:22, kglad escribió:
    >
    you can do that when your flash has focus.  (how you do it depends 
    on your as version).
    >
    and while flash can't set focus on itself, you may be able to use 
    javascript to set focus on your flash.
    >

  • How to determine the cursor record count before the "open cursor"?

    Is it possible to determine the record count of an explicit cursor without running a count()? Say, my cursor definition is something like this,
    CURSOR cur_vehicle
    IS
    SELECT os.order_id, os.order_item, vs.part_id
    vs.part_num,
    vs.iso_num,
    vs.model_yr
    vs.dealer_cde,
    vs.cust_cde,
    px.plant_cd
    FROM parts_source vs,
    orders_source os,
    plant_tbl_crossref px
    wHERE os.order_id = vs.order_id
    AND vs.part_id = os.part_id
    AND vs.plant_cde = px.plant_cde
    ORDER BY os.order_id;
    I want to log the count of records returned by the above cursor prior to the first fetch, without running a count(1) for the query in cursor select.
    I know adding " Count(1) over(order by null) " in the cursor SELECT will bring it. But that does not help me log the record count to some log file or table before opening the cursor for processing.
    To conclude, my objective is to update the record count of cursor in some table before processing

    sarvan wrote:
    Is it possible to determine the record count of an explicit cursor without running a count()?
    ..snipped..No. The only way to do it correctly is inside that select.
    Each select is a consistent read. Which means that if this is done as 2 select statements, the 1st select can see a different version of the data than the 2nd select statement. does. So if you want a count and that to be consistent and on the same version of the data than the select, it has to be done as part of the select.
    Also consider what a cursor is. It is not a result set of sorts that is created in memory upfront - with a convenient interface that tells you the size/number of rows of that result set.
    A cursor is basically a program that reads database data as input and produce output. A fetch from a cursor is an instruction for this program to execute and output data.
    There's no data set that is created by the cursor from which the count can be determined. The cursor program does have state variables - like +%RowCount+ that specifies how many rows the cursor has thus far output. And you need to run that cursor to the end (no more output) in order to determine the total number of rows output by the cursor.

  • How to place the "go" button at left size in dashboard prompt

    how to place the "go" button at left size in dashboard prompt

    Change your code to this and it should work:
    PARAMETERS : p_date LIKE sy-datum ,
                  p_uname LIKE sy-uname.
    DATA: field1(8) TYPE c .
    AT SELECTION-SCREEN .
       IF p_uname IS INITIAL.
         field1 = 'P_UNAME'.
         SET CURSOR FIELD field1 .
         MESSAGE e001.
       ENDIF .
    I think you need to have the MESSAGE statement (or something similar).  If you don't have a message class assigned to your program, instead of
    MESSAGE e001.
    you can use
    MESSAGE 'Please fill in all required fields' TYPE 'E'.
    - April
    Message was edited by:
            April King

  • Place the cursor at the begin of the Input field [Parameter]

    All,
    I have a input field in a report, i need to place the cursor in the First position of the field, currently cursor stop always in the last.
    PS : I have unchecked the Options> cursor> positions cursor at end of text
    Is it any other setting i need to look ?

    Thanks Naren,
    This is documentation i found on the right justified checkbox in layout
    Text                                                                               
    Right-justified display                                                                               
    Definition                                                                               
    When you activate this attribute, any output in the field is right-    
        justified. In the case of numeric formats, right-justified output is   
        also effective in input fields.                                        
    Its working in RF

  • How to place the JFrame in center of the screen

    Hi.. please any one tell me how to place the jframe in the center of the screen.. i am working on windows.
    setLocationByPlotform is not working...

    //GETS SCREEN SIZE
            Dimension screen_Dimension =Toolkit.getDefaultToolkit ().getScreenSize ();
            //GETS WINDOWS SIZE
            Dimension frame_Dimension = window.getSize ();
            //PUTS FRAME IN THE "MIDDLE" OF THE SCREEN
            window.setLocation ( new Point (
                    (screen_Dimension.width / 2-frame_Dimension.width / 2),
                    (screen_Dimension.height / 2-frame_Dimension.height/ 2)));Not sure if you want the raw version of it.......

  • How to place the animation in the middle of the .html

    Hi there,
    i have got a question. How to place the whole animation in the middle of the ".html".
    Hope you know what i mean.
    Benno.

    Center the stage follow the four step process below
    Code to paste into Stage > compositionReady
    //Center the Stage
    sym.$("Stage").css({"margin-left":"auto","margin-right":"auto"});
    Darrell

  • How to run the cursor

    HI
    can i knw how to run the cursor from the package. The cursor name is "cursor fet_rec".
    procedure update_hdr is
    cursor fet_rec is
    i rhave the run procdure but i am unable to run the cursor.
    procedure update_hdr is
    cursor fet_rec is
    select status, request_hdr_id
    from xxkfupm01.kfupm_mcr_request_header
    where status = 'Approved'
    for update;
    cnt1 NUMBER := 0;
    cnt2 NUMBER := 0;
    BEGIN
    for rec in fet_rec Loop
    select count(*)
    into cnt1
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID;
    select count(*)
    into cnt2
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID
    and status = 'Complete';
    if (cnt1 = cnt2) THEN
    update xxkfupm01.kfupm_mcr_request_header
    set status = 'Complete'
    where current of fet_rec;
    END IF;
    END LOOP;
    Regards
    Arif
    Edited by: user11309801 on Jan 3, 2011 6:56 AM
    Edited by: user11309801 on Jan 3, 2011 7:00 AM

    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    http://www.oracle.com/pls/db102/homepage
    http://www.oracle.com/pls/db112/homepage

Maybe you are looking for

  • Function not callable in formula column..

    Hi, I am getting one strange problem..when i call one function in a sql statment in report builder 6i from a formula column, it gives error that this function can not be called from sql but when i run the same sql from plsql dev, it runs fine..Oracle

  • Spawned java app hangs until first is killed

    I am spawning a new process using <code> Process proc = Runtime.getRuntime().exec(commandLine, // command line                          null, // environment                          new java.io.File(strExeDir)); // run directory </code> The new proce

  • Default value for plant in QP02.

    Helloe Friends, My users what when ever ther go to T code QP01 , Qp02 or Qp03, they want there default value for plant to be populated automatically say for e.g if plant is ABC then by default this ABC should be there in all above T code. Please give

  • Garbled mails after importing from Outlook 2011 to Apple mail

    I want to migrate from Outlook 2011 to Apple mail. I found 2 ways to do this: Copy mail folder by mail folder to a Finder folder as .mbox files, and then importing them into Apple mail creating an imap account on Outlook, synchronizing mails with the

  • Firefox 20.0.1 with Shockwave 11.7.700.169 crashes when you access web pages with video content

    I have a problem with Firefox 20.0.1 under Windows 7 with Shockwave flash 11.7.700.169. When I access a web site / web page with some content that requires Shockwave (usually videos) I can view the video, however, when I exit Firefox, it will crash w