New box of the text element

Hello

I have a datablock that has 6 records displayed in a table. Next to each record, I would like to create a box that should display data from another table. Could you please help how can I do this

Thank you

Hello

Do not just put a block of data on a control or block in the same block where you have other fields displayed to an item property database table and change the text box to "no".

Now, your query should return a value in the text box. Try first on the same window with other elements if everything works fine go to the other window

Tags: Oracle Development

Similar Questions

  • How to get the bounding box of the text element boundaries.

    Hi all

    I try to get the boundaries of the bounding box of the text of paragraph element. I found the following link,

    the coordinate of a bounding box is the same as the coordinates of the layer?

    But the solution does not work for me. It is for me as the layer of destination each time that is the limits of the actual text.

    Can someone have an idea how to do this?

    Thank you.

    Ok.. Looks like these settings that if the upper line of fonts is calculated from the highest point of the highest glyph or above the normal uppercase and can go above this. What is it changes by the police?  And if the exchange difference, the bottom of the bounding box moves it or increase the height?

    Discover the values limits-descriptor, especially 'top '. I think that it used to have small values of values that could be the delta of the value of the position. Note that there might be the scaling issue that I explained earlier

    Var ref = new ActionReference()

    ref.putEnumerated (charIDToTypeID ("Lyr"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"))

    var action = executeActionGet (ref)

    var textKey = action.getObjectValue (stringIDToTypeID ('textKey'))

    var limit = textKey.getObjectValue (stringIDToTypeID ('bounds'))

    Top Var = bounds.getUnitDoubleValue (stringIDToTypeID ('top'))

    var left = bounds.getUnitDoubleValue (stringIDToTypeID ('left'))

  • How to extract values of classic report column in the text element

    Hi all

    I've created a classic report (select id, name,' < input type = "button" value = "add" id = "add" name = "add" > "as" add details "details ;) with a single column as column values want link.i in the text element when I click on the link of that particular record of the report)

    (1) in the link this link column property I've specified the URL as [javascript:insert_in_table(#ID#,#NAME#)]

    (2) text two article P_ID, P_NAME

    (3) in the header of the page, I've specified as javascript

    < script type = "text/javascript" >

    function insert_in_table (id, name) {}

    var regId = ' #detail #'.substr (1);

    var req = new htmldb_Get (not null, $v ('pFlowId'), 'APPLICATION_PROCESS = add', $v('pFlowStepId'));

    Req.Add ('P_ID', ID);

    Req.Add ('P_NAME', Name);

    forced. GetAsync (function () {}

    If {(p.readyState is 4)

    $a_report (regId);

    }

    });

    }

    < /script >

    (4) created a (add) process whose point: on demand, run this process when requested by ajax

    pl/sql: insert into name_detail (id, name) values (: P_ID,: P_NAME)

    now the problem is I m not getting the values of column in the report in the text element, it only shows white.

    Kind regards

    Ketan

    Hello Ketan,

    Assuming that you want to insert the values into the table, this is why you want to set values for the element,

    If this is the case, then no need to define values for the element to insert.

    Follow the steps below, it is one of the embodiment of your condition.

    Step 1: Put the code below in your classic report query

    assuming that the id is of type number and the name is of type varchar, that's why I am attaching the name to apostrophe, see line 3

    select id
         , name
         , ''  as "Add to detail"
    from detail
    

    Edit 'Add details' column-> column attributes-> view-> column of Standard report

    Step 2: Create a process in the processing of the Page

    Name: INSERT_DATA

    Address the point: on demand, run this process when requested by ajax

    Process: putting the code below

    Declare
      P_ID number ;
      P_NAME varchar2(50);
      Begin
          P_ID   := apex_application.g_x01;
          P_NAME := apex_application.g_x02;
          insert into name_detail(id,name) values (P_ID,P_NAME);
    End;
    

    Step 3: Create a java script function to call your insert ajax process.

    Change the Page-> the function and the global variable declaration-> put the code below

    function insert_in_table(id,name) {
      apex.server.process ( "INSERT_DATA", {
          x01: id,x02: name
      }, { success: function( pData ) { }
      });
    }
    

    Hope this helps you,

    Kind regards

    Jitendra

  • Photoshop 2015: BUG? Layers panel auto-fait scroll to top when you select the text element with the text, creation/copy of layer tool and other actions

    This is a bug or a really bad and frustrating idea for a story.

    (1) in the layers panel, select a text layer, it highlights

    2) change to the text tool

    3) click on the text element in the workspace

    OR

    (1) select a layer in the layers panel

    (2) Ctrl-J, new layer by copying

    EXPECTED: Panel layers rest in the same position

    REAL: Panel layers scrolls the element selected or new layer to the top of the Panel. BORING.

    I do not need or want Photoshop to make decisions for me, space to work around to move without asking, or generally to spoil my flow!

    Please fix this or give me an option to turn it off as soon as POSSIBLE.

    autoscroll-problem.png

    You have successfully updated to 2015.0.1?

    The bug known as in the original message has been fixed in this version.

  • Is it possible to create menus without boxes around the text?

    I'm relatively new to Muse, but I'm hooked on this issue.  I would like to insert a text menu without boxes around the text.

    What I tried:

    Moved in a horizontal menu of the Widget Library to my head for my main menu.  I have spent over an hour trying to find a way to make the surrounding areas go, but I can't.  I realize that I can insert text and text a link to some pages, but I don't want to have to do that if possible.

    Thank you!

    Hello

    You can use no padding for menu items and set the same for all States:

    Also if there is value stroke, you can decrease up to 0 which would remove all border weight.

    Let me know if I'm missing something here.

    Thank you

    Sanjit

  • How to get the control to one of the text element?

    Dear people,
    I have two items of text to say TEXT_ITEM5 and TEXT_ITEM6.both values entered in the text elements must be equal.else that an error message should be displayed and two items of text should be cleared.so that I wrote the following code in WHEN BUTTON the shutter as.
    If :block3.text_item5 <> :block3.text_item6 then
              c:=show_alert('ALERT21');
               :block3.text_item6:=null;
              :block3.text_item5:=null;
                       raise form_trigger_failure;
    end if;
    Its almost works well, but after having erased the text in the two elements of the control text should go back to TEXT_ITEM5. I even tried GO_ITEM but is not working properly.pls help me with suggestions.


    Regarding
    Vids

    Hello

    If the value of two text element should be equal so why give the possibility to enter 2 text boxes? Enter 1 text and WHEN-VALIDATE-ITEM trigger of this element, assign the value to the other text element. And if you still need the old way, then you must write the GO_ITEM integrated before the RAISE FORM_TRIGGER_FAILURE statement.

     IF :BLOCK3.TEXT_ITEM5 != :BLOCK3.TEXT_ITEM6 THEN
       C := SHOW_ALERT('ALERT21');
       :BLOCK3.TEXT_ITEM6 := NULL;
       :BLOCK3.TEXT_ITEM5 := NULL;
       GO_ITEM('BLOCK3.TEXT_ITEM5');
       RAISE FORM_TRIGGER_FAILURE;
    end if;
    

    Kind regards

    Manu.

  • The text element values value when the user clicks a report line.

    The text element values value when the user clicks a report line.

    I have a report based on the EMP table and two elements P911_EMPNO, P911_DEPTNO. When I click on one of the lines the EMPNO and DEPTNO is copied to the text elements.
    It works fine if I leave the EMPNO and DEPTNO as SHOW report, but if I then these clear values are not retrieved the report form (my javascript is very limited).

    I need a method to retrieve the data hidden in the report and display in the text without the reposting of the page elements.

    Also, would be nice if the line was highlighted until another line is clicked but especially is my priority.

    Elements
    P911_EMPNO, P911_DEPTNO (field of disabled text, saves the State)

    Report
    Select * from emp using the model of report below.

    Custom model.
    standard_report_cust_P330-a copy of the standard report with a change model.
    BEFORE EACH LINE
    < tr onclick = "selectRow (this);" #HIGHLIGHT_ROW # >


    * Javascript in the Page Header.*
    < script language = "JavaScript1.1" type = "text/javascript" >
    function selectRow (p_tr)
    {
    var l_deptno = p_tr.childNodes [8] .innerHTML;
    var l_empno = p_tr.childNodes [1] .innerHTML;
    html_GetElement ('P911_DEPTNO'). Value = l_deptno;
    html_GetElement ('P911_EMPNO'). Value = l_empno;
    }
    < /script >

    If anyone has any ideas. Thanks, Pete

    Hello

    When you use this type of report model, you actually control on where the column values are used - and they can be used several times.

    For example, a setting of 'Model line 1' for one such model could be:

    <tr>
    <td class="c1">#1#</td>
    <td class="c2">#2#</td>
    <td class="c2">#3#</td>
    <td class="c2">#4#</td>
    <td class="c3">#5#</td>
    </tr>
    

    #1 # fact refers to the data in the first column, #2 # for the second and so on. So you can do:

    <tr onclick="javascript:dosomething('#1#','#2#');">
    <td class="c1">#1#</td>
    <td class="c2">#2#</td>
    <td class="c2">#3#</td>
    <td class="c3">#5#</td>
    </tr>
    

    For example, by clicking on the line would trigger the dosomething() function and pass in that the values of the first and second columns. Also note that the 4 # does not appear now - this column is 'hidden' (but note that you must check the box to show the column)

    Andy

  • My requirement is, if we click on the POP UP LOV element so I want the dependent value of this item in column of the text element in a table.

    My requirement is

    If we click on the POP UP dot LOV button then I want the dependent value of this item in column of the text element in a table.

    How do I get this as a table?

    Hi Dan,.

    I have a table, in the first column is popup LOV.and second column key is text element.

    So my question is if we click contextual key lov and select employee name, then I want to show the email address of this employee in the second column of tabular presentation.

    This can be done with AJAX. Write a JavaScript function on the onchange event of popup LOV item (Employee) key and pass the number of the employee selected to your AJAX call, go get the employee email and assign it to your entry corresponding to the key LOV popup text has changed.

    As your dealing with Form (Wizard Based/APEX_ITEM Based-not specified) in a table, you take insofar as each column is the table of elements mapped to APEX_APPLICATION input. G_FXX tables and therefore to write JavaScript to locate the item to update.

    I hope this helps!

    Kind regards

    Kiran

  • How to display database records in the text element

    Hello friends,
    I use forms6i...
    I called "username" in the layout of text editor. I created this point in the text of the data block Wizard... I put the number of items displayed = 3 in this wizard...
    In the 'user name' property palette I have following changes
    Number of displayed items = 3;

    When I click on the button named "list_user" must watch all the user names in the text element...
    My shutter button pressed when code is:


    declare
    cursor c1 is
    Select Logid log1 where logout_date is null;
    Start
    Open c1;
    Fetch c1 into: name of user;
    end;

    But my problem is when I run the user a single form displayed in the text element... The text elements two remaining are have no data...

    The result of the cursor query is:



    SQL > ed
    A written file afiedt.buf

    1 Select logid log1 where logout_date is null
    SQL > /.

    LOGID
    --------------------
    104
    105
    106


    Please help me

    Published by: Bauer on February 23, 2011 01:45

    1.
    There is no loop in your code, so it stops after the first extraction.

    2.
    with each loop you overwrite the same text field. Add CREATE_RECORD:

    DECLARE
        CURSOR c1 IS
            SELECT logid
            FROM   log1
            WHERE  logout_date IS NULL;
    BEGIN
        OPEN c1;
        LOOP
            IF :username IS NOT NULL THEN
               CREATE_RECORD;
            END IF;
           FETCH c1
           INTO  :username;
           EXIT WHEN c1%NOTFOUND;
        END LOOP;
    END;
    
  • Dynamic adjustment of the height of the text element

    Hi all

    I'm trying to view content of the letter to a text element. If the content is up to 5 lines
    the height of the text element is just to include content only.

    In other words, the height of the text element must expand and shrink based on the content.

    It is possible that way?


    Thank you
    {: 8}

    Hello

    You can do it. Try

    SET_ITEM_PROPERTY('', POSITION, GET_ITEM_PROPERTY('letter', X_POS), TO_NUMBER(GET_ITEM_PROPERTY('letter', Y_POS)) + TO_NUMBER(GET_ITEM_PROPERTY('letter', HEIGHT)));
    

    Kind regards

    Manu.

  • Restrict the text element of data entry

    Dear comrades,

    I have a block of data. In this block, I have a DB text element. When I use the execute_query, the values are filled in this point of the DB block text. Some of the text elements are filled with value and some are not according to the database table.

    In this situation, I want to limit this element of text in a way so that if it already has the data, so no one can change the value other than (i.e. If the text element has a null value) the user can put data out there.

    Please help me this app. Thank you for your support and your help.

    Rgds,
    Luther

    per block of several recording, you need to use SET_ITEM_INSTANCE_PROPERTY instead of set_item_property, but in this case, only the INSERT_ALLOWED AND UPDATE_ALLOWED properties can be set. see the forms for more information online help

     set_item_instance_property('myblock.myitem',current_record, insert_allowed, property_false);
     set_item_instance_property('myblock.myitem',current_record, update_allowed, property_false);
    

    If the answers are useful or correct please mark

    Baig,
    http://baigsorcl.blogspot.com

  • How to write to several lines in the text element?

    I tried to write 2 lines in the text element, however only return one row:

    : myqueues.queue: = "Hello" | Chr (10) | ' world ';

    It gives me only 'Hello' in the first line and nothing else in the 2nd line.
    Are there settings needs to be activated in the property of text element?

    Try this:

    DECLARE
    v_filename VARCHAR(50);
    v_handle text_io.file_type;
    
    begin
    v_filename := get_file_name(file_filter=>'All files(*.*)|*.txt|');
    if
      v_filename is null
    then
      bell;
      return;
    end if;
    
    v_handle := text_io.fopen(v_filename, 'r');
    
    go_block ( 'myqueues' );
    clear_block;
    
    text_io.get_line(v_handle, :myqueues.queue );
    next_record;
    
    text_io.get_line(v_handle, :myqueues.queue );
    next_record;
    
    text_io.get_line(v_handle, :myqueues.queue );
    next_record;
    
    text_io.get_line(v_handle, :myqueues.queue );
    
    first_record;
    
    text_io.fclose(v_handle);
    
    exception when no_data_found then text_io.fclose(v_handle);
    
    end;
    

    Published by: Magoo on 02.10.2009 12:01

  • How to view computer-id (user name) in the text element

    I want to know how to display the name of average user specific computer id that uses my module in the text element?


    Any idea

    Concerning

    Therese

    Hai,

    Run the following command to create a database function.

    CREATE FUNCTION Fn_Get_Computer_Name RETURN VARCHAR2 IS
            Str_RetVal VARCHAR2(1000);
    BEGIN
          SELECT SYS_CONTEXT('USERENV', 'OS_USER') INTO Str_RetVal FROM DUAL; -- Windows User Name
          RETURN Str_RetVal;
    EXCEPTION WHEN OTHERS THEN RETURN NULL;
    END;
    

    And in the forms, just write

    :. := Fn_Get_Computer_Name;
    

    Kind regards

    Manu.

    If this answer is useful or appropriate, please mark. Thank you.

  • How to insert the scroll bar in the text element

    Hi all
    Now I use form 10g.
    Is it possible to add the scroll bar in the text element? If, Yes...
    Please help me to insert the scroll bar in the multi line text item.

    Thank you

    Hello
    You should not do anything... to get a scroll bar...
    For all the elements of several lines, scroll bar is automatically
    the runtime if data exceeds the size of the
    field...

    Concerning
    Swati

  • Leave the dialog box change the text display/display

    I have a dialog box that is created with some text objects attached to its buttons. The user can make choices for each one, press OK, and asked of their choice. What I would like is for the buttons to the user in the text, so that they can see it in the context as they decide (that's the only reason why they are buttons; otherwise, they would be static text). I know how to handle this with a palette, but I wonder if there is a way to do it with a dialog box. With the help of a palette for all this seems unfair; I really don't want users to be able to make changes to the document, while the palette is open, and I don't want to change anything in the document until the user clicks OK. It is a dialogue with a palette as oddity, really.

    The problem is that. showText() and setting the activePage throw them the error "Cannot process the request because a modal dialog box or the alert is active." I tried to adjust the dialog box to .the = false or .visible = false, but it has no effect. Is it just impossible? This feature, change the view but not the content, seems to live in a grey zone between the way in which the work of dialog boxes and palettes of way work, so I don't know if I'm just a useless way. Any idea would be appreciated.

    Here's a code example to illustrate what I'm doing:

    #target indesign
    
    
    main();
    
    
    function main(){
        if (app.documents.length == 0){createTestDoc();}
        runDialog();
    }
    
    
    function createTestDoc(){
        //create a test document
        var myDocPre = app.documentPresets.add({name: "testPre", createPrimaryTextFrame: true, pagesPerDocument: 5});
        var myDoc = app.documents.add(true, myDocPre);
        var myPSty = myDoc.paragraphStyles.add({name: "newPageSty", startParagraph: StartParagraph.NEXT_PAGE});
        var myCSty = myDoc.characterStyles.add({name: "CSty", underline: true});
    
    
        myDoc.textFrames[0].contents = "1\r2\r3\r4\r5";
        myDoc.textFrames[0].texts.everyItem().appliedParagraphStyle = myPSty;
    
    
        app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
        app.findTextPreferences.findWhat = "^9";
        app.changeTextPreferences.appliedCharacterStyle = myCSty;
        myDoc.changeText();
    
    
        myDocPre.remove();
    }
    
    
    function runDialog(){
        //find text with a particular character style and send that text to my dialog creation function.
        var myDoc = app.activeDocument;
        var myCSty = myDoc.characterStyles.itemByName("CSty");
        if (myCSty.isValid){
            app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
            app.findTextPreferences.appliedCharacterStyle = myCSty;
            var myResults = myDoc.findText();
            myDialog(myResults);
        }
    }
    
    
    function myDialog(textRngs){
        //create the dialog.
        var myWin = new Window("dialog", "Test Dialog", undefined);
        var mainGroup = myWin.add("group");
        mainGroup.orientation = "column";
        //each text range gets a row.
        for (var i = 0; i < textRngs.length; i++){
            var myTextRng = textRngs[i];
            var myRow = mainGroup.add("group");
            myRow.orientation = "row";
            var myBut = myRow.add("button", undefined, myTextRng.contents);
            //attaches the text object to the button.
            myBut.targetObject = myTextRng;
            //does nothing - just a reminder that the actual dialog will do something at the end based on the info entered.
            myRow.add("editText");
            
            myBut.onClick = function(){
                //this is what I do when I want this functionality within a palette. Selects the text so that it can be seen in context.
                if (!(this.targetObject.hasOwnProperty("select") && this.targetObject.hasOwnProperty("showText"))) {}
                else{
                    this.targetObject.showText();
                    this.targetObject.select();
                    
                    //OR
                    //tried this as an alternative, but setting myWin.visible does nothing.
                    //myWin.visible = false;
                    //myDoc.layoutWindows[0].activePage = this.targetObject.parentTextFrames[0].parentPage;
                    //myWin.visible = true;
                }
            }        
        }
        var OKGrp = myWin.add("group");
        var OKBut = OKGrp.add("button", undefined, "OK");
        
        OKBut.onClick = function(){
            //do something
            myWin.close();
        }
        myWin.show();
    }
    

    You have no choice: If you want the script to interact with the text that you will need to use a palette.

    P.

Maybe you are looking for

  • is 35.0 firefox 32 or 64 bit

    I run toshiba 64-bit w8.1. Have firefox 35.0 is 32-bit or 64-bit? Need to know because when I updated Java, they asked what ran the forest of browser. If its 64-bit I have to download other Java. Cannot find where the # is for firefox 35.0 bit! Can s

  • Cannot use the scrolling on the touchpad

    Hi guys I made a mistake and uninstalled the original driver for the mouse pad, stupidly. In any case, I could find drivers to make it work again. But I have a minor problem which I hope someone can help me solve. I can not get the scrolling ability

  • Change the highlight color when you select files or folders

    HelloNeed assistance to change the highlight color when you select files or folders in Windows Explorer / my document.I use Windows Vista with SP2.  I tried to go to control-online personalization panel => color & appearance of the window and changin

  • Once I open my network connections, he says: I connect to my wireless home, but my internet task bar continues to indicate that I am not connected.

    Once I open my network connections, he says: I connect to my wireless home, but my internet task bar continues to indicate that I am not connected. Is there a way to get to show him that I am connected? original title: my computer says that I am not

  • issue code signing key

    Hello I installed another eclipse jde in my system and in my old jde overshadows the code signing key, I installed, but I want to install the key in the new code-signing jde eclipse is can anyone help me please its urgent... my eclipse has Aproblemat