How to get only one character

my problem is the following:
i want to get only ONE character from the input without pressing the "enter"-key. for example pressing ESC and doing something because it is ESC hit.
thank you

You can't. Either use a GUI or create a JNI DLL function that calls getch ().
Kind regards,
  Levi

Similar Messages

  • How to get only one line between tables in database diagram?

    Hi!
    I'm using jdev 10.1.3. I've got a database schema with a lot of tables. I would like to have them in one database diagram in compact view with only ONE line between two tables even if there are more foreign key columns between the two tables. In the shema there are a lot of foreign keys with multiple columns and the diagram is hard to read.
    How to archieve this?
    Thanks,
    Carsten.

    hi,
    u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
    hope it helps,
    regards,
    Parth

  • Two partitions with OSX how to get only one back

    I installed xp on my macbook and did not know it was service pack 1. Hours later I have two partitions on my macbook both with OSX now. How can I get my macbook back to one partition with OSX on it?


    Enlarging a volume
    If you have multiple volumes on a disk and one is running out of space, you may be able to enlarge it
    without losing any of its data.
    To enlarge a volume, you must delete the volume that comes after it on the disk, and then move the
    volume’s end point into the freed space. You can’t enlarge the last volume on a disk. You can see the
    order of the volumes in Disk Utility by selecting the disk, clicking Partition, and looking at the Volume
    Scheme list.
    All data on the deleted volume will be erased. Be sure to back up your disk’s data before you begin.
    To enlarge a volume:
    From the list at the left, select the disk that contains the volume you want to enlarge, and then click
    Partition.
    In the Volume Scheme list, select the volume beneath the volume you want to enlarge, and then click
    Delete〔-〕.
    The volume is immediately erased, leaving the space it formerly occupied available.
    Resize the volume.
    You can drag the divider at the bottom of the volume in the Volume Scheme list, or you can select the
    volume, and then enter a value in the Size field.
    If the enlarged volume doesn’t use all the space from the deleted volume, you can create new volumes
    in the unused space.
    To create a new volume, click Add〔+〕, select the new volume, and choose its name, format, and size.
    Click Apply.
    Disk Utility enlarges the volume and creates any new volumes.
    Kj ♞

  • WAD : 2 Queries in 2 tables : How to get only one input parameter ? :-(

    Hi,
    In my WAD Report, I've several tables ( each include a query result ). Those query have one variable ( which is a range of month ).
    How can I link the range of month to all my queries ?
    ( for the moment, the parameters(variables) screen display as much month variable as query )
    Thx,
    Regards,
    Erwan

    hi,
    u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
    hope it helps,
    regards,
    Parth

  • How to get only one record per machine

    I have this SQL statement that works.
    SELECT 
    cn.Name0 AS [Computer Name],
    cn.Model0 AS [Model],
    cn.Manufacturer0 AS [Manufacturer],
    bios.SerialNumber0 AS [Serial Number],
    rs.Operating_System_Name_and0 AS [OS Type], 
    --ld.FreeSpace0 AS [Free Disk Space],
    --ld.Size0 AS [Actual Disk Size],
    x86.TotalPhysicalMemory0 AS [Total Memory], 
    aa.SMS_Assigned_Sites0 AS [Assigned Site]
    FROM
    v_GS_COMPUTER_SYSTEM cn INNER JOIN v_GS_LOGICAL_DISK ld on cn.ResourceID = ld.ResourceID
    INNER JOIN v_GS_PARTITION gs ON cn.ResourceID = gs.ResourceID
    INNER JOIN v_GS_X86_PC_MEMORY x86 ON gs.ResourceID = x86.ResourceID
    INNER JOIN v_R_System rs ON gs.ResourceID = rs.resourceID
    INNER JOIN v_GS_PC_BIOS bios ON rs.resourceID = bios.ResourceID
    INNER JOIN v_RA_System_SMSAssignedSites aa ON bios.ResourceID = aa.ResourceID
     WHERE 
    cn.Model0 LIKE '%780%' 
    ORDER BY
    cn.Name0
    The problem is whent his runs it returns multiple rows for each serial number/machine it finds.  So I'll have 5 or 6 rows for the exact same machine.  How do I make it only give me 1 row for each serial number/machine?
    mqh7

    ... because you added v_GS_PARTITION gs (which results in multiple rows per resource) and then you are doing the inner join blues.
    This should be better:
    SELECT
     cn.Name0 AS [Computer Name],
     cn.Model0 AS [Model],
     cn.Manufacturer0 AS [Manufacturer],
     bios.SerialNumber0 AS [Serial Number],
     rs.Operating_System_Name_and0 AS [OS Type],
     --ld.FreeSpace0 AS [Free Disk Space],
     --ld.Size0 AS [Actual Disk Size],
     x86.TotalPhysicalMemory0 AS [Total Memory],
     aa.SMS_Assigned_Sites0 AS [Assigned Site]
    FROM
     v_GS_COMPUTER_SYSTEM cn
     -- INNER JOIN v_GS_LOGICAL_DISK ld on cn.ResourceID = ld.ResourceID
      --INNER JOIN v_GS_PARTITION gs ON cn.ResourceID = gs.ResourceID
     INNER JOIN v_GS_X86_PC_MEMORY x86 ON x86.ResourceID = cn.ResourceID
     INNER JOIN v_R_System rs ON rs.ResourceID = cn.resourceID
     INNER JOIN v_GS_PC_BIOS bios ON bios.resourceID = cn.ResourceID
     INNER JOIN v_RA_System_SMSAssignedSites aa ON aa.ResourceID = cn.ResourceID
     WHERE  cn.Model0 LIKE '%780%'
    ORDER BY
     cn.Name0
    Torsten Meringer | http://www.mssccmfaq.de

  • How to get page one to animate only once in interactive pdf?

    how to get page one to animate only once in interactive pdf? I like when the document opens up in acrobat and the the page animations work but when I go to one of the pages and hit my designated home button it goes back to page one but it reloads again. As a user it would drive me crazy to have to wait for all of it to load......anyway to have that page one load once as the opening page?

    I don't think you really mean animations (unless you have a placed SWF file) because things created with the Animation panel don't work in PDF. Nonetheless, you're talking about some kind of interactivity which is set to happen On Page Load.
    So when you return to that page, of course the interactivity loads again.
    There isn't a On Page Load Once command.
    Perhaps you need to rethink why the interactivity is there. If it's important, maybe it should be triggered by a rollover or by clicking a button.

  • In Table Control How to get only a single row .

    Hi
    In Table Control How to get only a single row .I am able to decrease it its height to 4 but then 2 rows is getting dsplayed .I want only one row to be display and 2nd row should be deactivated or not visible.
    regards
    Avik
    Edited by: Julius Bussche on Jan 30, 2009 1:10 PM
    Removed friendly greeting from the subject title

    Hi Avik
    use this code it will help you.
    MODULE passdata OUTPUT.
      READ TABLE it_revision INTO wa_rev INDEX tab_clc-current_line.
      IF sy-subrc = 0.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.      " 111 IS THE GROUP NAME
            screen-input = 1.          " input mode
            screen-active = 1.         " input mode.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.       "GROUP NAME
            screen-input = 0.           " display mode
            screen-active = 1.          " DISPLAY MODE.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " PASSDATA  OUTPUT
    Make sure in group tou are passing the field name that you want in input mode on the base of other field
    Hope it will help you.
    Thanks
    Arun Kayal.

  • I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page word document, some recipients get only one page.  Also sometimes when I burn an image from iPhoto on to a disc, only part of the image appears.  Why?

    I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page Word document by email, some recipients get only one page.  Also when burning an image from iPhoto (usually no larger than 1mb) on to a disc, only part of it appears.  It appears to have been magnified so that only a part of the image appears.  Can anyone enlighten me as to what is happening?  And how to fix it??

    I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page Word document by email, some recipients get only one page.  Also when burning an image from iPhoto (usually no larger than 1mb) on to a disc, only part of it appears.  It appears to have been magnified so that only a part of the image appears.  Can anyone enlighten me as to what is happening?  And how to fix it??

  • How to display only one row in report when...

    Hi,
      I've a report display in which i've 3 fields EBELN, LIFNR , MENGE. EBELN, LIFNR are from EKKO table and MENGE id from EKPO table .
             On clicking the EBELN there will be getting another report in which we get EBELN,EBELP and MATNR and MENGE from EKPO table .
           The problem is while displaying 1st report if the purchase order has two items in EKPO table then its displaying two times. How can i get only one time and the MENGE should be sum of those two item prices.

    hi use the statement not to get the  multiple items..
    sort itab by ebeln.
    delete adjacent duplicates from itab comparing vbeln.
    i will give u an example to get the total and subtotal ....
    *& Report  ZR_A1
    REPORT  ZR_A1
            NO STANDARD PAGE HEADING.
    Tables declarations
    TABLES: VBAK, VBAP.
    Variable declarations
    DATA: C1 TYPE C.
    Internal Table declarations*
    DATA: BEGIN OF IT_VBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          END OF IT_VBAK.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
          END OF IT_VBAP.
    DATA: BEGIN OF IT_FINAL OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          VKORG LIKE VBAK-VKORG,
          VTWEG LIKE VBAK-VTWEG,
          SPART LIKE VBAK-SPART,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          NETWR LIKE VBAP-NETWR,
          BRGEW LIKE VBAP-BRGEW,
          NTGEW LIKE VBAP-NTGEW,
    END OF IT_FINAL.
    Selection-screen design
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-R01.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN: END OF BLOCK B1.
    TOP-OF-PAGE.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/7 'LIST TO DISPLAY SALES ITEM INFO'.
    START-OF-SELECTION.
    Populating it_vbak table
    SELECT VBELN
           VKORG
           VTWEG
           SPART
           FROM VBAK
           INTO TABLE IT_VBAK
           WHERE VBELN IN S_VBELN.
    populating it_vbap table
    IF NOT IT_VBAK[] IS INITIAL.
    SELECT  VBELN
            POSNR
            MATNR
            NETWR
            BRGEW
            NTGEW
            FROM VBAP
            INTO TABLE IT_VBAP
            FOR ALL ENTRIES IN IT_VBAK
            WHERE VBELN = IT_VBAK-VBELN.
    ENDIF.
    populating the final list
    LOOP AT IT_VBAP.
    READ TABLE IT_VBAK WITH KEY VBELN = IT_VBAP-VBELN.
    IF SY-SUBRC = 0.
    MOVE:  IT_VBAK-VBELN TO IT_FINAL-VBELN,
           IT_VBAK-VKORG TO IT_FINAL-VKORG,
           IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
           IT_VBAK-SPART TO IT_FINAL-SPART,
           IT_VBAP-POSNR TO IT_FINAL-POSNR,
           IT_VBAP-MATNR TO IT_FINAL-MATNR,
           IT_VBAP-NETWR TO IT_FINAL-NETWR,
           IT_VBAP-BRGEW TO IT_FINAL-BRGEW,
           IT_VBAP-NTGEW TO IT_FINAL-NTGEW.
    APPEND IT_FINAL.
    ENDIF.
    ENDLOOP.
    SORT IT_FINAL BY VBELN.
    LOOP AT IT_FINAL.
    AT FIRST.
    FORMAT INTENSIFIED ON COLOR 1.
    WRITE:/35 'SALES DOCUMENT ITEM LIST'.
    ULINE AT (100).
    *endat.
    FORMAT INTENSIFIED ON COLOR 5.
    WRITE:/ SY-VLINE,
          2  'SALES.DOCU.NO',
          13 'ITEM',
          21 'MATERIAL',
          50 'NET-VAL',
          65 'GROSS-WT',
          82 'NET-WT',
          100 SY-VLINE.
    ENDAT.
    FORMAT INTENSIFIED ON COLOR 2.
    WRITE:/ SY-VLINE,
           2   C1 AS CHECKBOX,
           5 IT_FINAL-VBELN,
          13  IT_FINAL-POSNR,
          21  IT_FINAL-MATNR,
          41  IT_FINAL-NETWR,
          56  IT_FINAL-BRGEW,
          71  IT_FINAL-NTGEW,
          100 SY-VLINE.
    AT END OF VBELN.
    SUM.
    FORMAT INTENSIFIED ON COLOR 3.
    WRITE:/    SY-VLINE,
             30   'SUB-TOTAL:',
             41   IT_FINAL-NETWR,
             56   IT_FINAL-BRGEW,
             71   IT_FINAL-NTGEW.
       WRITE:/100 SY-VLINE.
    ENDAT.
    AT LAST.
    SUM.
    FORMAT INTENSIFIED ON COLOR 6.
    WRITE:/ SY-VLINE,
              30  'GRAND-TOTAL:',
              41  IT_FINAL-NETWR,
              56  IT_FINAL-BRGEW,
              71  IT_FINAL-NTGEW.
      WRITE:/100  SY-VLINE.
      ENDAT.
      ENDLOOP.
    regards,
    venkat .

  • Insert only one character in a JTable cell

    Hi1
    Can anybody tell me how i can do in order to insert only one character in a JTable cell? For example, i'ld like that user inserts only
    a and not abcd in a JTable cell... can anyone halp me?
    Thanks

    Have you tried
    table.getColumn(0).setCellEditor(new DefaultCellEditor(new JFormattedTextField("[A-Z]")));
    I haven't tried it. You might look at some of these.
    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2B%22new+defaultcelleditor%22+%2B%22new+jformattedtextfield%22&col=javaforums&x=39&y=17

  • How to get only current exception message from tables

    Hi
    In my sceanario , I want to have the list of Current MRP exception messages list from table
    I understand that MRP detailed lists, including all exception messages, are stored in transparent table MDKP and cluster table MDTC.
    I can tell ABAPer to write a report for me , to read the data from these tables , but I guess these tables contain old exception message also , which are not currently appearing in MRP list
    How to get only current exception message
    Rgds,
    sandeep

    Sandeep,
    MDTC contains only data from the most recent MRP run.  So, all messages you see are those which are currently valid.
    The messages might have first appeared during a previous run, but they still need to be addressed.
    Before you invest a lot of time and effort into writing and debugging a custom report, you should probably try to use the standard SAP functionality found in MD06.  On the Processing indicator tab, you can select "Only with new exceptions".  Here you can tag a material/plant as 'processed', and thereafter, the exceptions that existed there before you tagged the part will not be re-displayed.
    Best Regards,
    DB49

  • How to backup only one tablespace in cold backup noarchivelog mode

    Hi,
    How to backup only one tablespace in cold backup noarchivelog mode
    Reagrds,
    Rushang

    We have to restore all 50 GB database if we fail in scripts meanwhile to start again the data load.
    Out scripts populater only two tablespaces.
    That's why if i take backup of those tabblespace then i have to restore only those tablespace not whole database.
    Regards,
    Rushang

  • I deleted my uninstaller by accident how do get another one so that I can uninstall After Effects from my hard drive

    I deleted my uninstaller by accident how do get another one so that I can uninstall After Effects from my hard drive

    Why did you do that? Certainly not standard procedure. Fortunately, there is a fix: Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to get only the first result in extract function

    do you know how to get only the first element of the function extract.
    v_result := p_response.doc.extract('//'||p_name||'/child::text()').getstringval();
    if i have 5 responses like '100','100',100','200','200' e get '100100100200200' and i want only '100'.
    thanks in advance

    Two ways .....
    1. Use Javascript E4X instead ...there are nice functions for getting children of parents.
    2. Cycle through all of the form1.nodes and look for objects that have a className of "subform". For loops are useful for this task.
    Make sense?
    Paul

  • How to deploy only one project from WebCenterSpacesExtensions to WebCenter

    Hello,
    I've been provided a customized WebCenterSpacesExtensions application with 3 custom task flow projects in it.
    I am having trouble finding information on how to deploy only one project at a time. Can someone please tell me how to do this? Is it difficult?
    Thanks in advance.

    Take a look at chapter 53 in webcenter developer's guide which explains the same:
    http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10148/jpsdg_wcsres.htm#BABDBECE
    Thanks,
    Navaneeth

Maybe you are looking for

  • Reg "created by" and "updated by" fields in Data Manager

    Hi,     I just want to know if we have any solution for the "Create By" and "Update By" issue in data manager. Because in my system i have two users. The 1st user created the record and later if the 2nd user edits any field then only the "Update By"

  • Using dbms_scheduler

    Hi, I need to run 50 sql statments simultaneously. I know that i can use dbms_scheduler in order to trigger all statments in the same time. I thought to create a procedure for each statment , and the dbms_scheduler will execute all the 50 procedures,

  • Make a DVD with *only* subtitles on it?

    crazy question: can I make a "film" that consists of only a subtitle track and nothing else? I have a special need: I need to make a DVD that can played in the cinema "on top of" a 35mm film. In other words, I have the picture on film already, I am j

  • Is anyone having trouble with recharging battery on ipad4? It does charge but is very slow

    I have a new iPad and it seems to be very slow in charging the battery eg 1 hour for 10% of charge. Is anyone else experiencing this problem or am I doing something wrong?

  • Download iOS 5.0.1 major flaw!

    Hi, why after 2 attempts of trying to download 5.0.1 from I tunes (aprox. 1.5gb wasted) I see on the iPhone that it is only 55.5 mb, but ITunes it's 812mb!!!!!!! I just lost a lot of my data plan!!!!! And to top it off, I don't have wifi so I can't j