Find the data in the TextField which is visible

Requirement
There is JTextField which has certain String say "ABCDEFGHIJ" and the textfield is small and could only display "ABC" and other data is in the JTextField but scrolled out
I have another JTextField beneath it and so I want teh remaining data should be shown there
The reason behind this is
I have made a Display Screen in which there r 2 TextFields for a single Data which is going to be filled up automatically and Can't make one because the Form which is to be printed has to be like that
So is there any slution by which I can see the text shown over there and so I can copy the remaining text in another JTextField
I know there is some javax.swing.text.TextUI
But I don't know how to find from that
Thanks in advance
CSJakharia

968650 wrote:
SELECT mkct_group_code FROM ID_MKT_CONTTYPE_GROUP_MASTER where mkct_group_code=20'
Note mkct_group_code column is varchar2(10) type.
It has values as
20
10
30
20'
30' Oracle has introduced the Q notation to represent string literals. By using this you can specify your own separator.
Example.
If you want to pass a string as Hi it's Karthick's post
Previously we use to do it like *'Hi it''s Karthick''s post'*
But using the Q notation you can just do this *q'[Hi it's Karthick's post]'*. Here the Square brackets are the separators. Only thing you need to make sure is that the separator is not part of the actual string. You can specify any separator like q'|Hi it's Karthick's post|' or *q'{Hi it's Karthick's post}'* etc.

Similar Messages

  • How can i find the tables which dont contain any data under my database ?

    Can you please suggest me a way to find the tables which dont contain any data under my database ?
    Regards,
    Renu

    Can you please suggest me a way to find the tables which dont contain any data under my database ?
    For the schema that you've logged in to, you could do something like this:
    test@XE>
    test@XE> @test
    test@XE> --
    test@XE> set serveroutput on size 1000000
    test@XE>
    test@XE> declare
      2    n_count  number;
      3  begin
      4    for rec in (select object_name from user_objects
      5                where object_type = 'TABLE')
      6    loop
      7      execute immediate 'select count(*) from '||rec.object_name
      8      into n_count;
      9      if (n_count = 0) then
    10        dbms_output.put_line(rec.object_name);
    11      end if;
    12    end loop;
    13  end;
    14  /
    BONUS
    RUN_STATS
    PL/SQL procedure successfully completed.
    test@XE>
    test@XE>For the other schemas, you could query from dba_objects and probably display the owner as well.
    HTH
    isotope

  • Find the schema which contains all these tables

    In my DB, only SCOTT has all the three tables EMP,DEPT, BONUS. There are schemas which have either one or two of these tables but only SCOTT has all these 3 tables.
    To find the schema which contains all these *3* tables. I tried the below mentioned queries which gave the wrong answers.
    1.
    select TABLE_NAME, owner from dba_Tables where table_name IN ('EMP','DEPT', 'BONUS')-- will return any schema which has any of these tables. So, wrong result
    2.
    select TABLE_NAME, owner from dba_Tables where table_name = 'EMP' AND TABLE_NAME='DEPT' AND TABLE_NAME= 'BONUS'-- Wrong result because it is mutually contradictory. As AP has mentioned below, A table_name cannot be equal to all the three tables .
    Edited by: GarryB on Dec 22, 2010 7:56 AM

    Hi,
    GarryB wrote:
    Thanks everyone. So, this means that this seemingly simple query cannot be written with just a plain AND , OR . Right?You're right. Every query needs SELECT and FROM, for example.
    What's wrong with Solomon's simple solution?
    Whatever you don't like about it, I'm sure there's another approach that doesn't have the same problem, even if it is slower and more complicated.
    As AP pointed out, no one row has all the information you need to decide if that row will be part of the result set or not.
    You need something that can make a decision based on the data in multiple rows.
    GROUP BY, like Solomon suggested, is the easiest and most efficient way I know of.
    Anything that GROUP BY does can probably be done by analytic functions. In this case, it will be more complicated and slower, but you can get the same results.
    A self-join, as user13524665 demonstrated, is another way.
    You could also get the results you want using EXISTS-, IN-, or scalar sub-queries, all of which would be even more complicated, and scale just as poorly, as a self-join.
    CONNECT BY, recursive sub-queries, MODEL, and XML functions can also look at several rows at the same time. I don't believe you want to read and test soltuions for all of these any more than I want to write all of them. Solomon gave a good solution for your original problem. If you want to add some extra restrictions to your problem (such as "I can't use ... or ...") explain clearly what those restrictions are, and why you need them.

  • I want to find the material which consists in multiple plants?

    i want to find the material which consists in multiple plants?
    how to do that?
    Regards,
    Swathi

    Dear,
        I don't think you have to segregate in t code mm60  & execute then you saw material used more than one plant  are coming at a time .
       amin

  • How to find the sessions which generated maximum redo amount at instance?

    I use below query or Sql*Plus's set autotrace traceonly statistics > redo size statistic to calculate how much redo I generated in my session;
    CREATE OR REPLACE VIEW redo_size AS
    SELECT value
    FROM v$mystat, v$statname
    WHERE v$mystat.statistic# = v$statname.statistic#
    AND v$statname.name = ‘redo size’;
    But how to find the sessions which generated maximum(top 5 for example) redo from the last database startup on 9iR2 or also with new 10gR2 historic views?
    We need this information because from the produced archived log files we observe something new producing almost 2 times more redo for a week. I looked at statspack report but couldnt find as I suspected for a massive update or delete.
    Best regards,
    Tonguc

    I tried v$sysstat but I didnt think about v$sesstat Mr.Gasparotto, thank you very much :)
    SELECT ss.sid,
    sq.sql_text,
    se.status,
    se.username,
    se.osuser,
    se.program,
    se.machine,
    ss.VALUE
    FROM v$sesstat ss, v$statname sn, v$session se, v$sqlarea sq
    WHERE ss.statistic# = sn.statistic#
    AND se.sql_hash_value = sq.hash_value(+)
    AND se.sql_address = sq.address(+)
    AND ss.sid = se.sid
    AND sn.NAME = 'redo size'
    ORDER BY ss.VALUE DESC
    Best regards.

  • Please help, I can't find the pictures which I took with my camera. Its like I never took them

    I can't find the pictures which I took on my camera, I still have lots of memory left, they are hidden or something . Oh and the other thing is that when I'm trying to save a picture as something that I like its say the the directory is full even when I put a single letter. I have a huge space on my memory card, I don't know what's wrong . Please help. Thanks

    See if you can boot into safe mode by holding down the shift key immediately after pressing the start button. Keep holding the shift key till a loading progress bar appears on the lower part of the screen. It will take a lot longer than normal to start this way. If you have Lion 10.7 installed you can try holding command-R  keys to get intto recovery mode and run disk utility.
    If you want some great tips on trouble shooting go to this link to frequent poster ds store's page.
    ds store's User Tips    https://discussions.apple.com/people/ds%20store?view=documents
    This one covers your problem    https://discussions.apple.com/docs/DOC-3392

  • When I try to iTunes Match I get 'Please Sign In Again' error, I cannot access the songs which are visible in the iCloud in my music library on both iPad and iPhone

    when I try to iTunes Match I get 'Please Sign In Again' error, I cannot access the songs which are visible in the iCloud in my music library on both iPad and iPhone

    Did you try setting itunes to run with administrator privileges? 
    Since I changed that I no longer have this issue

  • When I launch a video from Finder the video is not visible, it's like it's playing on an extended desktop but I can't see the other screen - what is going on?

    When I launch a video from Finder the video is not visible, it's like it's playing on an extended desktop but I can't see the other screen - what is going on?

    Hi Dan - I'm not sure I know what you mean by 'kick in Expose', can you please explain?
    It's a weird one as it doesn't happen all the time.  Could it have anything to do with running Apple TV and the MacBook 'thinking' there is another display (extended desktop) and playing the video there?

  • When create heirarchy, can not find the entry which is in master data

    Hi, SDNs
        When create a heirarchy for a char , click this char button to add a fields to a node, i can't search the value which is actually in the master data.
       Thansk for your time

    If you go to create hierararchy or change mode of hierarchy
    3 types of nodes you can create
    1)Text node
    2)Charecteristic node
    3)Infoobject values node
    text node - is simple any text node you can create
    infoobject values node - if the master data is loaded you can create it
    if master data is loaded make sure its activated and no master data is under "M" version.
    charecteristic node - only if particular infoobject node is included in the tab "external chars in hierarchies" in RSD1 of that particular infoobject
    Hope it Helps
    Chetan
    @CP..

  • How can I find the words which spans across end of line to next line in pdf ?

    I am using Acrobat Adobe X Pro version for our form development and maintanence. I am writting a Acrobat JAVA batch script which reads through all the words and execute spell check and reports the mispelled words in a excel sheet. Since I am running this script in batch mode for more than 1000 pdfs - I am getting many words joined together. When I looked in to those pdfs all such words are looking okay because it is appearing in end of right margin and the next word is in the next line. Since there was no space between them it was extracted as a single word. Hence the failure.
    I used wordf = this.getPageNthWordQuads(i,j)  to get the word begin and end coordinates. when I closely observe the values are creating a rectangle and that doesnt span across lines. I got the coordinates for the regular word and the word which span acoross two lines. both of the coordinates are same.
    I think I am screwed - I have 8000 such words and no clue of how to get rid of them from the actual misspelled words.
    please help. let me know if any class /method if I call will give me the end of line or do I need to go to next layer to find this split.
    the addnot is somehow marking the words using this coordinates - please hellp me understand how this works. Thanks.
    // for all pages
    for (var i = 0; i < this.numPages; i++ )
    // For all the words
    pg += 1;
    numWords = this.getPageNumWords(i);
    for ( j = 0; j < numWords; j++)
    //get the spell check 
    ckWord = spell.checkWord(this.getPageNthWord(i,j))
    if ( ckWord != null )
    jn=0
    ml=0
    // if mispelled word found.
    wordf = this.getPageNthWordQuads(i,j)
    swordf = wordf.toString()
    var st = swordf.split(",")
    var diffx0 = parseInt(st[0])-8
    var diffx1 = parseInt(st[1])-8
    var diffx2 = parseInt(st[2])-8
    var diffx3 = parseInt(st[3])-8
    var diffx4 = parseInt(st[4])-8
    var diffx5 = parseInt(st[5])-8
    var diffx6 = parseInt(st[6])-8
    var diffx7 = parseInt(st[7])-8
    if (cWord == csword)
    jn = 1
    if ( st[1] != st[3] )
    ml = 1
    //dataLine += "\r\n write "
    else
    ml=2
    dataLine += "\r\n"+this.documentFileName
    + "\t" + this.getPageNthWord(i,j)
    + "\t" + pg
    + "\t" + j
    + "\t" + ml
    + "\t" + jn
    + "\t st[0] " + diffx0 + "\t st[1] " + diffx1 + "\t st[2] " + diffx2 + "\t st[3] " + diffx3 
    + "\t st[4] " + diffx4 + "\t st[5] " + diffx5 + "\t st[6] " + diffx6 + "\t st[7] " + diffx7 
    ck=1

    If Acrobat is reading each word part as separate words, you have a problem.
    The way I approached it in some of my tools was to check if a word ends
    with a hyphen, and if so, to check if it's the last on the line. If both
    conditions are true, combine with the next word on the next line. This is
    not fool proof, of course, as there are documents with columns are other
    structural elements that prevent this from working. Better than nothing,
    though...
    However, it is also possible that Acrobat does see both parts as parts of
    the same word. In that case, getPageNthWordQuads() will return multiple
    quads arrays. As you know, that method returns an array of quad arrays.
    There's usually only one, but in principle there could be more... Something
    to check before giving up.

  • How can I find the program which is calling my SAPscript??

    How can I find the program(std/Custom) which is calling my SAPscript form??
    Regards,
    Shashank.

    Hi
    check in NACE transaction or TNAPR table
    reward points to all helpful answers
    kiran.M

  • How to find the code which processes idocs

    I am looking for a descriptive short document which would ideally give me comlete picture in IDOC processing, transactions used etc.
    E.g
    My XI sends idocs to an RFC port of an ERP system. All I know is message type FIDCC2(found it in message mapping and under a partner profile ias imput parameter in transaction we20 for a partner profile with rfc destination of its own rfc destination i.e. PR1CLNT001)
    . However in this example I do not find source code which process then this idoc(probably as it is original idoc)?
    How to find the code

    Jan
    You can check the documentation and source code of two reports
    RBDAPP01 & RESOUT00   ( https://service.sap.com/sap/support/notes/1333417)
    https://service.sap.com/sap/support/notes/527481
    Few more IDoc related tcode, we05,bd87 etc...
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0087780d-81b0-2a10-eb82-86e1062f1a2d?overridelayout=true
    Edited by: Anindya Bose on Aug 6, 2009 7:34 PM

  • How to find the tables which are the candidates for gathering stats in 10g

    Hi,
    In 10g how can we find the tables, partitions which are the candidates for gathering the stats.
    I want to findo those tables, partitions and gather the stats on daily basis.
    Thanks,
    Mahi

    The probem you describe has been posted about before. There are known issues with the default dbms_stats parameter settings for some environements.
    What you can do is just go ahead an manually submit dbms_stats commands with appropriate parameters for tables that have not been analyzed or modify the maintenance window to give it more time.
    I would rather just generate the missing statistics myself then the job can continue to run in the normal maintenance window. Since the job should be looking only for tables that meet the stale requirements then once everything is analyzed it is likely the job can keep the statistics updated in the default time allowed.
    Be warned that the default parameter settings do not work well for some tables in some environments and if that proves true for your shop you can generate workable statistics on a table and then lock them so the nightly job ships regenerating the statistics for that table. You would then manually unlock, generate, and lock that statistics for that table as necessary.
    HTH -- Mark D Powell --

  • Where I can find the user which confirmed the transport

    In SAP you can customize that each transport need to be confirmed by a user before you
    can transport it to Production.
    We have this fonfirmation aktiv but and I can see in table TMSQNOTES the user which confirmed
    but I believe I should see this information also somewhere in Developmentsystem or Produktion ?
    I found also table E070* which has a lot of information what time date in which system but I can not see
    the user which confirmed the transport.
    any help ?

    Hi Miro,
    Open SE09,  enter the request number.
    Now from menu select  goto->action logs.
    Thanks,
    Mandeep

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

Maybe you are looking for

  • How to develop a search engine in flash cs3

    Hello Friends, I need a small help in developing Search Engine in flash cs3. I am going to develop a search engine in flash. But i dont have any idea on how to do this... so can anyone pls help me out. Any links/steps/code would be really appreciated

  • Ajax experts need some urgent help here....

    Hello eveyone, I am new to Ajax and have been fiddling with it for the last couple of days. I am trying to get a dropdown filter to work. I have managed to sort out the filter for the frist dropdown using a Ajax script but cannot get the second drop

  • Locking Objects

    Is there any way to lock an object? This would be ideal for background images, so you don't accidentally move it all over the place when you're working with other objects or operating in the app itself. You can lock full layers in Draw-something simi

  • Can anybody help... I need to enable thumbnail preview in Win7 64bit

    Can anybody help... I need to enable thumbnail preview in Win7 64bit I have tried the Adobe regfix and no luck at all Any assistance is greatly appreciated.

  • Multiple Printers on one AE?

    Can I put more than one printer on an AE? I.e., I have a Canon bubblejet on the USB port. Can I put a networked Samsung on the Ethernet port at the same time?